sub-agents by parcadei/continuous-claude-v3
npx skills add https://github.com/parcadei/continuous-claude-v3 --skill sub-agents创建具有独立上下文的专用 AI 智能体,用于执行特定任务。
/agents
打开菜单以创建、编辑和管理智能体。
mkdir -p .claude/agents
cat > .claude/agents/reviewer.md << 'EOF'
---
name: reviewer
description: 代码审查专家。代码变更后主动使用。
tools: Read, Grep, Glob, Bash
model: sonnet
---
你是一位专注于代码质量和安全的高级代码审查员。
## 审查清单
- 代码清晰度和命名规范
- 错误处理
- 安全漏洞
- 测试覆盖率
EOF
claude --agents '{
"reviewer": {
"description": "代码审查员",
"prompt": "审查代码质量和安全性",
"tools": ["Read", "Bash"],
"model": "sonnet"
}
}'
---
name: agent-name
description: 何时/为何使用此智能体
tools: Read, Edit, Bash # 可选,省略则继承所有工具
model: sonnet # sonnet, haiku, claude-opus-4-5-20251101, inherit
---
系统提示内容在此...
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 字段 | 是否必需 | 选项 |
|---|---|---|
name | 是 | 小写字母,连字符 |
description | 是 | 使用时机 |
tools | 否 | 工具列表(省略则继承所有) |
model | 否 | sonnet, haiku, claude-opus-4-5-20251101, inherit |
| 智能体 | 模型 | 工具 | 用途 |
|---|---|---|---|
| 通用型 | Sonnet | 全部 | 复杂的多步骤任务 |
| 规划者 | Sonnet | 只读 | 规划模式研究 |
| 探索者 | Haiku | 只读 | 快速代码库搜索 |
| 模型 | 速度 | 最佳适用场景 |
|---|---|---|
| Haiku | 最快 | 搜索、快速查找 |
| Sonnet | 快速 | 大多数任务(默认) |
| Opus | 较慢 | 复杂推理 |
# 代码审查员(只读)
tools: Read, Grep, Glob, Bash
# 调试器
tools: Read, Edit, Bash, Grep, Glob
# 实现者
tools: Read, Write, Edit, Bash, Glob
---
name: code-reviewer
description: 审查代码质量和安全性。代码变更后使用。
tools: Read, Grep, Glob, Bash
model: sonnet
---
审查代码的以下方面:
- 安全漏洞
- 代码质量问题
- 缺失的错误处理
- 测试覆盖率不足
按优先级输出发现的问题:严重 > 警告 > 建议
---
name: debugger
description: 调试错误和测试失败。
tools: Read, Edit, Bash, Grep, Glob
model: inherit
---
调试流程:
1. 捕获错误详情
2. 确定失败位置
3. 提出假设
4. 测试和验证
5. 实施修复
| 类型 | 位置 | 优先级 |
|---|---|---|
| 项目级 | .claude/agents/ | 最高 |
| 用户级 | ~/.claude/agents/ | 较低 |
[智能体返回 agentId: "abc123"]
# 稍后:恢复上下文继续
claude -r "abc123" "继续分析"
使用 code-analyzer 查找问题,
然后使用 optimizer 修复它们
.claude/agents/ 纳入 git 管理每周安装量
224
代码仓库
GitHub 星标数
3.6K
首次出现
2026年1月22日
安全审计
已安装于
opencode215
codex213
gemini-cli211
cursor210
github-copilot208
amp203
Create specialized AI agents with isolated contexts for specific tasks.
/agents
Opens menu to create, edit, and manage agents.
mkdir -p .claude/agents
cat > .claude/agents/reviewer.md << 'EOF'
---
name: reviewer
description: Code review specialist. Use proactively after code changes.
tools: Read, Grep, Glob, Bash
model: sonnet
---
You are a senior code reviewer focusing on quality and security.
## Review Checklist
- Code clarity and naming
- Error handling
- Security vulnerabilities
- Test coverage
EOF
claude --agents '{
"reviewer": {
"description": "Code reviewer",
"prompt": "Review for quality and security",
"tools": ["Read", "Bash"],
"model": "sonnet"
}
}'
---
name: agent-name
description: When/why to use this agent
tools: Read, Edit, Bash # Optional, inherits all if omitted
model: sonnet # sonnet, haiku, claude-opus-4-5-20251101, inherit
---
System prompt content here...
| Field | Required | Options |
|---|---|---|
name | Yes | lowercase, hyphens |
description | Yes | When to use |
tools | No | Tool list (inherits all if omitted) |
model | No | sonnet, haiku, claude-opus-4-5-20251101, |
| Agent | Model | Tools | Purpose |
|---|---|---|---|
| General-purpose | Sonnet | All | Complex multi-step tasks |
| Plan | Sonnet | Read-only | Plan mode research |
| Explore | Haiku | Read-only | Fast codebase search |
| Model | Speed | Best For |
|---|---|---|
| Haiku | Fastest | Search, quick lookups |
| Sonnet | Fast | Most tasks (default) |
| Opus | Slower | Complex reasoning |
# Code Reviewer (read-only)
tools: Read, Grep, Glob, Bash
# Debugger
tools: Read, Edit, Bash, Grep, Glob
# Implementer
tools: Read, Write, Edit, Bash, Glob
---
name: code-reviewer
description: Reviews code for quality and security. Use after code changes.
tools: Read, Grep, Glob, Bash
model: sonnet
---
Review code for:
- Security vulnerabilities
- Code quality issues
- Missing error handling
- Test coverage gaps
Output findings by priority: Critical > Warning > Suggestion
---
name: debugger
description: Debug errors and test failures.
tools: Read, Edit, Bash, Grep, Glob
model: inherit
---
Debugging process:
1. Capture error details
2. Identify failure location
3. Form hypotheses
4. Test and verify
5. Implement fix
| Type | Location | Priority |
|---|---|---|
| Project | .claude/agents/ | Highest |
| User | ~/.claude/agents/ | Lower |
[Agent returns agentId: "abc123"]
# Later: resume with context
claude -r "abc123" "Continue analysis"
Use code-analyzer to find issues,
then use optimizer to fix them
.claude/agents/ into gitWeekly Installs
224
Repository
GitHub Stars
3.6K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode215
codex213
gemini-cli211
cursor210
github-copilot208
amp203
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
147,400 周安装
inherit