mcpbeat Sign in

Building Agent Systems Skill for Codex

AI agent and LLM system engineering reference covering single-agent dev (ReAct, tool calling, plan-execute), multi-agent coordination (swarm, role decomposition, file locking), LLM security (prompt injection, jailbreak defense, output filtering), RAG architecture (chunking, hybrid retrieval, rerank), and prompt engineering / evaluation (RAGAS, LLM-as-Judge). Use when building AI agents, designing RAG pipelines, orchestrating multi-agent workflows, hardening LLM apps, or writing prompts.

14k tokens
context cost
the whole folder, loaded on every use
7
files
instructions only
0
copies elsewhere
how many repositories repackaged it
238
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/telagod/code-abyss --skill building-agent-systems

The instruction itself

3 sections, as written by the author

丹鼎秘典 · Agent / LLM 工程

> 判断先于执行:决定「是否做 / 选什么 / 如何取舍」(栈、方案、架构、权衡)前,先读领域判断内核 skills/_kernel/ml/SKILL.md——它管 judgment,本秘典管 execution;冲突时以内核判断为准。

> 单 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 即代码须版控 | 输入输出皆验证 | 成本效果平衡 | 持续评估迭代 | 安全边界明确

跨场景铁律

  • Prompt 版控 — Prompt 是代码,必须 Git;变更要走 review
  • I/O 验证 — 输入侧防注入,输出侧防 hallucination 落地(结构化 schema、引用追溯)
  • 评估前置 — 上线前必有 eval set;RAGAS / LLM-as-Judge 至少二选一
  • 成本观测 — token / latency / 失败率必埋点;预算阈值自动告警
  • 降级路径 — 多 Agent 失败 → 单 Agent;单 Agent 失败 → 直接回答 + 标记 [unverified]

多 Agent 启用判据

| 信号 | 启用 TeamCreate |

|------|-----------------|

| 涉及 ≥3 独立文件 | ✅ |

| 需 ≥2 并行流 | ✅ |

| 总步骤 >10 | ✅ |

| 用户明确要求 | ✅ |

| 单一探索任务 | ❌(用 explorer 或单 Agent) |

| 单文件改动 | ❌(用 worker 或直接执行) |

| 单步任务 | ❌(直接执行) |

详细生命周期、文件锁规则、依赖感知、过载保护、降级链:multi-agent-coordination.md

与其他 skill 联动

  • 涉及部署 → provisioning-infrastructure(Vector DB、模型服务)
  • 涉及前端 → applying-ui-design-system(Chat UI / Agent 状态可视化)
  • 涉及安全审计 → securing-systems(LLM AppSec 子域)
  • 涉及评估自动化 → automating-devops(CI 中跑 eval)

Other skills for the same job

different authors, same section of the catalogue
Skill Creator
by anthropics
vendor ×10

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

56k tokens scripts
Pufferlib
by ComeOnOliver
×3

This skill should be used when working with reinforcement learning tasks including high-performance RL training, custom environment development, vectorized parallel simulation, multi-agent systems, or integration with existing RL environments (Gymnasium, PettingZoo, Atari, Procgen, etc.). Use this skill for implementing PPO training, creating PufferEnv environments, optimizing RL performance, or developing policies with CNNs/LSTMs.

28k tokens scripts
Run Evals
by flutter
vendor ×2

Run evaluations for one, multiple, or all skills using the agent orchestration framework. Make sure to use this skill whenever the user asks to run evals, test a skill's performance, run benchmarks, or compare baseline versus with-skill execution.

2k tokens
LLM Application Dev Prompt Optimize
by ComeOnOliver
×2

You are an expert prompt engineer specializing in crafting effective prompts for LLMs through advanced techniques including constitutional AI, chain-of-thought reasoning, and model-specific optimizati

6k tokens
Nowait Reasoning Optimizer
by ComeOnOliver
×2

Implements the NOWAIT technique for efficient reasoning in R1-style LLMs. Use when optimizing inference of reasoning models (QwQ, DeepSeek-R1, Phi4-Reasoning, Qwen3, Kimi-VL, QvQ), reducing chain-of-thought token usage by 27-51% while preserving accuracy. Triggers on "optimize reasoning", "reduce thinking tokens", "efficient inference", "suppress reflection tokens", or when working with verbose CoT outputs.

8k tokens scripts
Evolving AI Agents
by Orchestra-Research
×1

Provides guidance for automatically evolving and optimizing AI agents across any domain using LLM-driven evolution algorithms. Use when building self-improving agents, optimizing agent prompts and skills against benchmarks, or implementing automated agent evaluation loops.

36k tokens
Context Manager
by lingxling
×1

Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems.

2k tokens
Zach Seller Skill Creator
by zach22-1999
×1

亚马逊卖家专用的 skill 创建器(中文)。当用户想把一个亚马逊运营/自媒体/日常工作流程变成可复用的 skill 时使用。触发场景包括但不限于:用户说"我想做一个 skill""把这个流程变成 skill""帮我写个自动化""优化我已有的 skill""给这个工作流做个自动化",即使用户没用"skill"这个词,只要在描述"以后每次都这样做"的重复性工作时也应触发。本 skill 的核心差异:强制用户先回答 6 个业务问题(业务目标/过去做法/具体步骤/方法论/调用方式/期望输出)再进入创建流程,防止产出空洞 skill。Create new skills, improve existing skills, run evals and benchmarks — tailored for Amazon sellers with a Chinese-first workflow.

63k tokens scripts zh

How to use it

Copy the folder

Take telagod/building-agent-systems from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.