Lettabot
letta-ai/lettabot
Set up and run LettaBot - a multi-channel AI assistant for Telegram, Slack, Discord, WhatsApp, and Signal.
Generates and reviews mod learning env JSON files for Letta Code local mods.
$ npx skills add letta-ai/letta-code --skill generating-mod-envs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install letta-ai/letta-code generating-mod-envs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ 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/generating-mod-envs .claude/skills/generating-mod-envs && rm -rf skills-srcUse ~/.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/
Install the "generating-mod-envs" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/generating-mod-envs into .claude/skills/generating-mod-envs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generating-mod-envs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/generating-mod-envsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add letta-ai/letta-code --skill generating-mod-envs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install letta-ai/letta-code generating-mod-envs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letta-ai/letta-code.git skills-src && mkdir -p .agents/skills && cp -r skills-src/src/skills/builtin/generating-mod-envs .agents/skills/generating-mod-envs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "generating-mod-envs" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/generating-mod-envs into .agents/skills/generating-mod-envs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generating-mod-envs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add letta-ai/letta-code --skill generating-mod-envs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install letta-ai/letta-code generating-mod-envs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letta-ai/letta-code.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/src/skills/builtin/generating-mod-envs .cursor/skills/generating-mod-envs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "generating-mod-envs" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/generating-mod-envs into .cursor/skills/generating-mod-envs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generating-mod-envs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/letta-ai/letta-code.git --path src/skills/builtin/generating-mod-envs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add letta-ai/letta-code --skill generating-mod-envs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install letta-ai/letta-code generating-mod-envs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letta-ai/letta-code.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/src/skills/builtin/generating-mod-envs .gemini/skills/generating-mod-envs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "generating-mod-envs" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/generating-mod-envs into .gemini/skills/generating-mod-envs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generating-mod-envs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install letta-ai/letta-code generating-mod-envsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add letta-ai/letta-code --skill generating-mod-envs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/letta-ai/letta-code.git skills-src && mkdir -p .github/skills && cp -r skills-src/src/skills/builtin/generating-mod-envs .github/skills/generating-mod-envs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "generating-mod-envs" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/generating-mod-envs into .github/skills/generating-mod-envs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generating-mod-envs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add letta-ai/letta-code --skill generating-mod-envs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install letta-ai/letta-code generating-mod-envs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letta-ai/letta-code.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/src/skills/builtin/generating-mod-envs .opencode/skills/generating-mod-envs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "generating-mod-envs" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/generating-mod-envs into .opencode/skills/generating-mod-envs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "generating-mod-envs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
generating-mod-envsGenerates and reviews mod learning env JSON files for Letta Code local mods.
Generating Mod Envs is an agent skill from letta-ai/letta-code. Generates and reviews mod learning env JSON files for Letta Code local mods. Use when asked to teach, learn, or optimize a mod behavior; create, draft, validate, improve, or explain envs for /mods learn --env; or design evaluation scenarios, memory fixtures, requiredResultMarkers, requiredTraceMarkers, negative controls, and candidate diversity hints.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and assets (for example `assets/mod-learning-env.template.json` and `scripts/validate-mod-env.ts`).
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.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 253a3bc. It shows what the files ask for, not the result of running them.
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.
Ships 1 file in scripts/ (TypeScript), which the agent can run.
Shell commands in SKILL.md call:
bunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Generating Mod Envs loads about 1.5k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 474 words of instructions outside code blocks.
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.
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.
The full file from letta-ai/letta-code at commit 253a3bc, republished under its Apache-2.0 licence (© letta-ai). 474 words, ~1,533 tokens.
.claude/skills/generating-mod-envs/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Use this skill to create JSON envs consumed by /mods learn --env=<path> or bun scripts/mod-learning/learn-mod.ts --env <path>. An env describes the mod behavior to learn and the scenario-suite eval used to score candidates.
docs/examples/mods/learning/<slug>.env.jsonassets/mod-learning-env.template.json if useful. No comments or trailing commas.evaluation.scenarios with at least:bun src/skills/builtin/generating-mod-envs/scripts/validate-mod-env.ts path/to/env.jsonIf this skill is installed outside the source tree, run the same script from this skill directory: scripts/validate-mod-env.ts.
/mods learn --env=path/to/env.json --model=auto --backend=api --out=/tmp/<slug>-learnThe raw scripts/mod-learning/learn-mod.ts dev script detaches by default. Add --foreground only when a blocking pass/fail exit code is needed.
Use single-line --flag=value commands for TUI instructions.
Required top-level fields:
name: human display name.slug: stable kebab-case run/candidate slug.objective: one-paragraph target for the generation agent.requirements: concrete pass/fail behavior constraints.evaluation: either a single prompt eval or a scenario suite.Common optional fields:
targetModName: display metadata for the intended mod filename. The harness still chooses the candidate filename from slug unless --candidate-file-name is passed.candidateDiversityHints: strategies assigned across multi-candidate runs.modApiHints: concise API reminders that prevent bad generated code.examples: small input/expected demos for the generation prompt.Evaluation fields:
evaluation.outputFormat: use stream-json when checking trace markers.evaluation.timeoutMs, evaluation.maxTurns: per-scenario defaults.evaluation.memoryFiles: files seeded under eval $MEMORY_DIR.evaluation.scenarios[]: scenario-specific overrides and fixtures.evaluation.prompt unless that prompt must run for every scenario. Assertion-only scenarios should have assertions and no prompt; only scenarios that require model behavior should define scenario.prompt.requiredResultMarkers: literal strings required in the final answer.requiredTraceMarkers: literal strings required in raw stdout/stderr.forbiddenResultMarkers: final-answer strings that fail the run.forbiddenTraceMarkers: raw trace strings that fail the run.MY-MOD-CANARY-OK, not common phrases.memoryFiles rather than depending on real user memory or repo files.forbiddenTraceMarkers, usually:[mods] failed to load[extensions] failed to loadloaded 0 mod(s)loaded 0 extension(s)requiresApproval: false, parallelSafe: true, and a strict no-argument schema when applicable."message_type":"tool_return_message".modApiHints only when needed.{
"name": "Hello tool mod learner demo",
"slug": "hello-tool",
"objective": "Learn a trusted local mod that registers a read-only hello_mod_ping tool returning a fixed sentinel.",
"requirements": [
"Register a tool named hello_mod_ping.",
"The tool must accept no parameters, require no approval, be parallelSafe, and return the exact string HELLO-MOD-OK."
],
"candidateDiversityHints": [
"Use the smallest possible tool-only implementation.",
"Add explicit defensive checks around the tool schema."
],
"modApiHints": [
"Use export function activate(letta) or a default export.",
"Use letta.tools.register({ name, description, parameters, requiresApproval, parallelSafe, run }).",
"A no-argument tool schema is { \"type\": \"object\", \"properties\": {}, \"additionalProperties\": false }."
],
"evaluation": {
"outputFormat": "stream-json",
"timeoutMs": 900000,
"maxTurns": 6,
"forbiddenTraceMarkers": ["[mods] failed to load", "loaded 0 mod(s)"],
"scenarios": [
{
"name": "happy-path",
"prompt": "Call the hello_mod_ping tool, then answer with the exact text HELLO-MOD-OK.",
"requiredResultMarkers": ["HELLO-MOD-OK"],
"requiredTraceMarkers": ["hello_mod_ping", "\"message_type\":\"tool_return_message\""]
},
{
"name": "negative-control",
"prompt": "Answer without calling tools: what is 2 + 2?",
"requiredResultMarkers": ["4"],
"forbiddenTraceMarkers": ["hello_mod_ping"]
}
]
}
}© 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
SKILL.md and 2 other files (scripts, assets) in src/skills/builtin/generating-mod-envs of letta-ai/letta-code.
Open the folder on GitHubat commit 253a3bc
Generating Mod Envs 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Generating Mod Envs this skillletta-ai/letta-code | 3.6k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Lettabotletta-ai/lettabot | 327 | — | ~3.4k | Automated safety check: Pass | Apache-2.0 | |
| Creating Letta Code Channelsletta-ai/skills | 149 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Letta Configurationletta-ai/skills | 149 | — | ~1.3k | Automated safety check: Notes | MIT | |
| Letta Filesystem To Memfsletta-ai/skills | 149 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Navigating Chatgpt Historyletta-ai/skills | 149 | — | ~1.3k | Automated safety check: Pass | MIT |
letta-ai/lettabot
Set up and run LettaBot - a multi-channel AI assistant for Telegram, Slack, Discord, WhatsApp, and Signal.
letta-ai/skills
Builds and debugs Letta Code channels, including first-party channel adapters and dynamic user channel plugins under ~/.letta/channels.
letta-ai/skills
Configure LLM models and providers for Letta agents and servers.
letta-ai/skills
Migrates deprecated Letta Filesystem folders/files to MemFS using markdown document corpora, chunking, local lexical search, and QMD semantic search via the memfs-search skill.
letta-ai/skills
Navigates archived ChatGPT or Claude-style conversation exports and a MemFS reference archive on demand.
letta-ai/skills
Configures Letta agents' own runtime behavior, including model, context window, system prompt, reasoning, conversation overrides, compaction settings, and compaction prompts.
letta-ai/letta-code
Guide for creating effective skills. An agent skill from letta-ai/letta-code.
letta-ai/letta-code
Comprehensive guide for initializing or reorganizing agent memory.
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.
letta-ai/letta-code
Control a real browser to navigate pages, click, type, fill forms, inspect rendered UI, take screenshots, or record video.
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.
letta-ai/letta-code
Creates, edits, and migrates Letta Code statusline mods. An agent skill from letta-ai/letta-code.
Works with
Generates and reviews mod learning env JSON files for Letta Code local mods. Generating Mod Envs is an agent skill from letta-ai/letta-code. Generates and reviews mod learning env JSON files for Letta Code local mods.
Generating Mod Envs fits situations like: optimize a mod behavior; explain envs for /mods learn --env; design evaluation scenarios; memory fixtures.
Run `npx skills add letta-ai/letta-code --skill generating-mod-envs -a claude-code`. Or copy the skill folder (src/skills/builtin/generating-mod-envs in letta-ai/letta-code) into .claude/skills/generating-mod-envs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add letta-ai/letta-code --skill generating-mod-envs -a codex`. Or copy the skill folder (src/skills/builtin/generating-mod-envs in letta-ai/letta-code) into .agents/skills/generating-mod-envs in your project. Codex loads it when a task matches its description.
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 generating-mod-envs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/generating-mod-envs, .gemini/skills/generating-mod-envs, .github/skills/generating-mod-envs and .opencode/skills/generating-mod-envs in your project.
Going by SKILL.md and its folder, Generating Mod Envs needs TypeScript for the scripts in its folder and the command-line tools its instructions call (bun). Our summary lists: Node.js.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Generating Mod Envs 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.
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.
Skills that share tags, products or a category with Generating Mod Envs: Lettabot (letta-ai/lettabot, 327 stars), Creating Letta Code Channels (letta-ai/skills, 149 stars), Letta Configuration (letta-ai/skills, 149 stars) and Letta Filesystem To Memfs (letta-ai/skills, 149 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
letta-ai (a GitHub organization) maintains it in letta-ai/letta-code, which has 3,552 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 9, 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.