letta-ai/letta-code is an agent harness for building assistants that retain memory, identity, and experience across interactions instead of treating each task as isolated. Developers use it through local, desktop, browser, or messaging interfaces for interactive or continuously running agents, and its catalogue entries configure the agents' skills, instructions, rules, and behavior.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add letta-ai/letta-code --skill letta-guidegit clone --depth 1 https://github.com/letta-ai/letta-codeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/letta-ai/letta-code/letta-guide)<a href="https://agentmods.dev/skills/letta-ai/letta-code/letta-guide"><img src="https://agentmods.dev/badge/skills/letta-ai/letta-code/letta-guide/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/letta-ai/letta-code/letta-guide"><img src="https://agentmods.dev/badge/skills/letta-ai/letta-code/letta-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.01431 |
| Opus 5.5 | $0.00027 | $0.00572 |
| Sonnet 5.5 | $0.00014 | $0.00286 |
| Haiku 4.5 | $0.00007 | $0.00143 |
Grade A, and why
letta-guide scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
helper uses native HTTPS with a curl fallback; do not use `fetch_webpage` How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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)
-
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-configurationskill 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. -
Fetch the docs index directly. For product questions, run:
node <SKILL_DIR>/scripts/fetch-letta-docs.mjsThe helper retrieves
https://docs.letta.com/llms.txtfrom 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). -
Fetch the specific page directly. Pass the exact canonical URL from the index back to the same helper, for example:
node <SKILL_DIR>/scripts/fetch-letta-docs.mjs \ --docs-url "https://docs.letta.com/configuration/models/index.md"
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · +19 lines ee8de9c7f7ed
- 2mo ago Changed · +2 lines · -62 tokens per session 09a8b39f8b4b
- 2mo ago Changed · +5 lines 9139820c3d07
- 3mo ago First seen · 98 lines · 130 tokens per session scan A 9e288f52d592
letta-guide is a skill published in the GitHub repository letta-ai/letta-code (3,935 stars, last pushed today), licensed Apache-2.0. It adds 68 tokens to every session and 1,431 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
letta-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| letta-guideletta-ai/letta-code | Skill | 3.9k | today | Apache-2.0 | A | 68 | Claude Code, Codex |
| agent-code-analyzerruvnet/ruflo | Skill | 83k | today | MIT | A | 19 | Claude Code |
| worker-integrationruvnet/ruflo | Skill | 83k | today | MIT | A | 14 | Claude Code |
| eval-dataset-designbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 138 | Claude Code, Codex |
| memory-systembojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 95 | Claude Code, Codex |
| writingbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 27 | Claude Code, Codex |
| memory-recallzilliztech/memsearch | Skill | 3.0k | 3d ago | MIT | A | 152 | Claude Code |