跳到正文
cccskills
免费在 GitHub 公开

agentic-patterns

Design and operate multi-agent orchestration patterns (ReAct loops, evaluator-optimizer, orchestrator-workers, tool routing) for LLM systems. Use when building or debugging agent workflows, tool-use loops, or multi-step task delegation; triggers: agentic, multi-agent, orchestration, ReAct, evaluator-optimizer, tool-use, handoff.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md4.1 KB
  • metadata.json1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Agentic Patterns

Overview

Use simple, composable patterns to decide when to keep a deterministic workflow versus letting an LLM drive its own control flow with tools, retrieval, and memory. Prefer minimal patterns and add agentic loops only when they unlock necessary flexibility.

When to Use

  • Use this skill when the request matches the frontmatter description and triggers; otherwise start with a deterministic workflow or a single prompt.

Decision Tree

  1. Determine whether the task can be mapped to a fixed sequence.
    • Yes: implement a workflow chain.
    • No: continue.
  2. Determine whether the output can be evaluated with explicit criteria.
    • Yes: use an evaluator-optimizer loop.
    • No: continue.
  3. Determine whether the task decomposes into independent subtasks.
    • Yes: use orchestrator-workers.
    • No: add a routing step to clarify intent before tool calls.

Workflows

1. Evaluator-Optimizer Loop

  1. Define an evaluator rubric with pass/fail criteria and required evidence.
  2. Generate an initial draft with the generator.
  3. Evaluate the draft with the rubric and capture structured feedback.
  4. Feed feedback into the generator and iterate until pass or max iterations.

2. Orchestrator-Worker Task Delegation

  1. Decompose the request into explicit subtasks with clear outputs.
  2. Assign each subtask to a specialized worker prompt or tool.
  3. Collect worker outputs and synthesize into a single answer.
  4. Run a final verification pass (self-check or evaluator) before returning.

3. Tool Poka-Yoke Audit

  1. List all tools with names, parameters, and docstrings.
  2. Normalize parameter names and enforce concrete types (ids, paths, enums).
  3. Add minimal examples and edge cases to each docstring.
  4. Re-run a small task to confirm tool selection improves.

Non-Obvious Insights

  • Composability beats complexity: small patterns are more reliable and easier to debug than full frameworks.
  • Tool metadata is part of the control surface; sloppy names or parameters cause misrouted tool selection.
  • Agentic systems rely on augmentations (retrieval, tools, memory), so design those explicitly, not as afterthoughts.
  • Poka-yoke tool design reduces execution errors without changing the model.

Evidence

  • "the most successful implementations use simple, composable patterns rather than complex frameworks." - Anthropic
  • "Workflows are systems where LLMs and tools are orchestrated through predefined code paths. Agents, on the other hand, are systems where LLMs dynamically direct their own processes and tool usage, maintaining control over how they accomplish tasks." - Anthropic
  • "Evaluator-optimizer: one LLM call generates a response while another provides evaluation and feedback in a loop." - Anthropic
  • "Poka-yoke your tools. Change the arguments so that it is harder to make mistakes." - Anthropic
  • "When deciding what tool to use, your agent will use the tool's name, parameters, and docstring... So it's important to make sure the docstrings are descriptive and helpful." - LlamaIndex

Scripts

  • scripts/agentic-patterns_tool.py: CLI scaffolds for evaluator-optimizer, orchestrator-worker, and tool audit patterns.
  • scripts/agentic-patterns_tool.js: Node.js CLI with the same patterns.

Dependencies

  • Python 3.11+ or Node 18+.
  • Optional: your LLM SDK (OpenAI/Anthropic/Gemini) for real generation/evaluation.

References

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

[00] TnR ABSOLUTE RIGOR — Systemic Verification Doctrine. Forced cognitive exertion for high-stakes investigations. Mandates absolute deconstruction, mathematical proof chains, and ≥95% derived certainty. Zero-tolerance for heuristics or sentiment-based reasoning. Shortcuts are defined as intentional hallucinations.

中文简介正在准备中。当前显示原文说明。

diegosouzapw/awesome-omni-skill642026年3月2日 更新

2agent

免费

Configures 2-Agent workflow between PM and implementation roles. Use when user mentions 2-Agent, 2エージェント, PM連携設定, Cursor設定, Cursor連携, 2-agent運用. Do NOT load for: 単独運用, ワークフロー実行, ハンドオフ処理.

中文简介正在准备中。当前显示原文说明。

diegosouzapw/awesome-omni-skill642026年3月2日 更新

Appends relevant hashtags to journal entries based on content analysis. Intended for LLM execution.

中文简介正在准备中。当前显示原文说明。

diegosouzapw/awesome-omni-skill642026年3月2日 更新

add-agent

免费

Add a new AI coding agent to Agent Sandbox. Creates all required files (Dockerfile, templates, CI, docs) and wires the agent into the CLI, proxy, and build system.

中文简介正在准备中。当前显示原文说明。

diegosouzapw/awesome-omni-skill642026年3月2日 更新

Add a new property to the AI agents database. Use when the user wants to add, create, or introduce a new column, property, field, or feature to track across all agents in the comparison matrix. Handles all four required steps - database updates, groups.json, table display, and GitHub issue templates.

中文简介正在准备中。当前显示原文说明。

diegosouzapw/awesome-omni-skill642026年3月2日 更新

Add new Agent templates to the meta-agent-skills framework.

中文简介正在准备中。当前显示原文说明。

diegosouzapw/awesome-omni-skill642026年3月2日 更新

查看 diegosouzapw 的全部技能

报告此技能的问题