Stats
Actions
Tags
How this skill is triggered — by the user, by Claude, or both
Slash command
/myagent:multiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
决定何时需要多 Agent、如何隔离上下文、如何通信、如何管理生命周期。
决定何时需要多 Agent、如何隔离上下文、如何通信、如何管理生命周期。
snippets/multi/context-isolation.ts — AsyncLocalStorage 隔离 + 选择性共享 + 权限继承snippets/multi/file-mailbox.ts — lockfile 信箱 + 结构化协议消息 + 权限请求snippets/multi/deterministic-cleanup.ts — 8 层清理 + Worktree 创建/清理| 错误 | 后果 | 正确做法 |
|---|---|---|
| 默认就用多 Agent | 复杂度爆炸 | 按需升级 |
| 共享 AbortController | 父中止杀全部 | 异步独立控制器 |
| 共享 setAppState | 子级污染父级 | 默认 no-op |
| 无消息上限 | 内存爆炸 | UI 50 条 |
| 清理不确定 | 资源泄露 | 8 层 finally |
| 递归 Fork | 指数生成 | 检查 boilerplate tag |
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub dongliutony/myagent-skill --plugin myagent