skill-creator
Skill30k starsChanged 3 months agoMITView on GitHub
Guide for creating effective skills that extend agent capabilities with specialized knowledge, workflows, or tool integrations. Use this skill when the user asks to: (1) create a new skill, (2) make a skill, (3) build a skill, (4) set up a skill, (5) initialize a skill, (6) scaffold a skill, (7) update or modify an existing skill, (8) validate a skill, (9) learn about skill structure, (10) understand how skills work, or (11) get guidance on skill design patterns. Trigger on phrases like \"create a skill\", \"new skill\", \"make a skill\", \"skill for X\", \"how do I create a skill\", or \"help me build a skill\".
189 other projects use a version of this, 87 of them edited; 87 of 87 edited versions we compared changed its rules; 0 new projects in the last 4 weeks, against 3 the 4 before.
How people change it
87 of 87 edited versions changed its rules, and some changes recur.
Of the 87 edited versions we compared: 87 made changes of their own.
Rules people drop
- Use
init_skill.pywhen the skill will include bundled resources (scripts/,references/,assets/). Usedcode skills createfor a quick, minimal starting point.dropped by 87 of 87 - If validation fails, fix the reported errors and run the validation command again.dropped by 87 of 87
- Avoid deeply nested references - Keep references one level deep from SKILL.md. All reference files should link directly from SKILL.md.dropped by 25 of 87
- Key principle: When a skill supports multiple variations, frameworks, or options, keep only the core workflow and selection guidance in SKILL.md. Move variant-specific details (patterns, examples, configuration) into separate reference files.dropped by 24 of 87
- Default assumption: The agent is already very capable. Only add context the agent doesn't already have. Challenge each piece of information: "Does the agent really need this explanation?" and "Does this paragraph justify its token cost?"dropped by 23 of 87
- High freedom (text-based instructions): Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.dropped by 23 of 87
- Medium freedom (pseudocode or scripts with parameters): Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.dropped by 23 of 87
- Low freedom (specific scripts, few parameters): Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.dropped by 23 of 87
Rules people add
- If validation fails, the script will report the errors and exit without creating a package. Fix any validation errors and run the packaging command again.added by 76 of 87
- Do not include any other fields in YAML frontmatter.added by 64 of 87
- A rule we can't quote: its licence doesn't allow itadded by 16 of 87
- When generating names, generate a name under 64 characters (letters, digits, hyphens).added by 13 of 87
- Prefer short, verb-led phrases that describe the action.added by 13 of 87
- Use lowercase letters, digits, and hyphens only; normalize user-provided titles to hyphen-case (e.g., "Plan Mode" ->
plan-mode).added by 12 of 87 - After initialization, customize the SKILL.md and add resources as needed. If you used
--examples, replace or delete placeholder files.added by 12 of 87 - If you used
--examples, delete any placeholder files that are not needed for the skill. Only create resource directories that are actually required.added by 12 of 87
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Cooling: 0 new projects took it in the last 4 weeks, 0× the 4 weeks before.thin data
Most recently taken up by
- openai/codextheir own version, first seen Oct 7, 2026
- Hive-Academy/ptah-extensionedited, first seen Oct 3, 2026
- CatCatUncle/openworkbuddytheir own version, first seen Oct 2, 2026
- MaxMiksa/Auto-Companyedited, first seen Oct 2, 2026
- TserenTserenov/FMT-exocortex-templatetheir own version, first seen Oct 1, 2026
- laguagu/claude-code-nextjs-skillstheir own version, first seen Sep 30, 2026
Who's talking about langchain-ai/deepagents
- @catalyst.coop“Deep Agents is an open source project from LangChain to let anybody build their own model-agnostic agent …”Bluesky · Apr 4, 2026 · 12 likes
- @arifsolmaz.bsky.social“LangChain's DeepAgents gives you a production-ready AI agent in 3 lines of code - complete with planning, …”Bluesky · Mar 22, 2026 · 4 likes
- A Hacker News story“Deepagents”Hacker News · Jul 3, 2026 · 3 points
- @technews4869.bsky.social“github.com/langchain-ai/de... GitHub - langchain-ai/deepagents: Agent harness built with LangChain and …”Bluesky · Mar 19, 2026 · 3 likes
- @ramikrispin.bsky.social“New Code Agent from LangChain - Deep Agents github.com/langchain-ai... #ai #llm #datascience”Bluesky · Oct 31, 2025 · 3 likes
The biggest 5 of 62 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 62
Talked about on GitHub, Bluesky and Hacker News (62 times).
On GitHub · 50
- Sep 29, 2026Open Source Friday - [Deep Agents] - [11-13-2026] — githubevents/open-source-friday2 reactions · 8 comments
- Aug 18, 2026Allow a state channel to be checkpointed/restorable but excluded from `StateSnapshot.values` — langchain-ai/langgraph2 reactions · 6 comments
- Nov 21, 2026build(deps): bump the uv-minor-and-patch group across 1 directory with 7 updates — IntelIP/InfiniteFlightAgent1 reaction · 1 comment
- Oct 12, 2026Add hypothesis planning, resumable checkpoints and fenced Agent execution — MISTRYUSER/Argus-OTA-Platform1 reaction · 1 comment
- Oct 8, 2026chore(deps): bump the pip group across 1 directory with 5 updates — truefoundry/trueforge1 reaction · 3 comments
45 more on GitHub
- Jul 24, 2026feat(deepagents): simplify prompting — langchain-ai/deepagentsjs1 reaction · 3 comments
- Jun 29, 2026chore(standard-tests): add sandbox integration test for offloading large `execute` results — langchain-ai/langchain1 reaction
- Mar 13, 2026fix(middleware): use .content instead of .text for LangChain messages — NurraHealth/deepagents1 reaction · 2 comments
- Jan 14, 2026Integrate DeepAgents Example — i-am-bee/agentstack1 reaction · 2 comments
- Dec 9, 2025The js version of langchain doesn't set config with recursion_limit while python version does. — langchain-ai/deepagentsjs1 reaction · 2 comments
- Nov 3, 2025New CLI Tools — johnhenry/awesome-ai-tools1 reaction
- Sep 3, 2025Missing automation and other features — leizerowicz/project-start1 reaction
- Nov 24, 2026feat(langchain): add Modal chat model provider — langchain-ai/langchain0 reactions · 1 comment
- Nov 24, 2026[integration]: ChatModal (pending chat-model release) — langchain-ai/docs0 reactions
- Nov 23, 2026chore(deps): bump deepagents from 0.5.0 to 0.7.41 — Vela3202019/promptloop0 reactions
- Nov 23, 2026chore(deps)(deps): bump deepagents from 0.7.39 to 0.7.41 in /langchain-agents/deep-agents/hackflow-agent — fetchai/innovation-lab-examples0 reactions
- Nov 22, 2026build(deps): bump the python-minor-and-patch group across 1 directory with 3 updates — vietsosad/Medical_AI_Agent0 reactions
- Nov 20, 2026build(deps): bump deepagents from 0.7.32 to 0.7.39 in /04-langchain-upstage-deepagents/src — jyje/pilot-upstage-solar-open20 reactions
- Nov 19, 2026chore(deps): Bump deepagents from 0.7.38 to 0.7.39 — srtab/daiv0 reactions
- Nov 19, 2026FilesystemBackend.grep searches siblings when a file path uses the fallback — langchain-ai/deepagentsjs0 reactions · 3 comments
- Nov 19, 2026Follow up deepagents-cli upstream updates: PreToolUse onError: deny (0.2.11) not emitted from failClosed — dyoshikawa/rulesync0 reactions
- Nov 19, 2026chore(deps): bump deepagents from 0.7.19 to 0.7.38 — CopperPilot/copper-pilot-cli0 reactions
- Nov 12, 2026Native remote-agent delegation using LangChain subagents — caipe-io/ai-platform-engineering0 reactions · 1 comment
- Nov 5, 2026R&D: Deep Agents compatibility harness for Systemia / Work Saban — jgaethle10/forge-operator0 reactions · 2 comments
- Nov 3, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.39 — BhaskaraRao-Aerupilli/InquireX0 reactions
- Oct 30, 2026[deepagents]: repository architecture guide describes opt-in todo management as a default capability[deepagents]: <Please write a comprehensive title> — langchain-ai/docs0 reactions · 2 comments
- Oct 28, 2026build(deps): bump deepagents from 0.7.21 to 0.7.32 in /backend — knqiufan/AIIntelBureau0 reactions
- Oct 28, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.32 — lijy-forge/PaperGuide-Agent0 reactions
- Oct 28, 2026langchain-openrouter: support OAuth PKCE authentication — langchain-ai/langchain0 reactions
- Oct 26, 2026[Feature] Sub Agent 派生与 Agent 能力分档 — Code-MonkeyZhang/persona-agent0 reactions
- Oct 21, 2026Structured ask-the-user tool for mid-run clarification in interactive agent — SWE-agent/mini-swe-agent0 reactions · 1 comment
- Oct 21, 2026Follow up deepagents-cli upstream updates: canonical MCP oauth block now gets servers skipped (Slack custom OAuth app, 0.1.87) — dyoshikawa/rulesync0 reactions
- Oct 16, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.24 — umbc-seng691-team/SENG-691-gpt-researcher0 reactions
- Oct 9, 2026README documents a nonexistent dcode marketplace update command — langchain-ai/langchain-plugins0 reactions
- Oct 3, 2026[Add] Deep Agents (langchain-ai/deepagents) — PyTorchKR/landscape0 reactions
- Oct 2, 2026Bump: Bump deepagents from 0.7.15 to 0.7.19 — objones25/my-agent0 reactions
- Oct 1, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.19 — huxleylee329-dancer/wenxianzongshu_research0 reactions
- Sep 30, 2026chore(deps): bump deepagents from 0.6.12 to 0.7.19 — jbsoftware-io/gen-ai-starter0 reactions · 1 comment
- Sep 26, 2026build(deps): update deepagents requirement from ~=0.7.9 to ~=0.7.18 in /backend — Nisarg6502/f1-hub0 reactions
- Sep 25, 2026chore(deps-dev): bump deepagents from 0.7.13 to 0.7.28 — PrayforH/KAI0 reactions · 1 comment
- Sep 24, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.15 — 2033-horizon/reasearch0 reactions
- Sep 22, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.15 — ZimaAI/pharma-scope0 reactions
- Sep 21, 2026chore(deps): bump deepagents from 0.7.13 to 0.7.22 — TekkenSteve/fastapi_langgraph_template0 reactions
- Sep 20, 2026Update deepagents requirement from >=0.6 to >=0.7.15 — vinod1rai249-max/gpt-research0 reactions
- Sep 18, 2026langgraph dev Studio UI 연동 실패 - Windows Chrome PNA 정책으로 시도 중단 — DahaeKimEsther/book_chatbot_manual0 reactions · 1 comment
- Sep 17, 2026Update deepagents requirement from >=0.6 to >=0.7.14 — lyy00702/traceable-deep-research-agent0 reactions
- Sep 12, 2026Update deepagents requirement from >=0.6 to >=0.7.13 — KarimAbdelkader-code/gpt-researcher0 reactions
- Sep 12, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.13 — Fateorcloud/DeepResearch-KB0 reactions
- Sep 8, 2026ci(deps): bump deepagents from 0.6.12 to 0.7.13 — spark-match/spark-match-07-deep-agent0 reactions · 1 comment
- Sep 7, 2026Update deepagents requirement from >=0.6 to >=0.7.13 — girishlade111/gpt-researcher0 reactions
On Bluesky · 10
- Apr 4, 2026Deep Agents is an open source project from LangChain to let anybody build their own model-agnostic agent harness (tools like Claude Code or… — @catalyst.coop12 likes and reposts · 7 replies
- Mar 22, 2026LangChain's DeepAgents gives you a production-ready AI agent in 3 lines of code - complete with planning, file ops, shell access, and… — @arifsolmaz.bsky.social4 likes and reposts
- Mar 19, 2026github.com/langchain-ai/de... GitHub - langchain-ai/deepagents: Agent harness built with LangChain and LangGraph. Equipped wit... — @technews4869.bsky.social3 likes and reposts
- Oct 31, 2025New Code Agent from LangChain - Deep Agents github.com/langchain-ai... #ai #llm #datascience — @ramikrispin.bsky.social3 likes and reposts
- Mar 25, 2026LangChain vient d'open-sourcer Deep Agents : un framework MIT qui réplique le fonctionnement de Claude Code. Agent prêt à l'emploi avec… — @camilleroux.com2 likes and reposts
5 more on Bluesky
- Mar 17, 2026今日のGitHubトレンド langchain-ai/deepagents Deep Agentsは、すぐに利用できるエージェントフレームワークです。 プロンプト、ツール、コンテキスト管理の初期設定を省略し、すぐにカスタマイズ可能なエージェントを構築できます。… — @dailygithubtrends.bsky.social2 likes and reposts
- Mar 16, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 langchain-ai / deepagents ⭐ 12,130 (+444) 🗒 Python Agent harness built with LangChain and… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Nov 12, 2025langchain-ai / deepagents https://github.com/langchain-ai/deepagents — @pythonhub.dev2 likes and reposts
- Jul 3, 2026LangChain's open source "batteries included" harness for building agents with planning, subagent delegation, and long running task loops… — @bestofhn.bsky.social1 likes and repost
- Mar 24, 2026https://github.com/langchain-ai/deepagents — @tom-doerr.bsky.social1 likes and repost
On Hacker News · 2
- Jul 3, 2026Deepagents3 points · 1 comment
- Aug 27, 2026LangChain-AI/deepagents: agent harness1 point
Used with
Projects with it also use context7-efficient, skill-share and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
hfzarslanSkillcontext7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
Also in 5 projects that use this
ArogyaReddySkillskill-share
A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.
Also in 20 projects that use this
bkootazSkillartifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Also in 39 projects that use this
seedprodSkillgoplaces
Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.
Also in 5 projects that use this
seedprodSkillthings-mac
Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks OpenClaw to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.
Also in 5 projects that use this
JetBrainsSkillslack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.
Also in 93 projects that use this
- +1 more from seedprod
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 87
- google-gemini/gemini-cli★ 107k64% same
- ComposioHQ/awesome-claude-skills★ 77k67% same
- zhayujie/CowAgent★ 47k32% same
- anthropics/financial-services★ 39k79% same
- openai/skills★ 28k74% same
- vercel-labs/json-render★ 18k79% same
- composio-community/awesome-codex-skills★ 17k74% same
- SynkraAI/aiox-core★ 3.1k67% same
- MaxMiksa/Auto-Company★ 3.1k77% same
- RKiding/Awesome-finance-skills★ 3.1k74% same
77 more not listed
Wrote their own version · 102
- anthropics/skills★ 199ksame name
- openai/codex★ 128ksame name
- bytedance/deer-flow★ 83ksame name
- anthropics/claude-plugins-official★ 37ksame name
- getsentry/sentry-javascript★ 8.8ksame name
- mistralai/mistral-vibe★ 5ksame name
- microsoft/skills★ 3.1ksame name
- HughYau/AcademicForge★ 2.6ksame name
- mgechev/skills-best-practices★ 2.3ksame name
- feiskyer/claude-code-settings★ 1.7ksame name
92 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- examples/content-builder-agent/AGENTS.mdAGENTS.md
- examples/deploy-coding-agent/AGENTS.mdAGENTS.md
- examples/deploy-content-writer/AGENTS.mdAGENTS.md
- examples/deploy-content-writer/user/AGENTS.mdAGENTS.md
- examples/deploy-gtm-agent/AGENTS.mdAGENTS.md
- examples/deploy-gtm-agent/subagents/market-researcher/AGENTS.mdAGENTS.md
- examples/deploy-mcp-docs-agent/AGENTS.mdAGENTS.md
- examples/nvidia_deep_agent/src/AGENTS.mdAGENTS.md
- examples/talon/AGENTS.mdAGENTS.md
- examples/text-to-sql-agent/AGENTS.mdAGENTS.md
- libs/code/AGENTS.mdAGENTS.md
- libs/evals/AGENTS.mdAGENTS.md
- libs/partners/AGENTS.mdAGENTS.md
- libs/talon/deepagents_talon/defaults/agents/external-research/AGENTS.mdAGENTS.md
- libs/talon/deepagents_talon/defaults/agents/internal-research/AGENTS.mdAGENTS.md
- libs/talon/deepagents_talon/defaults/AGENTS.mdAGENTS.md
- textual-screenshotSkill
- blog-postSkill
- social-mediaSkill
- code-reviewSkill
- coding-prefsSkill
- planningSkill
- blog-postSkill
- social-mediaSkill
- competitor-analysisSkill
- analyze-marketSkill
- cudf-analyticsSkill
- cuml-machine-learningSkill
- data-visualizationSkill
- gpu-document-processingSkill
- query-writingSkill
- schema-explorationSkill
- deepagents-thread-inspectorSkill
- rememberSkill
- arxiv-searchSkill
- langgraph-docsSkill
- skill-creatorSkill
- web-researchSkill
- configuration-hardeningSkill
- safetySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. 0 are common, 16 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 180 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
Default assumption: The agent is already very capable: Only add context the agent doesn't already have.
- Distinctive: line 46
Prefer concise examples over verbose explanations.
- Distinctive: line 52
High freedom (text-based instructions): Use when multiple approaches are valid, decisions depend on context, or heuristics guide the …
- Distinctive: line 54
Medium freedom (pseudocode or scripts with parameters): Use when a preferred pattern exists, some variation is acceptable, or configuration …
- Distinctive: line 56
Low freedom (specific scripts, few parameters): Use when operations are fragile and error-prone, consistency is critical, or a specific …
- Very specific: line 62
Every skill consists of a required SKILL.md file and optional bundled resources:
- Very specific: line 79
Every SKILL.md consists of:
- Distinctive: line 90
When to include: When the same code is being rewritten repeatedly or deterministic reliability is needed
- Very specific: line 103
Best practice: If files are large (>10k words), include search patterns in SKILL.md
- Distinctive: line 110
When to include: When the skill needs files that will be used in the final output
- Distinctive: line 131
Metadata (name + description): - Always in context (~100 words)
- Very specific: line 132
SKILL.md body: - When skill triggers (<5k words)
- Very specific: line 139
Key principle: When a skill supports multiple variations, frameworks, or options, keep only the core workflow and selection guidance in …
- Distinctive: line 174
When a user asks about sales metrics, the agent only reads sales.md.
- Distinctive: line 187
When the user chooses AWS, the agent only reads aws.md.
- Very specific: line 212
Avoid deeply nested references: - Keep references one level deep from SKILL.md.
- Distinctive: line 226
Follow these steps in order, skipping only if there is a clear reason why they are not applicable.
- Very specific: line 279
When creating a new skill from scratch, run the init_skill.py script.
- Very specific: line 304
After initialization, customize or remove the generated SKILL.md and example files as needed.
- Very specific: line 318
Use init_skill.py when the skill will include bundled resources (scripts/, references/, assets/).
- Distinctive: line 338
Writing Guidelines: Always use imperative/infinitive form.
- Very specific: line 342
Write the YAML frontmatter with name and description:
- Distinctive: line 354
Write instructions for using the skill and its bundled resources.
- Distinctive: line 372
If validation fails, fix the reported errors and run the validation command again.
- Distinctive: line 376
After testing the skill, users may request improvements.
- Distinctive: line 380
Use the skill on real tasks
“Common” is measured: kept by at least 6 in 10 of the 180 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Creator
Skill Location for Deep Agents Code
Deep Agents Code loads skills from five sources, listed here from lowest to highest precedence:
| # | Directory | Scope | Notes |
| 0 | <package>/built_in_skills/ | Built-in | Ships with Deep Agents Code |
| 1 | $DEEPAGENTS_HOME/<agent>/skills/ | User (deepagents alias) | Default for dcode skills create |
| 2 | ~/.agents/skills/ | User | Shared across agent tools |
| 3 | .deepagents/skills/ | Project (deepagents alias) | Default for dcode skills create --project |
| 4 | .agents/skills/ | Project | Shared across agent tools |
<agent> is the agent configuration name (default: agent). When two directories contain a skill with the same name, the higher-precedence version wins — project skills override user skills, and any user or project skill overrides built-in skills.
Example directory layout:
$DEEPAGENTS_HOME/agent/skills/ # user skills (lowest precedence)
├── skill-name-1/
│ └── SKILL.md
└── ...
<project-root>/.deepagents/skills/ # project skills (higher precedence)
├── skill-name-2/
│ └── SKILL.md
└── ...Core Principles
Concise is Key
The context window is a public good. Skills share the context window with everything else the agent needs: system prompt, conversation history, other Skills' metadata, and the actual user request.
Default assumption: The agent is already very capable. Only add context the agent doesn't already have. Challenge each piece of information: "Does the agent really need this explanation?" and "Does this paragraph justify its token cost?"
Prefer concise examples over verbose explanations.
Set Appropriate Degrees of Freedom
Match the level of specificity to the task's fragility and variability:
High freedom (text-based instructions): Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.
Medium freedom (pseudocode or scripts with parameters): Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.
Low freedom (specific scripts, few parameters): Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
Think of the agent as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).
Anatomy of a Skill
Every skill consists of a required SKILL.md file and optional bundled resources:
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter metadata (required)
│ │ ├── name: (required)
│ │ └── description: (required)
│ └── Markdown instructions (required)
└── Bundled Resources (optional)
├── scripts/ - Executable code (Python/Bash/etc.)
├── references/ - Documentation intended to be loaded into context as needed
└── assets/ - Files used in output (templates, icons, fonts, etc.)SKILL.md (required)
Every SKILL.md consists of:
- Frontmatter (YAML): Contains
nameanddescriptionfields. These are the only fields that the agent reads to determine when the skill gets used, thus it is very important to be clear and comprehensive in describing what the skill is, and when it should be used. - Body (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).
Bundled Resources (optional)
Scripts (scripts/)
Executable code (Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.
- When to include: When the same code is being rewritten repeatedly or deterministic reliability is needed
- Example:
scripts/rotate_pdf.pyfor PDF rotation tasks - Benefits: Token efficient, deterministic, may be executed without loading into context
- Note: Scripts may still need to be read by the agent for patching or environment-specific adjustments
References (references/)
Documentation and reference material intended to be loaded as needed into context to inform the agent's process and thinking.
- When to include: For documentation that the agent should reference while working
- Examples:
references/finance.mdfor financial schemas,references/mnda.mdfor company NDA template,references/policies.mdfor company policies,references/api_docs.mdfor API specifications - Use cases: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
- Benefits: Keeps SKILL.md lean, loaded only when the agent determines it's needed
- Best practice: If files are large (>10k words), include search patterns in SKILL.md
- Avoid duplication: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skill—this keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.
Assets (assets/)
Files not intended to be loaded into context, but rather used within the output the agent produces.
- When to include: When the skill needs files that will be used in the final output
- Examples:
assets/logo.pngfor brand assets,assets/slides.pptxfor PowerPoint templates,assets/frontend-template/for HTML/React boilerplate,assets/font.ttffor typography - Use cases: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified
- Benefits: Separates output resources from documentation, enables the agent to use files without loading them into context
What to Not Include in a Skill
A skill should only contain essential files that directly support its functionality. Do NOT create extraneous documentation or auxiliary files, including:
- README.md
- INSTALLATION_GUIDE.md
- QUICK_REFERENCE.md
- CHANGELOG.md
- etc.
The skill should only contain the information needed for an AI agent to do the job at hand. It should not contain auxiliary context about the process that went into creating it, setup and testing procedures, user-facing documentation, etc. Creating additional documentation files just adds clutter and confusion.
Progressive Disclosure Design Principle
Skills use a three-level loading system to manage context efficiently:
- Metadata (name + description) - Always in context (~100 words)
- SKILL.md body - When skill triggers (<5k words)
- Bundled resources - As needed by the agent (Unlimited because scripts can be executed without reading into context window)
Progressive Disclosure Patterns
Keep SKILL.md body to the essentials and under 500 lines to minimize context bloat. SKILL.md files exceeding 10 MB are silently skipped by the agent runtime. Split content into separate files when approaching the line limit. When splitting out content into other files, it is very important to reference them from SKILL.md and describe clearly when to read them, to ensure the reader of the skill knows they exist and when to use them.
Key principle: When a skill supports multiple variations, frameworks, or options, keep only the core workflow and selection guidance in SKILL.md. Move variant-specific details (patterns, examples, configuration) into separate reference files.
Pattern 1: High-level guide with references
# PDF Processing
## Quick start
Extract text with pdfplumber:
[code example]
## Advanced features
- **Form filling**: See [FORMS.md](FORMS.md) for complete guide
- **API reference**: See [REFERENCE.md](REFERENCE.md) for all methods
- **Examples**: See [EXAMPLES.md](EXAMPLES.md) for common patternsThe agent loads FORMS.md, REFERENCE.md, or EXAMPLES.md only when needed.
Pattern 2: Domain-specific organization
For Skills with multiple domains, organize content by domain to avoid loading irrelevant context:
bigquery-skill/
├── SKILL.md (overview and navigation)
└── reference/
├── finance.md (revenue, billing metrics)
├── sales.md (opportunities, pipeline)
├── product.md (API usage, features)
└── marketing.md (campaigns, attribution)When a user asks about sales metrics, the agent only reads sales.md.
Similarly, for skills supporting multiple frameworks or variants, organize by variant:
cloud-deploy/
├── SKILL.md (workflow + provider selection)
└── references/
├── aws.md (AWS deployment patterns)
├── gcp.md (GCP deployment patterns)
└── azure.md (Azure deployment patterns)When the user chooses AWS, the agent only reads aws.md.
Pattern 3: Conditional details
Show basic content, link to advanced content:
# DOCX Processing
## Creating documents
Use docx-js for new documents. See [DOCX-JS.md](DOCX-JS.md).
## Editing documents
For simple edits, modify the XML directly.
**For tracked changes**: See [REDLINING.md](REDLINING.md)
**For OOXML details**: See [OOXML.md](OOXML.md)The agent reads REDLINING.md or OOXML.md only when the user needs those features.
Important guidelines:
- Avoid deeply nested references - Keep references one level deep from SKILL.md. All reference files should link directly from SKILL.md.
- Structure longer reference files - For files longer than 100 lines, include a table of contents at the top so the agent can see the full scope when previewing.
Skill Creation Process
Skill creation involves these steps:
- Understand the skill with concrete examples
- Plan reusable skill contents (scripts, references, assets)
- Initialize the skill (run init_skill.py)
- Edit the skill (implement resources and write SKILL.md)
- Validate the skill (run quick_validate.py)
- Iterate based on real usage
Follow these steps in order, skipping only if there is a clear reason why they are not applicable.
Step 1: Understanding the Skill with Concrete Examples
Skip this step only when the skill's usage patterns are already clearly understood. It remains valuable even when working with an existing skill.
To create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.
For example, when building an image-editor skill, relevant questions include:
- "What functionality should the image-editor skill support? Editing, rotating, anything else?"
- "Can you give some examples of how this skill would be used?"
- "I can imagine users asking for things like 'Remove the red-eye from this image' or 'Rotate this image'. Are there other ways you imagine this skill being used?"
- "What would a user say that should trigger this skill?"
To avoid overwhelming users, avoid asking too many questions in a single message. Start with the most important questions and follow up as needed for better effectiveness.
Conclude this step when there is a clear sense of the functionality the skill should support.
Step 2: Planning the Reusable Skill Contents
To turn concrete examples into an effective skill, analyze each example by:
- Considering how to execute on the example from scratch
- Identifying what scripts, references, and assets would be helpful when executing these workflows repeatedly
Example: When building a pdf-editor skill to handle queries like "Help me rotate this PDF," the analysis shows:
- Rotating a PDF requires re-writing the same code each time
- A
scripts/rotate_pdf.pyscript would be helpful to store in the skill
Example: When designing a frontend-webapp-builder skill for queries like "Build me a todo app" or "Build me a dashboard to track my steps," the analysis shows:
- Writing a frontend webapp requires the same boilerplate HTML/React each time
- An
assets/hello-world/template containing the boilerplate HTML/React project files would be helpful to store in the skill
Example: When building a big-query skill to handle queries like "How many users have logged in today?" the analysis shows:
- Querying BigQuery requires re-discovering the table schemas and relationships each time
- A
references/schema.mdfile documenting the table schemas would be helpful to store in the skill
To establish the skill's contents, analyze each concrete example to create a list of the reusable resources to include: scripts, references, and assets.
Step 3: Initializing the Skill
At this point, it is time to actually create the skill.
Skip this step only if the skill being developed already exists, and iteration or packaging is needed. In this case, continue to the next step.
There are two ways to create a new skill:
Option A: init_skill.py (recommended for rich skills)
When creating a new skill from scratch, run the init_skill.py script. The script generates a new template skill directory that automatically includes everything a skill requires, making the skill creation process much more efficient and reliable.
Usage:
scripts/init_skill.py <skill-name> --path <output-directory>For Deep Agents Code, use any of the skill directories listed in "Skill Location for Deep Agents Code" above:
# User skills (default)
scripts/init_skill.py <skill-name> --path "${DEEPAGENTS_HOME:-$HOME/.deepagents}/agent/skills"
# Project skills
scripts/init_skill.py <skill-name> --path .deepagents/skillsThe script:
- Creates the skill directory at the specified path
- Generates a SKILL.md template with proper frontmatter and TODO placeholders
- Creates example resource directories:
scripts/,references/, andassets/ - Adds example files in each directory that can be customized or deleted
After initialization, customize or remove the generated SKILL.md and example files as needed.
Option B: dcode skills create (quick start)
The built-in CLI command creates a minimal skill with just a SKILL.md template — no resource directories. Use this for simple skills that only need instructions and no bundled scripts, references, or assets.
# Create in user skills directory
dcode skills create <skill-name>
# Create in project skills directory
dcode skills create <skill-name> --projectUse init_skill.py when the skill will include bundled resources (scripts/, references/, assets/). Use dcode skills create for a quick, minimal starting point.
Step 4: Edit the Skill
When editing the (newly-generated or existing) skill, remember that the skill is being created for an agent to use. Include information that would be beneficial and non-obvious to the agent. Consider what procedural knowledge, domain-specific details, or reusable assets would help the agent execute these tasks more effectively.
Learn Proven Design Patterns
Refer to the "Progressive Disclosure Design Principle" and "Core Principles" sections above for established patterns around sequential workflows, conditional logic, and output formatting.
Start with Reusable Skill Contents
To begin implementation, start with the reusable resources identified above: scripts/, references/, and assets/ files. Note that this step may require user input. For example, when implementing a brand-guidelines skill, the user may need to provide brand assets or templates to store in assets/, or documentation to store in references/.
Added scripts must be tested by actually running them to ensure there are no bugs and that the output matches what is expected. If there are many similar scripts, only a representative sample needs to be tested to ensure confidence that they all work while balancing time to completion.
Any example files and directories not needed for the skill should be deleted. The initialization script creates example files in scripts/, references/, and assets/ to demonstrate structure, but most skills won't need all of them.
Update SKILL.md
Writing Guidelines: Always use imperative/infinitive form.
Frontmatter
Write the YAML frontmatter with name and description:
name: The skill namedescription: This is the primary triggering mechanism for your skill, and helps the agent understand when to use the skill.- Include both what the Skill does and specific triggers/contexts for when to use it.
- Include all "when to use" information here - Not in the body. The body is only loaded after triggering, so "When to Use This Skill" sections in the body are not helpful to the agent.
- Example description for a
docxskill: "Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. Use when working with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks"
The only other allowed fields in YAML frontmatter are optional properties per the Agent Skills spec: license, compatibility, allowed-tools, and metadata. Do not include any fields beyond these.
Body
Write instructions for using the skill and its bundled resources.
Step 5: Validate the Skill
Once development of the skill is complete, validate it to ensure it meets all requirements:
scripts/quick_validate.py <path/to/skill-folder>The validation script checks:
- YAML frontmatter format and required fields
- Skill naming conventions (Unicode lowercase alphanumeric with hyphens, max 64 characters)
- Description completeness (no angle brackets, max 1024 characters)
- Required fields:
nameanddescription - Allowed frontmatter properties only:
name,description,license,compatibility,allowed-tools,metadata
If validation fails, fix the reported errors and run the validation command again.
Step 6: Iterate
After testing the skill, users may request improvements. Often this happens right after using the skill, with fresh context of how the skill performed.
Iteration workflow:
- Use the skill on real tasks
- Notice struggles or inefficiencies
- Identify how SKILL.md or bundled resources should be updated
- Implement changes and test again
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

