Universal AI agents collection for Claude Code - 28+ specialized agents with strict boundary enforcement, project-specific agent creation, and intelligent task routing
You can install this plugin from any of these themed marketplaces. Choose one, add it as a marketplace, then install the plugin.
Choose your preferred installation method below
A marketplace is a collection of plugins. Every plugin gets an auto-generated marketplace JSON for individual installation, plus inclusion in category and themed collections. Add a marketplace once (step 1), then install any plugin from it (step 2).
One-time setup for access to all plugins
When to use: If you plan to install multiple plugins now or later
Step 1: Add the marketplace (one-time)
/plugin marketplace add https://claudepluginhub.com/marketplaces/all.json
Run this once to access all plugins
Step 2: Install this plugin
/plugin install universal-2@all
Use this plugin's auto-generated marketplace JSON for individual installation
When to use: If you only want to try this specific plugin
Step 1: Add this plugin's marketplace
/plugin marketplace add https://claudepluginhub.com/marketplaces/plugins/universal-2.json
Step 2: Install the plugin
/plugin install universal-2@universal-2
专为Claude Code设计的全面AI代理集合
这个仓库包含了一套强大的专业AI代理集合,旨在增强您的Claude Code开发体验。每个代理都具备深度领域专业知识和严格的边界约束,能够高效地处理特定的技术栈和开发任务。
/plugin
命令安装或手动复制到 ~/.claude/
/initx
命令可创建专为您项目需求定制的自定义代理您可以通过两种方式安装此集合:
/universal:ai
)/ai
)添加marketplace到Claude Code:
claude
/plugin marketplace add Toskysun/sub-agents
安装插件:
/plugin install universal@sub-agents
重启Claude Code以激活代理
验证安装:
/universal:ai list
/universal:initx --preview
/help
💡 提示: 插件安装后命令需要加命名空间前缀 /universal:
。如果您希望使用更简洁的 /ai
和 /initx
命令,建议使用方法2: 手动安装。
(可选)安装CLAUDE.md配置:
⚠️ 注意: 插件系统无法自动安装 CLAUDE.md
,您需要手动复制:
# 全局配置(推荐)
curl -o ~/.claude/CLAUDE.md https://raw.githubusercontent.com/Toskysun/sub-agents/master/CLAUDE.md
# 或者项目专属配置
curl -o ./CLAUDE.md https://raw.githubusercontent.com/Toskysun/sub-agents/master/CLAUDE.md
克隆仓库:
git clone https://github.com/Toskysun/sub-agents.git
cd sub-agents
复制到Claude Code目录:
# Linux/Mac
cp -r * ~/.claude/
# Windows
copy * %USERPROFILE%\.claude\
重启Claude Code或重新加载配置
安装后,您可以为特定项目创建自定义代理:
# 导航到您的项目目录
cd your_project
# 分析并为您的项目创建自定义代理
/initx
💡 注意: 以下示例使用简洁命令格式(手动安装)。如使用插件安装,请将 /ai
替换为 /universal:ai
,将 /initx
替换为 /universal:initx
。
全局代理任务(随时可用):
/ai "创建一个Vue.js仪表板组件"
/ai "构建一个FastAPI认证服务"
/ai "设计一个Material Design移动界面"
/ai "优化Go微服务性能"
项目专属代理任务(运行 /initx
后):
/ai "优化结账流程" # 使用 vue-ecommerce-developer
/ai "实现支付网关" # 使用 payment-integration-specialist
/ai "添加库存警报" # 使用 postgres-inventory-architect
/ai "部署到生产环境" # 使用 aws-deployment-specialist
多代理协调:
/ai "构建一个全栈电商平台"
/ai "创建一个带测试的React组件库"
/ai "开发一个带API集成的安全Android应用"
团队管理:
/ai list # 显示所有可用代理(全局+项目)
/ai info react # 获取React专家详情
/initx --preview # 预览您项目的自定义代理
严格约束:只能分析和报告,不能执行代码或实现解决方案。
严格约束:只能在特定技术领域内执行代码。
严格约束:提供指导和协调但不能实现解决方案。
/initx
)除了全局代理外,您可以使用 /initx
命令创建项目专属代理,完全针对您的具体需求进行定制。
/initx # 分析项目并创建自定义代理
/initx --preview # 预览模式(不创建文件)
/initx --focus=security # 创建安全专注的代理
/initx --template=mobile # 使用移动项目模板
/initx --model=inherit # 强制所有代理使用指定模型 (inherit/sonnet/opus/haiku)
系统分析您的项目结构并创建专业代理,例如:
vue-ecommerce-developer
- 电商项目专属Vue专家payment-integration-specialist
- 定制支付API专家postgres-inventory-architect
- 数据库专属数据架构师aws-deployment-specialist
- 平台专属部署专家your_project/
├── .claude/
│ └── agents/ # 项目专属代理
│ ├── vue-ecommerce-developer.md
│ ├── payment-integration-specialist.md
│ └── postgres-inventory-architect.md
├── CLAUDE.md # 更新的自定义团队配置
└── .gitignore # 更新的排除项
级别 | 类型 | 描述 | 处理方式 | 性能优势 |
---|---|---|---|---|
Level 0 | 微任务 | 信息查询、文件读取 | 直接执行 | 即时响应 |
Level 1 | 简单 | 单文件更改、基础配置 | 单代理直接 | 3倍速度路由 |
Level 2 | 中等 | 组件开发、功能模块 | 单代理复杂 | 全流程处理 |
Level 3 | 复合 | 多模块协调、2-3个领域 | 串行多代理 | 上下文传递 |
Level 4 | 并行 | 独立模块、性能优化 | 并发执行 | 4倍速度潜力 |
Level 5 | 企业级 | 系统重构、架构设计 | Director协调 | 复杂编排 |
sub-agents/
├── .claude-plugin/ # 插件系统配置
│ ├── plugin.json # 插件清单
│ └── marketplace.json # Marketplace定义
├── agents/ # AI代理定义(28+个代理)
│ ├── vue-developer.md # Vue.js/Nuxt.js专家
│ ├── react-developer.md # React/Next.js专家
│ ├── go-architect.md # Go微服务架构师
│ ├── rust-architect.md # Rust系统程序员
│ ├── flask-expert.md # Python Flask开发者
│ ├── fastapi-expert.md # Python FastAPI专家
│ ├── google-ui-designer.md # Material Design专家
│ ├── android-developer.md # Android应用开发者
│ ├── mobile-ui-designer.md # 移动端UX设计师
│ ├── java-developer.md # Java企业级开发者
│ ├── spring-architect.md # Spring生态系统架构师
│ ├── lua-developer.md # Lua脚本专家
│ ├── android-hooking-expert.md # Android安全分析师
│ ├── xposed-developer.md # Xposed模块开发者
│ ├── reverse-engineer.md # 安全研究员
│ ├── malware-analyst.md # 威胁情报分析师
│ ├── backend-developer.md # API与数据库专家
│ ├── frontend-developer.md # UI/UX开发者
│ ├── devops-engineer.md # DevOps与部署
│ ├── code-review-expert.md # 代码质量守护者
│ ├── test-expert.md # 测试策略师
│ ├── task-dispatch-director.md # 中央协调器
│ └── ... (更多代理)
├── commands/ # 自定义斜杠命令
│ ├── ai.md # AI团队编排
│ └── initx.md # 项目专属代理创建
├── CLAUDE.md # 核心配置
├── LICENSE # MIT许可证
└── README.md # 本文件
MIT许可证 - 详见LICENSE文件。
本项目由 Toskysun 用 ❤️ 精心打造
如果这个项目对您有帮助,请给个 ⭐ Star 支持一下!
1.0.0