[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C575MNDVQR0GG49YM80RJ2":3,"skill-same:01M6C575MNDVQR0GG49YM80RJ2":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":15,"repositoryHtmlUrl":45,"repositoryHomepageUrl":17,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":17,"updatedAt":48,"install":49,"resources":62},"01M6C575MNDVQR0GG49YM80RJ2","deep-agents-core","Deep Agents 核心开发","INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.","在构建任何 Deep Agents 应用时调用此技能。涵盖 create_deep_agent()、harness 架构、SKILL.md 格式以及配置选项。","CoralShades\u002Facm-ai","CoralShades","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F220297585?v=4","01M6C5211QSJHZ8HXSDDWCR507","Coral Shades AI Agency","01M6C52161FNQDRQ0FRR8DAA9D",0,"MIT",null,"https:\u002F\u002Fgithub.com\u002FCoralShades\u002Facm-ai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdeep-agents-core\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[31,32,33,34,35,36],"core","deep agents core","architecture","create","harness","format","2026-11-10 10:12:30",false,"---\nname: deep-agents-core\ndescription: \"INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.\"\n---\n\n\u003Coverview>\nDeep Agents are an opinionated agent framework built on LangChain\u002FLangGraph with built-in middleware:\n\n- **Task Planning**: TodoListMiddleware for breaking down complex tasks\n- **Context Management**: Filesystem tools with pluggable backends\n- **Task Delegation**: SubAgent middleware for spawning specialized agents\n- **Long-term Memory**: Persistent storage across threads via Store\n- **Human-in-the-loop**: Approval workflows for sensitive operations\n- **Skills**: On-demand loading of specialized capabilities\n\nThe agent harness provides these capabilities automatically - you configure, not implement.\n\u003C\u002Foverview>\n\n\u003Cwhen-to-use>\n\n| Use Deep Agents When | Use LangChain's create_agent When |\n|---------------------|-----------------------------------|\n| Multi-step tasks requiring planning | Simple, single-purpose tasks |\n| Large context requiring file management | Context fits in a single prompt |\n| Need for specialized subagents | Single agent is sufficient |\n| Persistent memory across sessions | Ephemeral, single-session work |\n\n\u003C\u002Fwhen-to-use>\n\n\u003Cmiddleware-selection>\n\n| If you need to... | Middleware | Notes |\n|------------------|------------|-------|\n| Track complex tasks | TodoListMiddleware | Default enabled |\n| Manage file context | FilesystemMiddleware | Configure backend |\n| Delegate work | SubAgentMiddleware | Add custom subagents |\n| Add human approval | HumanInTheLoopMiddleware | Requires checkpointer |\n| Load skills | SkillsMiddleware | Provide skill directories |\n| Access memory | MemoryMiddleware | Requires Store instance |\n\n\u003C\u002Fmiddleware-selection>\n\n\u003Cex-basic-agent>\n\u003Cpython>\nCreate a basic deep agent with a custom tool and invoke it with a user message.\n```python\nfrom deepagents import create_deep_agent\nfrom langchain.tools import tool\n\n@tool\ndef get_weather(city: str) -> str:\n    \"\"\"Get the weather for a given city.\"\"\"\n    return f\"It is always sunny in {city}\"\n\nagent = create_deep_agent(\n    model=\"claude-sonnet-4-5-20250929\",\n    tools=[get_weather],\n    system_prompt=\"You are a helpful assistant\"\n)\n\nconfig = {\"configurable\": {\"thread_id\": \"user-123\"}}\nresult = agent.invoke({\n    \"messages\": [{\"role\": \"user\", \"content\": \"What's the weather in Tokyo?\"}]\n}, config=config)\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nCreate a basic deep agent with a custom tool and invoke it with a user message.\n```typescript\nimport { createDeepAgent } from \"deepagents\";\nimport { tool } from \"@langchain\u002Fcore\u002Ftools\";\nimport { z } from \"zod\";\n\nconst getWeather = tool(\n  async ({ city }) => `It is always sunny in ${city}`,\n  { name: \"get_weather\", description: \"Get weather for a city\", schema: z.object({ city: z.string() }) }\n);\n\nconst agent = await createDeepAgent({\n  model: \"claude-sonnet-4-5-20250929\",\n  tools: [getWeather],\n  systemPrompt: \"You are a helpful assistant\"\n});\n\nconst config = { configurable: { thread_id: \"user-123\" } };\nconst result = await agent.invoke({\n  messages: [{ role: \"user\", content: \"What's the weather in Tokyo?\" }]\n}, config);\n```\n\u003C\u002Ftypescript>\n\u003C\u002Fex-basic-agent>\n\n\u003Cex-full-configuration>\n\u003Cpython>\nConfigure a deep agent with all available options including subagents, skills, and persistence.\n```python\nfrom deepagents import create_deep_agent\nfrom deepagents.backends import FilesystemBackend\nfrom langgraph.checkpoint.memory import MemorySaver\nfrom langgraph.store.memory import InMemoryStore\n\nagent = create_deep_agent(\n    name=\"my-assistant\",\n    model=\"claude-sonnet-4-5-20250929\",\n    tools=[custom_tool1, custom_tool2],\n    system_prompt=\"Custom instructions\",\n    subagents=[research_agent, code_agent],\n    backend=FilesystemBackend(root_dir=\".\", virtual_mode=True),\n    interrupt_on={\"write_file\": True},\n    skills=[\".\u002Fskills\u002F\"],\n    checkpointer=MemorySaver(),\n    store=InMemoryStore()\n)\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nConfigure a deep agent with all available options including subagents, skills, and persistence.\n```typescript\nimport { createDeepAgent, FilesystemBackend } from \"deepagents\";\nimport { MemorySaver, InMemoryStore } from \"@langchain\u002Flanggraph\";\n\nconst agent = await createDeepAgent({\n  name: \"my-assistant\",\n  model: \"claude-sonnet-4-5-20250929\",\n  tools: [customTool1, customTool2],\n  systemPrompt: \"Custom instructions\",\n  subagents: [researchAgent, codeAgent],\n  backend: new FilesystemBackend({ rootDir: \".\", virtualMode: true }),\n  interruptOn: { write_file: true },\n  skills: [\".\u002Fskills\u002F\"],\n  checkpointer: new MemorySaver(),\n  store: new InMemoryStore()\n});\n```\n\u003C\u002Ftypescript>\n\u003C\u002Fex-full-configuration>\n\n\u003Cbuilt-in-tools>\nEvery deep agent has access to:\n\n1. **Planning**: `write_todos` - Track multi-step tasks\n2. **Filesystem**: `ls`, `read_file`, `write_file`, `edit_file`, `glob`, `grep`\n3. **Delegation**: `task` - Spawn specialized subagents\n\u003C\u002Fbuilt-in-tools>\n\n---\n\n## SKILL.md Format\n\n\u003Cskill-md-format>\nSkills use **progressive disclosure** - agents only load content when relevant.\n\n### Directory Structure\n```\nskills\u002F\n└── my-skill\u002F\n    ├── SKILL.md        # Required: main skill file\n    ├── examples.py     # Optional: supporting files\n    └── templates\u002F      # Optional: templates\n```\n\n### SKILL.md Format\n```markdown\n---\nname: my-skill\ndescription: Clear, specific description of what this skill does\n---\n\n# Skill Name\n\n## Overview\nBrief explanation of the skill's purpose.\n\n## When to Use\nConditions when this skill applies.\n\n## Instructions\nStep-by-step guidance for the agent.\n```\n\u003C\u002Fskill-md-format>\n\n\u003Cskills-vs-memory>\n\n| Skills | Memory (AGENTS.md) |\n|--------|-------------------|\n| On-demand loading | Always loaded at startup |\n| Task-specific instructions | General preferences |\n| Large documentation | Compact context |\n| SKILL.md in directories | Single AGENTS.md file |\n\n\u003C\u002Fskills-vs-memory>\n\n\u003Cex-skills-with-filesystem-backend>\n\u003Cpython>\nSet up an agent with skills directory and filesystem backend for on-demand skill loading.\n```python\nfrom deepagents import create_deep_agent\nfrom deepagents.backends import FilesystemBackend\nfrom langgraph.checkpoint.memory import MemorySaver\n\nagent = create_deep_agent(\n    backend=FilesystemBackend(root_dir=\".\", virtual_mode=True),\n    skills=[\".\u002Fskills\u002F\"],\n    checkpointer=MemorySaver()\n)\n\nresult = agent.invoke({\n    \"messages\": [{\"role\": \"user\", \"content\": \"Use the python-testing skill\"}]\n}, config={\"configurable\": {\"thread_id\": \"session-1\"}})\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nSet up an agent with skills directory and filesystem backend for on-demand skill loading.\n```typescript\nimport { createDeepAgent, FilesystemBackend } from \"deepagents\";\nimport { MemorySaver } from \"@langchain\u002Flanggraph\";\n\nconst agent = await createDeepAgent({\n  backend: new FilesystemBackend({ rootDir: \".\", virtualMode: true }),\n  skills: [\".\u002Fskills\u002F\"],\n  checkpointer: new MemorySaver()\n});\n\nconst result = await agent.invoke({\n  messages: [{ role: \"user\", content: \"Use the python-testing skill\" }]\n}, { configurable: { thread_id: \"session-1\" } });\n```\n\u003C\u002Ftypescript>\n\u003C\u002Fex-skills-with-filesystem-backend>\n\n\u003Cex-skills-with-store-backend>\n\u003Cpython>\nLoad skill content into a Store backend for environments without filesystem access.\n```python\nfrom deepagents import create_deep_agent\nfrom deepagents.backends import StoreBackend\nfrom deepagents.backends.utils import create_file_data\nfrom langgraph.store.memory import InMemoryStore\n\nstore = InMemoryStore()\n\n# Load skill content into store\nskill_content = \"\"\"---\nname: python-testing\ndescription: Best practices for Python testing with pytest\n---\n# Python Testing Skill\n...\"\"\"\n\nstore.put(\n    namespace=(\"filesystem\",),\n    key=\"\u002Fskills\u002Fpython-testing\u002FSKILL.md\",\n    value=create_file_data(skill_content)\n)\n\nagent = create_deep_agent(\n    backend=lambda rt: StoreBackend(rt),\n    store=store,\n    skills=[\"\u002Fskills\u002F\"]\n)\n```\n\u003C\u002Fpython>\n\u003C\u002Fex-skills-with-store-backend>\n\n\u003Cboundaries>\n### What Agents CAN Configure\n\n- Model selection and parameters\n- Additional custom tools\n- System prompt customization\n- Backend storage strategy\n- Which tools require approval\n- Custom subagents with specialized tools\n\n### What Agents CANNOT Configure\n\n- Core middleware removal (TodoList, Filesystem, SubAgent always present)\n- The write_todos, task, or filesystem tool names\n- The SKILL.md frontmatter format\n\u003C\u002Fboundaries>\n\n\u003Cfix-checkpointer-for-interrupts>\n\u003Cpython>\nInterrupts require a checkpointer.\n```python\n# WRONG\nagent = create_deep_agent(interrupt_on={\"write_file\": True})\n\n# CORRECT\nagent = create_deep_agent(interrupt_on={\"write_file\": True}, checkpointer=MemorySaver())\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nInterrupts require a checkpointer.\n```typescript\n\u002F\u002F WRONG\nconst agent = await createDeepAgent({ interruptOn: { write_file: true } });\n\n\u002F\u002F CORRECT\nconst agent = await createDeepAgent({ interruptOn: { write_file: true }, checkpointer: new MemorySaver() });\n```\n\u003C\u002Ftypescript>\n\u003C\u002Ffix-checkpointer-for-interrupts>\n\n\u003Cfix-store-for-memory>\n\u003Cpython>\nStoreBackend requires a Store instance for persistent memory across threads.\n```python\n# WRONG\nagent = create_deep_agent(backend=lambda rt: StoreBackend(rt))\n\n# CORRECT\nagent = create_deep_agent(backend=lambda rt: StoreBackend(rt), store=InMemoryStore())\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nStoreBackend requires a Store instance for persistent memory across threads.\n```typescript\n\u002F\u002F WRONG\nconst agent = await createDeepAgent({ backend: (config) => new StoreBackend(config) });\n\n\u002F\u002F CORRECT\nconst agent = await createDeepAgent({ backend: (config) => new StoreBackend(config), store: new InMemoryStore() });\n```\n\u003C\u002Ftypescript>\n\u003C\u002Ffix-store-for-memory>\n\n\u003Cfix-thread-id-for-conversations>\n\u003Cpython>\nUse consistent thread_id to maintain conversation context across invocations.\n```python\n# WRONG: Each invocation is isolated\nagent.invoke({\"messages\": [{\"role\": \"user\", \"content\": \"Hi\"}]})\nagent.invoke({\"messages\": [{\"role\": \"user\", \"content\": \"What did I say?\"}]})\n\n# CORRECT\nconfig = {\"configurable\": {\"thread_id\": \"user-123\"}}\nagent.invoke({\"messages\": [...]}, config=config)\nagent.invoke({\"messages\": [...]}, config=config)\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nUse consistent thread_id to maintain conversation context across invocations.\n```typescript\n\u002F\u002F WRONG: Each invocation is isolated\nawait agent.invoke({ messages: [{ role: \"user\", content: \"Hi\" }] });\nawait agent.invoke({ messages: [{ role: \"user\", content: \"What did I say?\" }] });\n\n\u002F\u002F CORRECT\nconst config = { configurable: { thread_id: \"user-123\" } };\nawait agent.invoke({ messages: [...] }, config);\nawait agent.invoke({ messages: [...] }, config);\n```\n\u003C\u002Ftypescript>\n\u003C\u002Ffix-thread-id-for-conversations>\n\n\u003Cfix-frontmatter-required>\n```markdown\n# WRONG: Missing frontmatter in SKILL.md\n# My Skill\nThis is my skill...\n\n# CORRECT: Include YAML frontmatter\n---\nname: my-skill\ndescription: Python testing best practices with pytest fixtures and mocking\n---\n# My Skill\nThis is my skill...\n```\n\u003C\u002Ffix-frontmatter-required>\n\n\u003Cfix-backend-for-skills>\n\u003Cpython>\nSkills require a proper backend to load from the filesystem.\n```python\n# WRONG: Skills won't load without proper backend\nagent = create_deep_agent(skills=[\".\u002Fskills\u002F\"])\n\n# CORRECT: Use FilesystemBackend for local skills\nagent = create_deep_agent(\n    backend=FilesystemBackend(root_dir=\".\", virtual_mode=True),\n    skills=[\".\u002Fskills\u002F\"]\n)\n```\n\u003C\u002Fpython>\n\u003C\u002Ffix-backend-for-skills>\n\n\u003Cfix-specific-skill-descriptions>\nUse specific descriptions to help agents decide when to use a skill.\n```markdown\n# WRONG: Vague description\n---\nname: helper\ndescription: Helpful skill\n---\n\n# CORRECT: Specific description\n---\nname: python-testing\ndescription: Python testing best practices with pytest fixtures, mocking, and async patterns\n---\n```\n\u003C\u002Ffix-specific-skill-descriptions>\n\n\u003Cfix-subagent-skills>\n\u003Cpython>\nSkills are not inherited by subagents - provide them explicitly.\n```python\n# WRONG: Custom subagents don't inherit skills\nagent = create_deep_agent(\n    skills=[\"\u002Fmain-skills\u002F\"],\n    subagents=[{\"name\": \"helper\", ...}]  # No skills\n)\n\n# CORRECT: Provide skills explicitly\nagent = create_deep_agent(\n    skills=[\"\u002Fmain-skills\u002F\"],\n    subagents=[{\"name\": \"helper\", \"skills\": [\"\u002Fhelper-skills\u002F\"], ...}]\n)\n```\n\u003C\u002Fpython>\n\u003C\u002Ffix-subagent-skills>\n","\u003Coverview>\nDeep Agents are an opinionated agent framework built on LangChain\u002FLangGraph with built-in middleware:\n\n- **Task Planning**: TodoListMiddleware for breaking down complex tasks\n- **Context Management**: Filesystem tools with pluggable backends\n- **Task Delegation**: SubAgent middleware for spawning specialized agents\n- **Long-term Memory**: Persistent storage across threads via Store\n- **Human-in-the-loop**: Approval workflows for sensitive operations\n- **Skills**: On-demand loading of specialized capabilities\n\nThe agent harness provides these capabilities automatically - you configure, not implement.\n\u003C\u002Foverview>\n\n\u003Cwhen-to-use>\n\n| Use Deep Agents When | Use LangChain's create_agent When |\n|---------------------|-----------------------------------|\n| Multi-step tasks requiring planning | Simple, single-purpose tasks |\n| Large context requiring file management | Context fits in a single prompt |\n| Need for specialized subagents | Single agent is sufficient |\n| Persistent memory across sessions | Ephemeral, single-session work |\n\n\u003C\u002Fwhen-to-use>\n\n\u003Cmiddleware-selection>\n\n| If you need to... | Middleware | Notes |\n|------------------|------------|-------|\n| Track complex tasks | TodoListMiddleware | Default enabled |\n| Manage file context | FilesystemMiddleware | Configure backend |\n| Delegate work | SubAgentMiddleware | Add custom subagents |\n| Add human approval | HumanInTheLoopMiddleware | Requires checkpointer |\n| Load skills | SkillsMiddleware | Provide skill directories |\n| Access memory | MemoryMiddleware | Requires Store instance |\n\n\u003C\u002Fmiddleware-selection>\n\n\u003Cex-basic-agent>\n\u003Cpython>\nCreate a basic deep agent with a custom tool and invoke it with a user message.\n```python\nfrom deepagents import create_deep_agent\nfrom langchain.tools import tool\n\n@tool\ndef get_weather(city: str) -> str:\n    \"\"\"Get the weather for a given city.\"\"\"\n    return f\"It is always sunny in {city}\"\n\nagent = create_deep_agent(\n    model=\"claude-sonnet-4-5-20250929\",\n    tools=[get_weather],\n    system_prompt=\"You are a helpful assistant\"\n)\n\nconfig = {\"configurable\": {\"thread_id\": \"user-123\"}}\nresult = agent.invoke({\n    \"messages\": [{\"role\": \"user\", \"content\": \"What's the weather in Tokyo?\"}]\n}, config=config)\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nCreate a basic deep agent with a custom tool and invoke it with a user message.\n```typescript\nimport { createDeepAgent } from \"deepagents\";\nimport { tool } from \"@langchain\u002Fcore\u002Ftools\";\nimport { z } from \"zod\";\n\nconst getWeather = tool(\n  async ({ city }) => `It is always sunny in ${city}`,\n  { name: \"get_weather\", description: \"Get weather for a city\", schema: z.object({ city: z.string() }) }\n);\n\nconst agent = await createDeepAgent({\n  model: \"claude-sonnet-4-5-20250929\",\n  tools: [getWeather],\n  systemPrompt: \"You are a helpful assistant\"\n});\n\nconst config = { configurable: { thread_id: \"user-123\" } };\nconst result = await agent.invoke({\n  messages: [{ role: \"user\", content: \"What's the weather in Tokyo?\" }]\n}, config);\n```\n\u003C\u002Ftypescript>\n\u003C\u002Fex-basic-agent>\n\n\u003Cex-full-configuration>\n\u003Cpython>\nConfigure a deep agent with all available options including subagents, skills, and persistence.\n```python\nfrom deepagents import create_deep_agent\nfrom deepagents.backends import FilesystemBackend\nfrom langgraph.checkpoint.memory import MemorySaver\nfrom langgraph.store.memory import InMemoryStore\n\nagent = create_deep_agent(\n    name=\"my-assistant\",\n    model=\"claude-sonnet-4-5-20250929\",\n    tools=[custom_tool1, custom_tool2],\n    system_prompt=\"Custom instructions\",\n    subagents=[research_agent, code_agent],\n    backend=FilesystemBackend(root_dir=\".\", virtual_mode=True),\n    interrupt_on={\"write_file\": True},\n    skills=[\".\u002Fskills\u002F\"],\n    checkpointer=MemorySaver(),\n    store=InMemoryStore()\n)\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nConfigure a deep agent with all available options including subagents, skills, and persistence.\n```typescript\nimport { createDeepAgent, FilesystemBackend } from \"deepagents\";\nimport { MemorySaver, InMemoryStore } from \"@langchain\u002Flanggraph\";\n\nconst agent = await createDeepAgent({\n  name: \"my-assistant\",\n  model: \"claude-sonnet-4-5-20250929\",\n  tools: [customTool1, customTool2],\n  systemPrompt: \"Custom instructions\",\n  subagents: [researchAgent, codeAgent],\n  backend: new FilesystemBackend({ rootDir: \".\", virtualMode: true }),\n  interruptOn: { write_file: true },\n  skills: [\".\u002Fskills\u002F\"],\n  checkpointer: new MemorySaver(),\n  store: new InMemoryStore()\n});\n```\n\u003C\u002Ftypescript>\n\u003C\u002Fex-full-configuration>\n\n\u003Cbuilt-in-tools>\nEvery deep agent has access to:\n\n1. **Planning**: `write_todos` - Track multi-step tasks\n2. **Filesystem**: `ls`, `read_file`, `write_file`, `edit_file`, `glob`, `grep`\n3. **Delegation**: `task` - Spawn specialized subagents\n\u003C\u002Fbuilt-in-tools>\n\n---\n\n## SKILL.md Format\n\n\u003Cskill-md-format>\nSkills use **progressive disclosure** - agents only load content when relevant.\n\n### Directory Structure\n```\nskills\u002F\n└── my-skill\u002F\n    ├── SKILL.md        # Required: main skill file\n    ├── examples.py     # Optional: supporting files\n    └── templates\u002F      # Optional: templates\n```\n\n### SKILL.md Format\n```markdown\n---\nname: my-skill\ndescription: Clear, specific description of what this skill does\n---\n\n# Skill Name\n\n## Overview\nBrief explanation of the skill's purpose.\n\n## When to Use\nConditions when this skill applies.\n\n## Instructions\nStep-by-step guidance for the agent.\n```\n\u003C\u002Fskill-md-format>\n\n\u003Cskills-vs-memory>\n\n| Skills | Memory (AGENTS.md) |\n|--------|-------------------|\n| On-demand loading | Always loaded at startup |\n| Task-specific instructions | General preferences |\n| Large documentation | Compact context |\n| SKILL.md in directories | Single AGENTS.md file |\n\n\u003C\u002Fskills-vs-memory>\n\n\u003Cex-skills-with-filesystem-backend>\n\u003Cpython>\nSet up an agent with skills directory and filesystem backend for on-demand skill loading.\n```python\nfrom deepagents import create_deep_agent\nfrom deepagents.backends import FilesystemBackend\nfrom langgraph.checkpoint.memory import MemorySaver\n\nagent = create_deep_agent(\n    backend=FilesystemBackend(root_dir=\".\", virtual_mode=True),\n    skills=[\".\u002Fskills\u002F\"],\n    checkpointer=MemorySaver()\n)\n\nresult = agent.invoke({\n    \"messages\": [{\"role\": \"user\", \"content\": \"Use the python-testing skill\"}]\n}, config={\"configurable\": {\"thread_id\": \"session-1\"}})\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nSet up an agent with skills directory and filesystem backend for on-demand skill loading.\n```typescript\nimport { createDeepAgent, FilesystemBackend } from \"deepagents\";\nimport { MemorySaver } from \"@langchain\u002Flanggraph\";\n\nconst agent = await createDeepAgent({\n  backend: new FilesystemBackend({ rootDir: \".\", virtualMode: true }),\n  skills: [\".\u002Fskills\u002F\"],\n  checkpointer: new MemorySaver()\n});\n\nconst result = await agent.invoke({\n  messages: [{ role: \"user\", content: \"Use the python-testing skill\" }]\n}, { configurable: { thread_id: \"session-1\" } });\n```\n\u003C\u002Ftypescript>\n\u003C\u002Fex-skills-with-filesystem-backend>\n\n\u003Cex-skills-with-store-backend>\n\u003Cpython>\nLoad skill content into a Store backend for environments without filesystem access.\n```python\nfrom deepagents import create_deep_agent\nfrom deepagents.backends import StoreBackend\nfrom deepagents.backends.utils import create_file_data\nfrom langgraph.store.memory import InMemoryStore\n\nstore = InMemoryStore()\n\n# Load skill content into store\nskill_content = \"\"\"---\nname: python-testing\ndescription: Best practices for Python testing with pytest\n---\n# Python Testing Skill\n...\"\"\"\n\nstore.put(\n    namespace=(\"filesystem\",),\n    key=\"\u002Fskills\u002Fpython-testing\u002FSKILL.md\",\n    value=create_file_data(skill_content)\n)\n\nagent = create_deep_agent(\n    backend=lambda rt: StoreBackend(rt),\n    store=store,\n    skills=[\"\u002Fskills\u002F\"]\n)\n```\n\u003C\u002Fpython>\n\u003C\u002Fex-skills-with-store-backend>\n\n\u003Cboundaries>\n### What Agents CAN Configure\n\n- Model selection and parameters\n- Additional custom tools\n- System prompt customization\n- Backend storage strategy\n- Which tools require approval\n- Custom subagents with specialized tools\n\n### What Agents CANNOT Configure\n\n- Core middleware removal (TodoList, Filesystem, SubAgent always present)\n- The write_todos, task, or filesystem tool names\n- The SKILL.md frontmatter format\n\u003C\u002Fboundaries>\n\n\u003Cfix-checkpointer-for-interrupts>\n\u003Cpython>\nInterrupts require a checkpointer.\n```python\n# WRONG\nagent = create_deep_agent(interrupt_on={\"write_file\": True})\n\n# CORRECT\nagent = create_deep_agent(interrupt_on={\"write_file\": True}, checkpointer=MemorySaver())\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nInterrupts require a checkpointer.\n```typescript\n\u002F\u002F WRONG\nconst agent = await createDeepAgent({ interruptOn: { write_file: true } });\n\n\u002F\u002F CORRECT\nconst agent = await createDeepAgent({ interruptOn: { write_file: true }, checkpointer: new MemorySaver() });\n```\n\u003C\u002Ftypescript>\n\u003C\u002Ffix-checkpointer-for-interrupts>\n\n\u003Cfix-store-for-memory>\n\u003Cpython>\nStoreBackend requires a Store instance for persistent memory across threads.\n```python\n# WRONG\nagent = create_deep_agent(backend=lambda rt: StoreBackend(rt))\n\n# CORRECT\nagent = create_deep_agent(backend=lambda rt: StoreBackend(rt), store=InMemoryStore())\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nStoreBackend requires a Store instance for persistent memory across threads.\n```typescript\n\u002F\u002F WRONG\nconst agent = await createDeepAgent({ backend: (config) => new StoreBackend(config) });\n\n\u002F\u002F CORRECT\nconst agent = await createDeepAgent({ backend: (config) => new StoreBackend(config), store: new InMemoryStore() });\n```\n\u003C\u002Ftypescript>\n\u003C\u002Ffix-store-for-memory>\n\n\u003Cfix-thread-id-for-conversations>\n\u003Cpython>\nUse consistent thread_id to maintain conversation context across invocations.\n```python\n# WRONG: Each invocation is isolated\nagent.invoke({\"messages\": [{\"role\": \"user\", \"content\": \"Hi\"}]})\nagent.invoke({\"messages\": [{\"role\": \"user\", \"content\": \"What did I say?\"}]})\n\n# CORRECT\nconfig = {\"configurable\": {\"thread_id\": \"user-123\"}}\nagent.invoke({\"messages\": [...]}, config=config)\nagent.invoke({\"messages\": [...]}, config=config)\n```\n\u003C\u002Fpython>\n\u003Ctypescript>\nUse consistent thread_id to maintain conversation context across invocations.\n```typescript\n\u002F\u002F WRONG: Each invocation is isolated\nawait agent.invoke({ messages: [{ role: \"user\", content: \"Hi\" }] });\nawait agent.invoke({ messages: [{ role: \"user\", content: \"What did I say?\" }] });\n\n\u002F\u002F CORRECT\nconst config = { configurable: { thread_id: \"user-123\" } };\nawait agent.invoke({ messages: [...] }, config);\nawait agent.invoke({ messages: [...] }, config);\n```\n\u003C\u002Ftypescript>\n\u003C\u002Ffix-thread-id-for-conversations>\n\n\u003Cfix-frontmatter-required>\n```markdown\n# WRONG: Missing frontmatter in SKILL.md\n# My Skill\nThis is my skill...\n\n# CORRECT: Include YAML frontmatter\n---\nname: my-skill\ndescription: Python testing best practices with pytest fixtures and mocking\n---\n# My Skill\nThis is my skill...\n```\n\u003C\u002Ffix-frontmatter-required>\n\n\u003Cfix-backend-for-skills>\n\u003Cpython>\nSkills require a proper backend to load from the filesystem.\n```python\n# WRONG: Skills won't load without proper backend\nagent = create_deep_agent(skills=[\".\u002Fskills\u002F\"])\n\n# CORRECT: Use FilesystemBackend for local skills\nagent = create_deep_agent(\n    backend=FilesystemBackend(root_dir=\".\", virtual_mode=True),\n    skills=[\".\u002Fskills\u002F\"]\n)\n```\n\u003C\u002Fpython>\n\u003C\u002Ffix-backend-for-skills>\n\n\u003Cfix-specific-skill-descriptions>\nUse specific descriptions to help agents decide when to use a skill.\n```markdown\n# WRONG: Vague description\n---\nname: helper\ndescription: Helpful skill\n---\n\n# CORRECT: Specific description\n---\nname: python-testing\ndescription: Python testing best practices with pytest fixtures, mocking, and async patterns\n---\n```\n\u003C\u002Ffix-specific-skill-descriptions>\n\n\u003Cfix-subagent-skills>\n\u003Cpython>\nSkills are not inherited by subagents - provide them explicitly.\n```python\n# WRONG: Custom subagents don't inherit skills\nagent = create_deep_agent(\n    skills=[\"\u002Fmain-skills\u002F\"],\n    subagents=[{\"name\": \"helper\", ...}]  # No skills\n)\n\n# CORRECT: Provide skills explicitly\nagent = create_deep_agent(\n    skills=[\"\u002Fmain-skills\u002F\"],\n    subagents=[{\"name\": \"helper\", \"skills\": [\"\u002Fhelper-skills\u002F\"], ...}]\n)\n```\n\u003C\u002Fpython>\n\u003C\u002Ffix-subagent-skills>\n",{"name":5,"description":7},"main","1ca81b0a7de199942400f965edd4d7544077ac5d",".agents\u002Fskills\u002Fdeep-agents-core","https:\u002F\u002Fgithub.com\u002FCoralShades\u002Facm-ai","https:\u002F\u002Fgithub.com\u002FCoralShades","coralshades.com.au","2026-04-18 00:45:07",{"source":9,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add CoralShades\u002Facm-ai --skill deep-agents-core",{"tool":55,"command":56},"bunx","bunx skills add CoralShades\u002Facm-ai --skill deep-agents-core",{"tool":58,"command":59},"pnpm","pnpm dlx skills add CoralShades\u002Facm-ai --skill deep-agents-core","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCoralShades\u002Facm-ai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdeep-agents-core\u002FSKILL.md",true,[63,69],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"agents\u002Fopenai.yaml","REFERENCE","参考文档",296,"https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fintegrate-game-wallets\u002Fagents\u002Fopenai.yaml",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002FINTEGRATION.md",12562,"https:\u002F\u002Fgithub.com\u002FTimothyMeadows\u002FHephaera\u002Fblob\u002Fmain\u002Fskills\u002Fintegrate-game-wallets\u002Freferences\u002FINTEGRATION.md",[74,101,120,140,161,175],{"skillNo":75,"name":76,"nameZh":77,"description":78,"descriptionZh":79,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":80,"categories":81,"keywords":88,"publishedAt":37},"01M6C63HKXA890HHV47WBAX0TB","uncodixfy","前端界面去 AI 化设计","Prevents generic AI\u002FCodex UI patterns when generating frontend code. Use this skill whenever generating HTML, CSS, React, Vue, Svelte, or any frontend UI code to enforce clean, human-designed aesthetics inspired by Linear, Raycast, Stripe, and GitHub instead of typical AI-generated UI.","在生成前端代码时避免出现千篇一律的 AI\u002FCodex UI 模式。每当生成 HTML、CSS、React、Vue、Svelte 或任何前端 UI 代码时使用本技能，以强制采用受 Linear、Raycast、Stripe 和 GitHub 启发的简洁、人工设计的美学，而非典型的 AI 生成界面。","https:\u002F\u002Fgithub.com\u002FCoralShades\u002Facm-ai\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Funcodixfy\u002FSKILL.md",[82,85],{"categoryNo":83,"categoryName":84,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":86,"categoryName":87,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[76,89,90,91,92,93,94,95,96,97,98,99,100],"github","frontend","css","codex","react","code","linear","ui","vue","generated","use","html",{"skillNo":102,"name":103,"nameZh":104,"description":105,"descriptionZh":106,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":107,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":114,"publishedAt":37},"01M6C63FJ2GEBBGZ5XSMV40KXB","runpodctl","Runpod GPU 工作负载管理","Runpod CLI to manage your GPU workloads.","使用 Runpod CLI 管理你的 GPU 工作负载。","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCoralShades\u002Facm-ai\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Frunpodctl\u002FSKILL.md",[110,113],{"categoryNo":111,"categoryName":112,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRYS21JX3JFDVCQ5GG4TFK","AI 平台资源管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[103,115,116,117,118,119],"macos","cli","linux","gpu","Bash",{"skillNo":121,"name":122,"nameZh":123,"description":124,"descriptionZh":125,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":130,"publishedAt":37},"01M6C63DPAV46TFVQ01SFYPJ7X","langgraph-persistence","LangGraph 状态持久化","INVOKE THIS SKILL when your LangGraph needs to persist state, remember conversations, travel through history, or configure subgraph checkpointer scoping. Covers checkpointers, thread_id, time travel, Store, and subgraph persistence modes.","当你的 LangGraph 需要持久化状态、记住对话、回溯历史，或配置子图检查点（checkpointer）作用域时请调用本技能。涵盖检查点、thread_id、时间旅行、Store 与子图持久化模式。","https:\u002F\u002Fgithub.com\u002FCoralShades\u002Facm-ai\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Flanggraph-persistence\u002FSKILL.md",[128,129],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[131,132,133,134,135,136,137,138,139],"langgraph persistence","langgraph","persistence","travel","history","scoping","remember","state","configure",{"skillNo":141,"name":142,"nameZh":143,"description":144,"descriptionZh":145,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":150,"publishedAt":37},"01M6C63BNS9CQEBTB8RNSSBFPA","langgraph-human-in-the-loop","LangGraph 人机协作开发","INVOKE THIS SKILL when implementing human-in-the-loop patterns, pausing for approval, or handling errors in LangGraph. Covers interrupt(), Command(resume=...), approval\u002Fvalidation workflows, and the 4-tier error handling strategy.","实现人机协作（human-in-the-loop）模式、暂停等待审批，或处理 LangGraph 中的错误时请调用本技能。涵盖 interrupt()、Command(resume=...)、审批\u002F验证工作流以及 4 层错误处理策略。","https:\u002F\u002Fgithub.com\u002FCoralShades\u002Facm-ai\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Flanggraph-human-in-the-loop\u002FSKILL.md",[148,149],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[151,152,132,153,154,155,156,157,158,159,160],"langgraph human in the loop","loop","workflows","error handling","validation","human-in-the-loop","command","strategy","approval","resume",{"skillNo":162,"name":163,"nameZh":164,"description":165,"descriptionZh":166,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":167,"categories":168,"keywords":171,"publishedAt":37},"01M6C639GVYZFX3NFPV5FBDR4F","langgraph-fundamentals","LangGraph 开发基础","INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.","编写任何 LangGraph 代码时请调用本技能。涵盖 StateGraph、状态模式（state schemas）、节点、边、Command、Send、invoke、流式处理与错误处理。","https:\u002F\u002Fgithub.com\u002FCoralShades\u002Facm-ai\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Flanggraph-fundamentals\u002FSKILL.md",[169,170],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[172,132,154,138,173,174,157,94],"langgraph fundamentals","streaming","writing",{"skillNo":176,"name":177,"nameZh":178,"description":179,"descriptionZh":180,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":181,"categories":182,"keywords":187,"publishedAt":37},"01M6C6375N34YX2GZ3SD3R7XR2","langchain-rag","LangChain RAG开发","INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embeddings (OpenAI), and vector stores (Chroma, FAISS, Pinecone).","在构建任何检索增强生成（RAG）系统时调用本技能。涵盖文档加载器、RecursiveCharacterTextSplitter、embeddings（OpenAI）以及向量存储（Chroma、FAISS、Pinecone）。","https:\u002F\u002Fgithub.com\u002FCoralShades\u002Facm-ai\u002Fblob\u002Fmain\u002F.qwen\u002Fskills\u002Flangchain-rag\u002FSKILL.md",[183,184],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":185,"categoryName":186,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C8215FRMSQKF7VRNXVQ0MP","RAG 检索增强开发",[188,189,190,191,192,193,194,195,196,197],"rag","langchain rag","langchain","embeddings","vector","openai","chroma","faiss","vector stores","system"]