Plate Plugin Creator
udecode/plate
Build new Plate plugins with Slate-first architecture, sane typing, and explicit React/Plate wrapper boundaries.
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.
$ npx skills add letta-ai/letta-code --skill creating-mods -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install letta-ai/letta-code creating-mods --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/creating-mods .claude/skills/creating-mods && 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 "creating-mods" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/creating-mods into .claude/skills/creating-mods/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-mods", 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/creating-modsType 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 creating-mods -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install letta-ai/letta-code creating-mods --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/creating-mods .agents/skills/creating-mods && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "creating-mods" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/creating-mods into .agents/skills/creating-mods/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-mods", 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 creating-mods -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install letta-ai/letta-code creating-mods --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/creating-mods .cursor/skills/creating-mods && 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 "creating-mods" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/creating-mods into .cursor/skills/creating-mods/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-mods", 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/creating-mods--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 creating-mods -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install letta-ai/letta-code creating-mods --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/creating-mods .gemini/skills/creating-mods && 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 "creating-mods" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/creating-mods into .gemini/skills/creating-mods/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-mods", 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 creating-modsInstalls 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 creating-mods -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/creating-mods .github/skills/creating-mods && 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 "creating-mods" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/creating-mods into .github/skills/creating-mods/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-mods", 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 creating-mods -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 creating-mods --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/creating-mods .opencode/skills/creating-mods && 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 "creating-mods" agent skill from https://github.com/letta-ai/letta-code/tree/main/src/skills/builtin/creating-mods into .opencode/skills/creating-mods/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-mods", 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.
creating-modsCreates 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.
Creating Mods is an agent skill from 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. Use when asked to make a mod, add an agent-callable tool, add a slash command, add a local provider/model adapter, transform turns, react to app events, or add lightweight mod UI outside the dedicated /statusline flow.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including reference files (for example `references/analysis-mode.md`, `references/architecture.md` and `references/commands.md`).
It sits in Agent Workflows, covering Hooks and plugins. It works with Letta and React. 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.
9 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d31b879. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From 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.
Creating Mods loads about 2.5k tokens when it runs, and up to ~22k if it reads all its reference files. Until then it costs about 108 tokens; SKILL.md has 1,133 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); files beside SKILL.md are not scanned.
The full file from letta-ai/letta-code at commit d31b879, republished under its Apache-2.0 licence (© letta-ai). 1,133 words, ~2,469 tokens.
.claude/skills/creating-mods/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.Use this skill to create or update trusted Letta Code mod files. Mods are trusted local code that add small composable capabilities through mod APIs, not by importing app internals. Dynamic agent/conversation/workspace/model state is passed as ctx to tool, command, event, and permission callbacks (panels receive live agent/model in their render context); do not read mutable global context for model-callable behavior. Prefer scoped handles (ctx.conversation, ctx.cwd, ctx.agent) and guard optional UI with letta.capabilities.
Capabilities vary by surface — not every surface loads every capability. The TUI/headless host can load tools, commands, events, UI, and providers; the desktop listener loads tools, commands, providers, and tool/turn events, but not panel UI. Always guard each registration on the capabilities its behavior needs.
Default to a single mod file unless the user asks for something larger.
| Location | Use when |
|---|---|
~/.letta/mods/foo.ts | The behavior should apply to local sessions on this machine. Use this by default. |
$MEMORY_DIR/mods/foo.ts | The behavior should travel with one agent's MemFS/memory. |
Do not create project mods.
Packaging is an upgrade path, not the default authoring path. If the user asks to share, publish, distribute, or use third-party package dependencies, first build a working mod file, then use letta mods package <mod-file> --name <package-name>. Package install/update/download/publish details belong outside this skill.
| User wants | Build |
|---|---|
| Agent/model should autonomously call a local capability | Mod tool |
User wants /foo to send a prompt or run local UI logic | Mod command |
| Slash command represents a reusable agent workflow | Skill + thin mod command |
| Command should work while the main agent is busy | Command with runWhenBusy: true, handled, panel/status, and usually ctx.conversation.fork() |
| Show transient output above input | Panel, usually from a command |
| Show small persistent state | Status value |
| React to app/session lifecycle or transform outbound turns | Event |
| Enforce dynamic allow/ask/deny policy for tool calls | Permission overlay |
| Add a custom model/API provider for local agents | Provider mod (local agents only) |
| Change the bottom statusline appearance | Use customizing-statusline, not this skill |
Default to a tool when the model should decide when to use the capability. Default to a command when the human explicitly invokes it. Compose capabilities when the UX needs it, e.g. command + panel + scoped conversation fork.
~/.letta/mods/) by default, or agent mod file ($MEMORY_DIR/mods/) only when the behavior should travel with this agent.references/tools.mdreferences/commands.mdreferences/providers.mdreferences/events.mdreferences/permissions.mdreferences/ui.mdreferences/plan-mode.mdreferences/architecture.md./reload. If a mod breaks startup or command handling, recover with letta --no-mods or LETTA_DISABLE_MODS=1 letta.export default function activate(letta) {
const disposers = [];
if (letta.capabilities.tools) {
disposers.push(letta.tools.register(/* ... */));
}
if (letta.capabilities.commands) {
disposers.push(letta.commands.register(/* ... */));
}
return () => {
for (const dispose of disposers.reverse()) dispose();
};
}Use letta.capabilities for optional behavior:
letta.capabilities.tools
letta.capabilities.commands
letta.capabilities.events.lifecycle
letta.capabilities.events.tools
letta.capabilities.events.turns
letta.capabilities.events.compact
letta.capabilities.events.llm
letta.capabilities.permissions
letta.capabilities.providers
letta.capabilities.ui.panelsGuard each registration on every capability its behavior depends on — not just the one that registers it. Surfaces load different capability subsets, so a registration that relies on another capability (a command that opens UI, emits an event, or calls a provider) must guard on that capability too. Otherwise it is advertised or activated on a host that cannot fulfill it and silently does nothing. Register where the host can actually do the work.
ctx.conversation for conversation operations:ctx.conversation.getHistory() for recent messagesctx.conversation.fork() for independent/background model workforked.sendMessageStream([...]) to stream from a forkctx.conversation.getHistory() when the tool needs recent context.letta.client only for server-specific Letta API calls; do not use it as a substitute for scoped conversation helpers.@/backend, @/cli, or other Letta Code internals from mod files.Use letta.diagnostics.report({ message, severity }) sparingly as a debug utility for mod setup/runtime problems an agent should inspect, such as missing required environment variables or failed local configuration. Default severity is "error"; use severity: "warning" only for optional/degraded behavior. Keep messages short and actionable, and do not dump routine logs or large state.
Agents can inspect local mod diagnostics at:
~/.letta/mods/diagnostics/latest.json/reload.node:child_process, node:fs, etc.) for local work.execFile/spawn over shell strings.runWhenBusy: true, do not return prompt; return handled and own the UI/background work.turn_start as powerful trusted code: keep transforms narrow and unsurprising.Before finishing, verify:
{ type: "handled" } quickly and avoid main-conversation sends.ctx.conversation or forked handles, not app internals.ctx.cwd unless intentionally global.| Reference | Load when |
|---|---|
references/tools.md | The model should autonomously call a local capability |
references/commands.md | The human should invoke /foo |
references/providers.md | Adding a custom model/API provider for local agents |
references/events.md | Reacting to lifecycle/tool/turn events or transforming turns/tools |
references/permissions.md | Enforcing dynamic tool allow/ask/deny policy before approval/execution |
references/ui.md | Panels (including order-0 statusline and order-1 dreaming indicator) or ui.panels capability guards are involved |
references/plan-mode.md | Recreating plan mode with commands, tools, events, permissions, and local state |
references/analysis-mode.md | Phrase-triggered diagnostic mode with turn reminders (simpler than plan-mode) |
references/architecture.md | Multiple capabilities, local state, cleanup, background model work, or non-trivial composition |
© 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 9 other files (references) in src/skills/builtin/creating-mods of letta-ai/letta-code.
Open the folder on GitHubat commit d31b879
Creating Mods 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 |
|---|---|---|---|---|---|---|
| Creating Mods this skillletta-ai/letta-code | 3.6k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Plate Plugin Creatorudecode/plate | 17k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Knowledge Interaction Surfaces Terminal UIechoVic/blade-code | 181 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Create Opencode PluginIgorWarzocha/Opencode-Workflows | 122 | — | ~2.4k | Automated safety check: Pass | None | |
| Tsh Writing HooksTheSoftwareHouse/copilot-collections | 284 | — | ~3k | Automated safety check: Pass | MIT | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 10 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 |
udecode/plate
Build new Plate plugins with Slate-first architecture, sane typing, and explicit React/Plate wrapper boundaries.
echoVic/blade-code
覆盖 Blade React + Ink TUI 的初始化、输入协议、消息与工具渲染、确认队列、Session 切换、流式缓冲和 Runtime 清理。进入时机:修改终端键盘行为、粘贴、Ctrl+C、审批与 问答、流式输出、Static 布局、会话恢复或 slash command 展示。
IgorWarzocha/Opencode-Workflows
Create OpenCode plugins using the @opencode-ai/plugin SDK. An agent skill from IgorWarzocha/Opencode-Workflows.
TheSoftwareHouse/copilot-collections
Custom hook and composable patterns — naming, composition, stable return shapes, lifecycle cleanup, and testing strategies.
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
letta-ai/letta-code
Guide for creating effective skills. An agent skill from letta-ai/letta-code.
letta-ai/letta-code
Generates and reviews mod learning env JSON files for Letta Code local mods.
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, edits, and migrates Letta Code statusline mods. An agent skill from letta-ai/letta-code.
Categories
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. Creating Mods is an agent skill from 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.
Creating Mods fits situations like: asked to make a mod; add an agent-callable tool; add a slash command; add a local provider/model adapter.
Run `npx skills add letta-ai/letta-code --skill creating-mods -a claude-code`. Or copy the skill folder (src/skills/builtin/creating-mods in letta-ai/letta-code) into .claude/skills/creating-mods in your project. Claude Code loads it when a task matches its description.
Run `npx skills add letta-ai/letta-code --skill creating-mods -a codex`. Or copy the skill folder (src/skills/builtin/creating-mods in letta-ai/letta-code) into .agents/skills/creating-mods 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 creating-mods -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/creating-mods, .gemini/skills/creating-mods, .github/skills/creating-mods and .opencode/skills/creating-mods in your project.
SKILL.md names no scripts, command-line tools or credentials: Creating Mods is instructions for the agent only.
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. Review the folder before installing.
Creating Mods 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 2.5k tokens (SKILL.md is roughly 9.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 19k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Creating Mods: Plate Plugin Creator (udecode/plate, 17k stars), Knowledge Interaction Surfaces Terminal UI (echoVic/blade-code, 181 stars), Create Opencode Plugin (IgorWarzocha/Opencode-Workflows, 122 stars) and Tsh Writing Hooks (TheSoftwareHouse/copilot-collections, 284 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,562 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 10, 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.