agent-patterns-catalog

agent-patterns-catalog is a skill for Claude Code, Codex from hashgraph-online/awesome-codex-plugins. It costs 77 tokens per session (783 once invoked), scanned A, original, Apache-2.0.

A reference catalogue of six common AI-agent designs, including agents that reason and act, retrieve documents, call tools, coordinate several agents, or work autonomously. It compares their structures, data flow, and suitable uses without tying them to one framework.

In plain words
What is it for?
Use it to compare agent architectures, select a pattern for a new system, discuss trade-offs, and give an agent-building workshop a framework-independent design reference.
Why use it?
It helps choose an agent design before implementation instead of assembling components without a clear workflow. It also explains when a mixed design, such as document retrieval plus tool use, may fit better.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hashgraph-online/awesome-codex-plugins/agent-patterns-catalog
Any agent
npx skills add hashgraph-online/awesome-codex-plugins --skill agent-patterns-catalog
Clone the repo
git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-patterns-catalog

README.md
[![agentmods](https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/agent-patterns-catalog.svg)](https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/agent-patterns-catalog)
Your own site
<a href="https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/agent-patterns-catalog"><img src="https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/agent-patterns-catalog.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 783 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.00783
Opus 5 $0.00039 $0.00392
Sonnet 5 $0.00015 $0.00157
Haiku 4.5 $0.00008 $0.00078

Measured today against content hash fb2459c76b96, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

agent-patterns-catalog scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/Colin4k1024/tsp/skills/agent-patterns-catalog/SKILL.md · 75 lines

What it actually says

Agent Patterns Catalog

AI Agent 架构模式目录,为 Agent 设计提供框架无关的参考架构。

何时激活

  • agent-dev-workshop Phase 2 自动调用
  • 用户询问 Agent 架构模式选择
  • 需要对比不同 Agent 架构方案时

模式索引

模式 核心思想 适用场景 Reference
ReAct Agent 思考→行动→观察循环 通用任务、搜索+操作 references/react-agent.md
Multi-Agent Conversation 多角色自由对话 辩论、评审、头脑风暴 references/multi-agent-conversation.md
Multi-Agent Workflow DAG/Pipeline 编排 阶段式处理、内容生产 references/multi-agent-workflow.md
RAG Agent 检索增强生成 知识问答、文档分析 references/rag-agent.md
Tool-Use Agent 工具调用链 API 集成、数据处理 references/tool-use-agent.md
Autonomous Agent 自主规划+执行+反思 开放式任务、自主研究 references/autonomous-agent.md

模式选择决策树

Q1: Agent 需要自主分解复杂任务吗?
  ├─ Yes → Autonomous Agent
  └─ No → Q2

Q2: 涉及多个不同角色协作吗?
  ├─ Yes → Q3
  └─ No → Q4

Q3: 角色之间需要自由对话还是固定流程?
  ├─ 自由对话 → Multi-Agent Conversation
  └─ 固定流程 → Multi-Agent Workflow

Q4: 核心能力是知识检索吗?
  ├─ Yes → RAG Agent
  └─ No → Q5

Q5: 需要推理+多步操作还是简单工具调用?
  ├─ 推理+多步 → ReAct Agent
  └─ 简单调用 → Tool-Use Agent

混合模式

真实项目中常出现混合模式,常见组合:

组合 场景 设计要点
RAG + ReAct 基于知识库的推理和操作 检索作为一种 Tool 嵌入 ReAct 循环
RAG + Tool-Use 知识问答 + 数据操作 检索和工具并列
Workflow + ReAct 流水线中某阶段需要推理 流水线节点内部嵌入 ReAct loop
Autonomous + Tool-Use 自主规划 + 工具执行 Plan 产出的子任务由 Tool Agent 执行

使用方式

# 在 agent-dev-workshop Phase 2 中
1. 根据 Phase 1 确认的 Agent 类型,读取对应 reference 文件
2. 从 reference 中提取参考架构图
3. 根据实际 spec 调整组件拓扑
4. 记录设计决策
Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 75 lines · 77 tokens per session scan A fb2459c76b96

Subscribe to this mod's changes

agent-patterns-catalog is a skill published in the GitHub repository hashgraph-online/awesome-codex-plugins (924 stars, last pushed today), licensed Apache-2.0. It adds 77 tokens to every session and 783 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

search

Search 2500+ curated ChatGPT and LLM open-source repositories. Use when the user asks to find tools, libraries, or repos related to ChatGPT, LLMs, RAG, agents, langchain, NLP, AI development, or any open-source AI tooling.

taishi-i/awesome-ChatGPT-repositories · 57 tokens

awesome-web-security

Looks up curated web security learning resources (XSS, SQLi, CSRF, SSRF, OAuth/JWT, deserialization, SAML, recon, evasion, defensive tooling, CTF). Filters by topic, difficulty, language, and resource type. Returns top references with archive fallbacks. Defensive and educational use only.

qazbnm456/awesome-web-security · 71 tokens

literature-review-tools

Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use to ..." for…

brycewang-stanford/lit-review-agent-tools · 288 tokens

awesome-web-security

Looks up curated web security learning resources (XSS, SQLi, CSRF, SSRF, OAuth/JWT, deserialization, SAML, recon, evasion, defensive tooling, CTF). Filters by topic, difficulty, language, and resource type. Returns top references with archive fallbacks. Defensive and educational use only.

Correia-jpv/fucking-awesome-web-security · 71 tokens

academic-counselor

Expert Academic Counselor with 15+ years experience in student affairs, career development, mental health support, and crisis intervention. Use when: academic-counselor, student-affairs, career-guidance, mental-health, education.

theneoai/awesome-skills · 0 tokens

academic-planner

Expert Academic Planner with 12+ years experience in K-12 and higher education planning, career counseling, and college admission guidance. Use when: academic-planner, education-planning, career-counseling, college-admission, student-success.

theneoai/awesome-skills · 0 tokens