Agent skill

Letta Guide

by letta-ai in letta-ai/letta-code

Read the official Letta documentation (docs.letta.com) through its cached, ETag-checked fetch route.

Apache-2.0Auto-check passedAI & LLM Engineering

Install Letta Guide

skills CLI
$ npx skills add letta-ai/letta-code --skill letta-guide -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install letta-ai/letta-code letta-guide --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/letta-ai/letta-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/skills/builtin/letta-guide .claude/skills/letta-guide && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
letta-guide
GitHub stars
3.6k
Token cost
~1.5k tokens
SKILL.md length
804 words
Files
2 (incl. scripts)
Skills in repo
25
Repo updated
First seen
Licence
Apache-2.0

At a glance

Read the official Letta documentation (docs.letta.com) through its cached, ETag-checked fetch route.

  • Works in 4 steps: Self-inspection first for questions… → Fetch the docs index directly. For… → Fetch the specific page directly. Pass… → …
  • Tasks that involve Building AI agents
  • SKILL.md covers Source route (in order), Match documentation to the…, Inspect or change your model… and Hard rules, plus 2 more sections
  • Runs JavaScript scripts from its folder; calls node; reaches docs.letta.com

What it does

Letta Guide is an agent skill from letta-ai/letta-code. 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.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts.

It sits in AI & LLM Engineering, covering Building AI agents. It works with Letta. The repository describes itself as: Stateful agents that are like people, with memory, identity, and the ability to learn and adapt. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Building AI agents

Example prompts

  • “/letta-guide”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Self-inspection first for questions about THIS agent. "What model are
  2. Fetch the docs index directly. For product questions, run
  3. Fetch the specific page directly. Pass the exact canonical URL from the
  4. If direct retrieval fails, use fetch_webpage only as a fallback with a

What it can do on your machine

Read from SKILL.md and the folder at commit 271f119. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • docs.letta.com

    Also links to:

    • discord.gg
    • status.letta.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Letta Guide loads about 1.5k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 804 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from letta-ai/letta-code at commit 271f119, republished under its Apache-2.0 licence (© letta-ai). 804 words, ~1,526 tokens.

Download SKILL.mdSave it as .claude/skills/letta-guide/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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.
Show full SKILL.md (346 more words)Show less

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:

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.

© letta-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in src/skills/builtin/letta-guide of letta-ai/letta-code.

  • SKILL.md
  • scripts/fetch-letta-docs.mjs

Open the folder on GitHubat commit 271f119

Compare with similar skills

Letta Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Letta Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Letta Guide this skillletta-ai/letta-code3.6k—~1.5kAutomated safety check: PassApache-2.0
Agent BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
Paperclip Create Agentpaperclipai/paperclip100k1 repos~2.1kAutomated safety check: PassMIT
Senior Prompt Engineermaslennikov-ig/claude-code-orchestrator-kit2603 repos~1.4kAutomated safety check: PassCustom licence
Create Agentgnekt/My-Brain-Is-Full-Crew3.9k—~3.1kAutomated safety check: PassCustom licence
Ms Agent Framework RAGshuyu-labs/WebCode278—~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Agent Builder

    shareAI-lab/learn-claude-code

    Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Paperclip Create Agent

    paperclipai/paperclip

    Create new agents in Paperclip with governance-aware hiring.

    100k GitHub starsUsed in 1 repo~2.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Senior Prompt Engineer

    maslennikov-ig/claude-code-orchestrator-kit

    Provides reference guides and Python scripts for prompt optimization, RAG evaluation, and agent orchestration when building or tuning LLM systems.

    260 GitHub starsUsed in 3 repos~1.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Create Agent

    gnekt/My-Brain-Is-Full-Crew

    Create a new custom agent from scratch. An agent skill from gnekt/My-Brain-Is-Full-Crew.

    3.9k GitHub stars~3.1k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Ms Agent Framework RAG

    shuyu-labs/WebCode

    Comprehensive guide for building Agentic RAG systems using Microsoft Agent Framework in C.

    278 GitHub stars~1.1k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Google Agents CLI Adk Code

    pifferologo/cloud-agents-cli

    This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management", or needs ADK (Agent…

    129 GitHub starsUsed in 1 repo~768 tokens
    AI & LLM EngineeringAuto-check passed

More from letta-ai/letta-code

All 25 skills in this repo
  • Creating Skills

    letta-ai/letta-code

    Guide for creating effective skills. An agent skill from letta-ai/letta-code.

    3.6k GitHub stars~4.6k tokensUpdated today
    Auto-check passed
  • Generating Mod Envs

    letta-ai/letta-code

    Generates and reviews mod learning env JSON files for Letta Code local mods.

    3.6k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Initializing Memory

    letta-ai/letta-code

    Comprehensive guide for initializing or reorganizing agent memory.

    3.6k GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Self Configuration

    letta-ai/letta-code

    Inspect or modify Letta Code's own memory, model, context window, system prompt, compaction, permissions, toolsets, mods, skills, channels, schedules, agent secrets, and local runtime settings.

    3.6k GitHub stars~7k tokensUpdated today
    Auto-check passed
  • Browser Use

    letta-ai/letta-code

    Control a real browser to navigate pages, click, type, fill forms, inspect rendered UI, take screenshots, or record video.

    3.6k GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Creating Mods

    letta-ai/letta-code

    Creates and edits trusted local Letta Code mods, including tools, slash commands, local-only model providers, lifecycle/turn events, scoped conversation helpers, panels, and capability-gated behavior.

    3.6k GitHub stars~2.5k tokensUpdated today
    Auto-check passed

Works with

Questions about Letta Guide

What does Letta Guide do?

Read the official Letta documentation (docs.letta.com) through its cached, ETag-checked fetch route. Letta Guide is an agent skill from letta-ai/letta-code.com) through its cached, ETag-checked fetch route.

When should I use Letta Guide?

Letta Guide fits situations like: tasks that involve Building AI agents.

How do I install Letta Guide in Claude Code?

Run `npx skills add letta-ai/letta-code --skill letta-guide -a claude-code`. Or copy the skill folder (src/skills/builtin/letta-guide in letta-ai/letta-code) into .claude/skills/letta-guide in your project. Claude Code loads it when a task matches its description.

How do I install Letta Guide in Codex?

Run `npx skills add letta-ai/letta-code --skill letta-guide -a codex`. Or copy the skill folder (src/skills/builtin/letta-guide in letta-ai/letta-code) into .agents/skills/letta-guide in your project. Codex loads it when a task matches its description.

Can I use Letta Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add letta-ai/letta-code --skill letta-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/letta-guide, .gemini/skills/letta-guide, .github/skills/letta-guide and .opencode/skills/letta-guide in your project.

What does Letta Guide need to run?

Going by SKILL.md and its folder, Letta Guide needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Letta Guide access the network?

SKILL.md names 3 domains. In commands or code: docs.letta.com; the agent is likely to contact it when it follows the instructions. As links in the text: discord.gg and status.letta.com. This is read from the text; nothing was executed.

Is Letta Guide safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Letta Guide use?

Letta Guide is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Letta Guide use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Letta Guide?

Skills that share tags, products or a category with Letta Guide: Agent Builder (shareAI-lab/learn-claude-code, 78k stars), Paperclip Create Agent (paperclipai/paperclip, 100k stars), Senior Prompt Engineer (maslennikov-ig/claude-code-orchestrator-kit, 260 stars) and Create Agent (gnekt/My-Brain-Is-Full-Crew, 3.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Letta Guide?

letta-ai (a GitHub organization) maintains it in letta-ai/letta-code, which has 3,571 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 11, 2026.

Source: letta-ai/letta-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.