self-configuration

self-configuration is a skill for Claude Code, Codex from letta-ai/letta-code. It costs 90 tokens per session (6,361 once invoked), scanned C, original, Apache-2.0.

A guide for inspecting or changing an AI coding agent’s own configuration, memory, tools, prompts, models, permissions, and runtime settings.

In plain words
What is it for?
Changing agent identity or models, adjusting conversation settings, editing local runtime preferences, managing memory, and configuring tools or skills.
Why use it?
It helps place a requested change in the correct configuration layer so temporary preferences, stored memory, and deterministic settings are not mixed together.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Changing agent identity or models, adjusting conversation settings, editing local runtime preferences, managing memory, and configuring tools or skills.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/letta-ai/letta-code/self-configuration
About the project

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.

letta-ai/letta-code · 3,935 stars · on GitHub · letta.com

Install

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.

Any agent
npx skills add letta-ai/letta-code --skill self-configuration
Clone the repo
git clone --depth 1 https://github.com/letta-ai/letta-code

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for self-configuration

README.md
[![agentmods](https://agentmods.dev/badge/skills/letta-ai/letta-code/self-configuration/github.svg)](https://agentmods.dev/skills/letta-ai/letta-code/self-configuration)
Your own site
<a href="https://agentmods.dev/skills/letta-ai/letta-code/self-configuration"><img src="https://agentmods.dev/badge/skills/letta-ai/letta-code/self-configuration/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.

agentmods 80×15 button for self-configuration

Your own site · 80×15
<a href="https://agentmods.dev/skills/letta-ai/letta-code/self-configuration"><img src="https://agentmods.dev/badge/skills/letta-ai/letta-code/self-configuration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,361 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 10 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 76
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 79
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 133
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 139
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 150
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 164
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 170
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 192
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 210
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 224
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.06361
Opus 5.5 $0.00036 $0.02544
Sonnet 5.5 $0.00018 $0.01272
Haiku 4.5 $0.00009 $0.00636

Measured 13d ago against content hash 034a84a20734, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

self-configuration scanned grade C with 2 findings 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 13d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/add_permission.py, scripts/show_config.py, scripts/update-agent-settings.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

"deny": ["Bash(rm -rf:*)"],

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

These helper scripts reduce accidental harm. They are not a security boundary against an agent with unrestricted Bash, raw curl/SDK access, API credentials, or filesystem access. `LETTA_API_KEY` and the installed CLI may
src/skills/builtin/self-configuration/SKILL.md · 463 lines

How it starts

The opening of the file, as written. The whole thing — 463 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Self-Configuration

Use this skill when the user asks you to change yourself or the Letta Code runtime around you.

The important part is choosing the right layer. Do not smear a preference into deterministic config, and do not bury a deterministic safety rule in prose memory.

First choose the layer

Layer Use it for How to change it
Memory and identity Facts worth retaining, style preferences, persona changes, project knowledge, reusable skills Edit $MEMORY_DIR files and sync the memory repo
Server agent fields Agent default model (only on explicit request), context limit, system prompt, compaction, agent name, description Patch /v1/agents/{agent_id}
Server conversation fields Model/context changes for the current conversation (the normal target) Patch /v1/conversations/{conversation_id}
Local settings Permissions, environment variables, UI/runtime preferences, pinned agents, toolset overrides, reflection cadence Edit $LETTA_CONFIG_DIR/settings.json when configured (otherwise ~/.letta/settings.json), ./.letta/settings.json, or ./.letta/settings.local.json
Mods New deterministic tools, slash commands, providers, statusline behavior, or lightweight UI Load creating-mods, customizing-commands, or customizing-statusline
Skills Reusable procedural knowledge or bundled scripts Load creating-skills or acquiring-skills
Channels Slack/Discord/Telegram/WhatsApp/Signal accounts, pairing, routing, listener state Use letta channels or channel commands
Schedules Reminders and recurring prompts Load scheduling-tasks and use letta cron
Agent variables Plain, readable $NAME values for shell commands Use letta variable (or /variable in a session)
Agent secrets Per-agent $NAME credential values for shell commands Use letta secret (or /secret in a session)

Decision rule: if the model should remember and reason about it, use memory. If the runtime must enforce it or route it before the model decides anything, use settings, API fields, mods, channels, or schedules.

Read the full file on GitHub · 463 lines

Files

What ships with it

8 files 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.

Changes

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.

  1. 13d ago Changed · +2 lines 034a84a20734
  2. 18d ago Changed · +13 lines 1fd16076e7f4
  3. 1mo ago Changed 25ba05cbbf34
  4. 1mo ago Changed · -6 lines 67ff3085b3d1
  5. 2mo ago Changed · -18 lines 63feb0cbed44
  6. 2mo ago Changed · -5 lines 42bcd7f92b0e
  7. 2mo ago Changed d6cefff9244f
  8. 2mo ago Changed · +10 lines · +12 tokens per session fa19c1893c49
  9. 2mo ago Changed 5ba5e0124b83
  10. 2mo ago First seen · 467 lines · 78 tokens per session scan C 1e3c2494e1c7

Subscribe to this mod's changes

self-configuration is a skill published in the GitHub repository letta-ai/letta-code (3,935 stars, last pushed today), licensed Apache-2.0. It adds 90 tokens to every session and 6,361 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

self-configuration compared with skills from other repositories

self-configuration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
self-configurationletta-ai/letta-codeSkill3.9ktodayApache-2.0C90Claude Code, Codex
memory-systembojieli/ai-agent-bookSkill60kyesterdayApache-2.0A95Claude Code, Codex
memory-recallzilliztech/memsearchSkill3.0k3d agoMITA152Claude Code
memanto-companionmoorcheh-ai/memantoSkill2.4k2d agoApache-2.0A72Claude Code
openloreaakarim/OpenLoreSkill2.0k8d agoApache-2.0A42Claude Code, Codex
mnemonmnemon-dev/mnemonSkill7527d agoApache-2.0A25Claude Code, Codex
mnemonmnemon-dev/mnemonSkill7527d agoApache-2.0A30Claude Code, Codex