Agent Native

letta-guide

This skill enables the agent to read official Letta documentation from docs.letta.com via an ETag-checked fetch helper, avoiding stale content and incorrect…

by LettaOfficial publisherNot reviewed

Identity proven by GitHub's verified organisation badge (letta-ai)

Agents
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode
License
Apache-2.0 (permissive)
Pin
c1033d9pinned Oct 9, 2026
Context cost
about 1,500 tokenswhen the skill loads
GitHub stars
3,549on letta-ai/letta-code
Scripts
1 script

What it does

“Read the official Letta documentation (docs.letta.com) through its cached, ETag-checked fetch route. Load before ANY docs.letta.com retrieval — answering how Letta works, what Letta (or you) can do, and looking up Letta API, Agent SDK, or Letta Code reference.”
The author's description, from SKILL.md

Generated summary from the skill's own text

This skill enables the agent to read official Letta documentation from docs.letta.com via an ETag-checked fetch helper, avoiding stale content and incorrect guesses about API, CLI, and configuration details. It provides a structured workflow to answer product questions, look up references, and match documentation to the user's backend and interface setup. The agent must fetch docs directly rather than inventing commands, flags, or settings.

When to use it

  • Answering questions about Letta's features, commands, pricing, or providers
  • Looking up API, Agent SDK, or Letta Code reference during development
  • Verifying CLI commands, configuration options, or UI paths
  • Determining setup steps for a specific backend or interface

When not to

  • Questions about the current running agent's active configuration; use self-inspection instead
  • When the feature genuinely doesn't exist in Letta; point to GitHub issues instead

Install

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add letta-ai/letta-code --skill letta-guide

Installs from the repository's default branch, which may have changed since the commit we checked.

GitHub CLI 2.90 or later

gh skill install letta-ai/letta-code letta-guide@c1033d9f7e8863a869cd2031805cfd2c66c165b9

Installs the commit we checked (c1033d9).

Copy by hand

Download the folder at c1033d9 and put it in .claude/skills/letta-guide for Claude Code and in .agents/skills/letta-guide for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.

Skill folder on GitHub at c1033d9

Copy for your agent

A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.

Prompt

Install the agent skill "letta-guide" by Letta.

Source, pinned to commit c1033d9f7e8863a869cd2031805cfd2c66c165b9:
https://github.com/letta-ai/letta-code/tree/c1033d9f7e8863a869cd2031805cfd2c66c165b9/src/skills/builtin/letta-guide

1. Download that folder at exactly this commit. Do not use the default branch.
2. Copy every file unchanged, keeping the folder structure, into .claude/skills/letta-guide/ for Claude Code and .agents/skills/letta-guide/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist.
3. Do not edit the files, and do not run any script in the folder unless I ask you to.
4. When you are done, list the files you copied and where you put them.

Listing and checks: https://www.agentnative.dev/skills/letta/letta-guide

SKILL.md at the pin

---
name: letta-guide
description: Read the official Letta documentation (docs.letta.com) through its cached, ETag-checked fetch route. Load before ANY docs.letta.com retrieval — answering how Letta works, what Letta (or you) can do, and looking up Letta API, Agent SDK, or Letta Code reference.
---

# Letta Guide

Do not use fetch_webpage or web_search on docs.letta.com; this skill's helper is the docs route.

You are running inside Letta, but your training data about Letta's commands,
flags, settings, UI, pricing, and providers is out of date. Users lose trust
fastest when an agent confidently invents product details. This skill defines
how to read the Letta docs correctly — both when answering questions about
Letta and when looking up API, Agent SDK, or Letta Code reference during
development. Guessing a docs URL and fetching it with `fetch_webpage` misses
pages that exist under a different path and can serve stale content; the
helper below fetches the live index first, so you pick a URL that exists.

## Source route (in order)

1. **Self-inspection first for questions about THIS agent.** "What model are
   you using?", "what tools do you have?", "what's in your memory?" are
   questions about the running session, not the docs. Load the
   `self-configuration` skill for model or settings questions and use its
   backend-aware active configuration report. Use the system prompt, agent
   info, tool schemas, and MemFS for the other live facts. Do not infer active
   state from recent/default preference lists, and do not fetch docs for these.
2. **Fetch the docs index directly.** For product questions, run:

   ```bash
   node <SKILL_DIR>/scripts/fetch-letta-docs.mjs
   ```

   The helper retrieves `https://docs.letta.com/llms.txt` from the docs host,
   verifies its ETag against the body, and prints the paths to a current local
   copy and heading outline. Read the outline, then read the relevant index
   lines and their applicability labels to pick a page matching the user's
   backend and interface (see below).
3. **Fetch the specific page directly.** Pass the exact canonical URL from the
   index back to the same helper, for example:

   ```bash
   node <SKILL_DIR>/scripts/fetch-letta-docs.mjs \
     --docs-url "https://docs.letta.com/configuration/models/index.md"
   ```

   Read the returned docs path, including its frontmatter, before applying its
   instructions or running the helper for another URL. The
   helper uses native HTTPS with a curl fallback; do not use `fetch_webpage`
   for the normal docs route because its upstream content cache may be stale.
   Cite the public doc URL so the user can go deeper.
4. **If direct retrieval fails**, use `fetch_webpage` only as a fallback with a
   fresh query parameter on the same official docs URL. Disclose that the
   fallback may be stale. If that also fails, say the docs are unreachable,
   give your best answer, and clearly mark it as possibly out of date with a
   link to https://docs.letta.com. Never silently fall back to memory.

## Match documentation to the user's setup

Read each page's `applies_to` frontmatter before using its instructions:

```yaml
applies_to:
  backends: [cloud, local]
  interfaces: [web, desktop, cli, sdk]
```

- **Backends describe agent state, not the computer running tools.** `cloud`
  means Letta Cloud; `local` means a user-managed backend.
- **Interfaces** refer to the user's current interface: chat.letta.com (`web`,
  cloud-only), CLI, Desktop, or SDK.
- Do NOT use context from files marked `status: legacy` unless providing
  historical context.

## Inspect or change your model from the CLI

- `letta model list [--byok | --hosted]` lists available models.
- `letta model set [model_handle] [--reasoning <reasoning-option>] [--default]` overrides the current conversation's model or reasoning; `--default` overrides the agent's default instead.
- `letta model get [--default]` gets the current model configuration; `--default` gets the agent's default configuration.

## Hard rules

- **Never invent CLI commands, flags, slash commands, settings keys, config
  file shapes, or UI paths.** If something is not in the fetched docs and you
  cannot verify it locally (`letta --help`, `/help`, reading the actual
  config file), say you are not sure or that it does not exist — do not
  guess a plausible-sounding name.
- **Distinguish surfaces.** The CLI, the desktop app, the web app
  (chat.letta.com), and the API/SDK have different affordances. Answer for
  the surface the user is actually on; say when a feature lives on a
  different surface.
- **Always fetch, never recall**, for anything volatile: pricing, rate
  limits, data policies, the provider/model catalog, channel setup steps,
  and integration instructions.
- **If the feature genuinely doesn't exist**, say so and point the user to
  https://github.com/letta-ai/letta-code/issues to request it.

## Support escalation

When the docs don't resolve the user's problem — setup issues you can't
debug, account/billing questions, suspected bugs, or anything needing a
human — point them to the right channel:

- **Discord** (https://discord.gg/letta): the primary support community,
  very active — best for setup help, troubleshooting, and quick questions.
  It's also where users can chat with **Ezra**, Letta's support agent.
- **GitHub issues** (https://github.com/letta-ai/letta-code/issues): bug
  reports and feature requests.

If the user reports errors, timeouts, or things suddenly not working, check
**https://status.letta.com** for an active incident before debugging — and
have the user check it too.

Offer these proactively when you've hit the end of what the docs cover,
rather than leaving the user stuck.

## Caching

The helper owns the cache. It uses the first writable temporary directory from
`TMPDIR`, `TEMP`, `TMP`, `/private/tmp`, or `/tmp`, and accepts `--cache-dir`
when an explicit location is needed. Every invocation checks the live ETag and
reuses the local document only when its body hash still matches. Do not create
or manage a second cache yourself.

From letta-ai/letta-code at c1033d9, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.

View SKILL.md on GitHub at c1033d9

Files

2 files, 19 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at c1033d9
All 50 skills from Letta

More from Letta

  • acquiring-skills

    Enables the agent to discover and install skills from multiple registries including Hermes Skills Hub, ClawHub, GitHub, and community repositories.

    Agents not labelled yet · about 3.1K tokens · pinned 6 days ago

  • browser-use

    Control a real browser using Chrome DevTools Protocol over WebSocket to navigate pages, interact with UI, fill forms, scrape sites, and capture screenshots or…

    Claude Code, Codex, Cursor +4 · about 3.2K tokens · pinned 6 days ago

  • Context Doctor

    Context Doctor investigates and repairs an agent's context including memory, system prompt, and skills by analyzing observed behavior as evidence.

    Claude Code, Codex, Cursor +3 · about 1K tokens · pinned 6 days ago

  • creating-mods

    This skill creates and edits mod files that extend local Letta instances with tools, slash commands, event handlers, custom model providers, permissions, and…

    Claude Code, Codex, Cursor +4 · about 2.4K tokens · pinned 6 days ago

  • creating-skills

    This skill guides developers in creating modular packages that extend Letta Code agent capabilities with specialized knowledge, workflows, tool integrations…

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 4.5K tokens · pinned 6 days ago

  • curating-memory-palace

    This skill lets the agent maintain a Memory Palace, a structured dashboard view that shows the user what the agent is working on, what it could do next, and…

    Agents not labelled yet · about 3.1K tokens · pinned 6 days ago

All Docs and writing skills
  • n8n-docs-assistant

    This skill answers questions about n8n configuration, setup, credentials, nodes, and troubleshooting by retrieving information from current n8n documentation.

    by n8nOfficial publisher

    Claude Code, Codex, Cursor +3 · about 450 tokens · pinned 6 days ago

  • algodocs-automation

    This skill automates Algodocs document processing tasks through Composio's toolkit via the Rube MCP server.

    by ComposioOfficial publisher

    Claude Code, Codex, Cursor +3 · about 690 tokens · pinned 6 days ago

  • remotion-docs

    This skill enables agents to search and retrieve Remotion documentation via the Algolia API and fetch pages as Markdown.

    by RemotionOfficial publisher

    Claude Code, Codex, Cursor +3 · about 320 tokens · pinned 6 days ago

  • remotion-docs

    This skill searches the Remotion documentation using the Algolia API and retrieves documentation pages as Markdown.

    by RemotionOfficial publisher

    Claude Code, Codex, Cursor +3 · about 320 tokens · pinned 6 days ago

  • receipts

    This skill generates a personal Claude Code usage report from local session transcripts stored in ~/.claude/projects, mining activity across projects without…

    by AnthropicOfficial publisher

    Contains scripts

    Claude Code · about 4.1K tokens · pinned 6 days ago

  • solo

    This skill enables an agent to work through a single difficult mathematics problem independently within one session.

    by AnthropicOfficial publisher

    Claude Code · about 1.4K tokens · pinned 6 days ago

Open roles at Letta

4 open roles on the jobs board

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use