From code-abyss
AI agent and LLM system engineering reference: single-agent (ReAct/tool calling), multi-agent (swarm/role decomposition), LLM security (injection/jailbreak), RAG (chunking/hybrid retrieval/rerank), prompt evaluation (RAGAS, LLM-as-Judge).
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-abyss:building-agent-systemsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> 单 Agent 是器,多 Agent 是阵。先选规模,再选模式。
单 Agent 是器,多 Agent 是阵。先选规模,再选模式。
| 意图 | 加载 | 核心 |
|---|---|---|
| 单 Agent 开发(工具调用、ReAct) | agent-dev | ReAct / Plan-Execute / Reflection |
| 多 Agent 协同(>=3 文件 or >=2 并行) | multi-agent-coordination | 蚁群仿生、文件锁、依赖图 |
| 多 Agent 协议细节(消息素、收阵报告) | multi-agent-protocol | Codex 原生协议、角色定义 |
| LLM 安全(注入、越狱、输出过滤) | llm-security | OWASP LLM Top 10 视角 |
| RAG 系统(向量、检索、重排) | rag-system | Chunking / 混合检索 / Cohere rerank |
| Prompt + 评估 | prompt-and-eval | Few-shot / CoT / RAGAS / LLM-as-Judge |
单步任务(一文件、一查询) → 直接执行(不需要 Agent 框架)
多步任务(计划 + 工具) → 单 Agent (ReAct)
复杂任务(>5 步、需反思) → 单 Agent (Plan-Execute / Reflection)
独立并行任务(>=3 文件、>=2 流) → 多 Agent (TeamCreate)
跨域协作(角色明确) → 多 Agent (角色分工)
犹豫时优先 TeamCreate — 串行降级容易,并行升级难。
Prompt 即代码须版控 | 输入输出皆验证 | 成本效果平衡 | 持续评估迭代 | 安全边界明确
[unverified]| 信号 | 启用 TeamCreate |
|---|---|
| 涉及 ≥3 独立文件 | ✅ |
| 需 ≥2 并行流 | ✅ |
| 总步骤 >10 | ✅ |
| 用户明确要求 | ✅ |
| 单一探索任务 | ❌(用 explorer 或单 Agent) |
| 单文件改动 | ❌(用 worker 或直接执行) |
| 单步任务 | ❌(直接执行) |
详细生命周期、文件锁规则、依赖感知、过载保护、降级链:multi-agent-coordination.md
npx claudepluginhub telagod/code-abyss --plugin code-abyssGuides AI agent development using ReAct, plan-and-execute, multi-agent architectures. Designs tools, memory systems, guardrails; orchestrates with LangChain, LlamaIndex, CrewAI, AutoGen.
Guides building autonomous agents, multi-agent systems, and agent orchestration with CrewAI, LangGraph, and custom agents.