agents

框架

wshobson/agents

面向多种 AI 编程工具的插件市场,提供代理、技能与命令。

项目简介

多平台代理插件市场,收录 94 个插件,含 200 余个代理、185 个技能和 105 个命令。统一 Markdown 源适配 Claude Code、Codex、Cursor、OpenCode、Antigravity、Copilot 与 Pi,涵盖开发、代码审查、测试与安全等场景。

README 预览

# Plugins, agents, and skills for AI coding tools\n\n\n\n\nUse one collection of plugins, agents, skills, and commands across Claude Code, OpenAI Codex CLI, Cursor, OpenCode, Antigravity CLI, GitHub Copilot, and Pi. A harness is the coding tool that loads and runs the components. Plugins cover Python and JavaScript development, code review, testing, infrastructure, security, and other work.\n\nThe catalog contains 94 plugins, including 92 local plugins and 2 external entries. The local source contains 202 agents, 185 skills, and 105 commands. The components share a Markdown source, with installation and capabilities adapted to each harness.\n\n## Multi-harness support\n\nChoose the harness you use and follow its setup route. Available components depend on the installation route and the harness's capabilities.\n\n| Tool | Installation | Components and limits |\n|---|---|---|\n| [Claude Code](#claude-code) | Plugin marketplace | Source agents, skills, and commands; plugin-specific hooks and MCP configuration |\n| [OpenAI Codex CLI](#codex-cli) | Native marketplace or generated artifacts | Native source skills; generated TOML agents and commands as skills use a separate route |\n| [Cursor](#cursor) | Plugin marketplace | Source agents, skills, and commands, with curated project rules |\n| [OpenCode](#install-from-a-clone) | `make install-opencode` | Generated agents, skills, and commands, with translated tool permissions |\n| [Antigravity CLI](#install-from-a-clone) | `make install-antigravity` | Generated plugins containing agents, skills, and commands |\n| [GitHub Copilot](#install-from-a-clone) | `make install-copilot` | Generated agent profiles and skills; commands also become invocable skills |\n| [Pi](#install-from-a-clone) | `make install-pi` | Generated skills and prompt templates; agents require a subagent extension |\n\nSee the [capability matrix](docs/harnesses.md) for model mappings, tool permissions, hooks, and installation differences.\n\nFor individual s

常见问题 (1)

故障排除
如何检测和修复 wshobson/agents 中跨 plugins 内容不一致的重复 agents?

在仓库根目录运行 make garden。自 PR #676 起,它包含一个 AGENT_BODY_DIVERGENT 检查,用于标记在不同插件间内容哈希不一致的同名 agent 文件(例如,security-auditor 曾存在于 5 个插件中且有 5 个不同的 md5;django-pro、fastapi-pro、legacy-modernizer 等也出现了漂移)。修复被标记的 agent:对各副本进行 diff(先用 find plugins -name <agent>.md | xargs md5sum 定位,再对它们执行 diff),并统一正文内容,使每个副本完全一致——PR #694 就是这样通过将缺失的行合并到内容不全的副本来解决 django-pro 和 deployment-engineer 的。两个注意事项:(1) 正文相同但 frontmatter 中 model: 不同的纯层级差异(例如 cloud-architect 的 opus 与 sonnet)需要维护者决策,不要擅自悄悄合并;(2) 如果 docs/agents.md 的 model 列看起来过时,它现在是从 frontmatter 重新生成的(commit 15e39ec),README 计数也已在 main 上同步——请更新你的克隆。长期来看,权威单副本去重方案在 issue #643 中跟踪。

来源 Issue #643