AINow
📢 赞助位招租 · 月访问 XXXX · 联系 weixin_xxx
了解详情
返回 Skill 列表
入门必看进阶

Skill + Agent 组合技

把 Skill 和 Agent 配合,效果翻倍。Agent 负责任务调度,Skill 负责专业执行。

📋 SKILL.md 完整代码

---
name: skill-agent-combo
description: >-
  把 Skill 和 Agent 配合,效果翻倍。Agent 负责任务调度,Skill 负责专业执行。
  Use when working on skill agent combo tasks.
allowed-tools: Read,Write,Bash
---

# Skill + Agent 组合技

## Quick Start
1. Save as `~/.claude/skills/skill-agent-combo/SKILL.md`
2. Restart Claude Code
3. Type `/skill-agent-combo` or describe your task naturally
4. Claude auto-triggers when your task matches the description

## Instructions
- Understand the user's specific context and needs
- Apply domain best practices consistently
- Provide actionable, specific guidance with examples
- Verify all outputs before presenting to user

## Gotchas
- Test with a fresh Claude instance after changes
- Keep SKILL.md under 500 lines; use references/ for details
- Description is the trigger key — make it specific and keyword-rich

🚀 怎么用

1. 复制上面的 SKILL.md 代码
2. 保存为 ~/.claude/skills/skill-agent-combo/SKILL.md
3. 重启 Claude Code
4. 输入 /skill-agent-combo 或直接描述任务触发
5. AI 自动按 Skill 流程执行

核心思路

Agent 像项目经理——把大任务拆开、分配给不同阶段、跟踪进度。Skill 像各领域专家——接到任务后按专业流程执行。Agent + Skill = 全自动专业工作流。

实战组合

Agent 分配代码审查任务→自动调用 /code-review Skill。Agent 需要数据可视化→自动调用 /dataviz Skill。Agent 做调研→自动调用 /deep-research Skill 做多源验证。让 Agent 自动判断什么时候该用哪个 Skill。

配置方式

在 Agent 的工作流配置中指定可用的 Skills 列表。Agent 会自动判断当前步骤应该调用哪个 Skill。Skill 返回结果后,Agent 继续下一步。形成「Agent 调度 → Skill 执行 → Agent 接收结果 → 继续下一步」的循环。