deepagents-skills
在 Deep Agents 中创建和使用自定义技能,实现渐进式披露、SKILL.md 格式和 Agent Skills 协议。
npx skills add majiayu000/claude-skill-registry --skill deepagents-skills --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# deepagents-skills (JavaScript/TypeScript) ## 概述 技能通过**渐进式披露**提供专门功能:agent 仅在相关时加载内容。 **流程:** 匹配(查看描述)→ 读取(加载 SKILL.md)→ 执行(遵循指令) ## 技能 vs 内存 | 技能 | 内存(AGENTS.md) | |--------|-------------------| | 按需加载 | 始终加载 | | 任务特定 | 一般偏好 | | 大型文档 | 紧凑上下文 | ## 使用技能 ### 使用 FilesystemBackend ```typescript import { createDeepAgent, FilesystemBackend } from "deepagents"; import { MemorySaver } from "@langchain/langgraph"; const agent = await createDeepAgent({ backend: new FilesystemBackend({ rootDir: ".", virtualMode: true }), skills: ["./skills/"], checkpointer: new MemorySaver() }); const result = await agent.invoke({ messages: [{ role: "user", content: "什么是 LangGraph?如果可用,使用 langgraph-docs 技能。" }] }); ``` ### 使用 StoreBackend ```typescript import { createDeepAgent, StoreBackend, type FileData } from "deepagents"; import { InMemoryStore } from "@langchain/langgraph"; const store = new InMemoryStore(); function createFileData(content: string): FileData { const now = new Date().toISOString(); return { content: content.split("\n"), created_at: now, modified_at: now, }; } const skillUrl = "https://raw.githubusercontent.com/.../SKILL.md"; const response = await fetch(skillUrl); const skillContent = aw
- 概述
- 技能 vs 内存
- 使用技能
- 使用 FilesystemBackend
- 使用 StoreBackend
- 使用 StateBackend
- SKILL.md 格式
- 注意事项
- 1. 技能需要后端
- 2. 需要 Frontmatter
- 3. 具体描述
- 完整文档
What does the deepagents-skills skill do?
在 Deep Agents 中创建和使用自定义技能,实现渐进式披露、SKILL.md 格式和 Agent Skills 协议。
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill deepagents-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
