Skip to content
Skillpedia
Agents40k · #4984

agent-architecture

Allows the agent to design the architecture of other AI agents. It discovers requirements and diagnoses flaws in existing architectures.

What it does

This agent helps plan the structure of an AI agent. It can create a plan for a new agent or analyze an existing one to find problems.

When to use it

  • ✓When planning a new AI agent.
  • ✓When reviewing an AI agent that isn't working well.
  • ✓When wanting to understand the best way to build an AI agent.

Example of what to ask your AI

“I want to plan an AI agent to answer cooking questions. How should I structure it?”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/github/awesome-copilot/blob/main/skills/agent-architecture/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/agent-architecture/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It asks questions to understand what the agent needs to do and what the requirements are. Based on this, it suggests a structure and how to verify if it works.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add github/awesome-copilot --skill agent-architecture

Or download just the file:

curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/agent-architecture/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

AI Agent Architecture

Help the user obtain a justified architecture for their task or an evidence-based audit of an existing agent. Deliver architectural decisions and ways to verify them, without implementing the agent. By default, completed work includes a PDF report and a visualization of the results. An “ideal architecture” fits the requirements, cost of failure, and team resources; it does not maximize the number of components.

Choose a route

Request Route Read
New agent, requirements are not yet clear Design: working cases → early design → requirements and decision coverage → delivery design.md, architecture-contract.md
Architecture from an existing specification Design: fill in what is known and clarify only gaps The same files; do not restart the interview
Review an agent already written Audit: reconstruct actual paths → verify → deliver findings audit.md, and architecture-contract.md as criteria
Agent makes mistakes, has degraded, or falsely reports “done” Diagnosis within the audit: case → hypotheses → discriminating checks → correction and closure criterion audit.md and diagnostic-review.md
Review and redesign Audit first; its demonstrated problems become design inputs audit.md first, then design.md

In either mode, read source-map.md once: it explains the origins of the principles and the textbook's limitations. The original PDF is not needed for ordinary skill use. scenarios.md is needed only to test the skill itself.

When choosing or revisiting the execution approach, use architecture-selection.md; when designing acceptance or reviewing quality claims, use evaluation-design.md. Develop the validation loop and completion evidence using validation-loop.md; for long-running/background work, pauses, recovery, and competing sessions, use execution-continuity.md, including storage, RTO/RPO, budgets, the human decision queue, and scheduling. Develop delegation, mutable memory, execution isolation, and long-running/streaming interaction only when the task has these properties. A section's existence does not make its question mandatory: material gaps under discovery-protocol.md determine depth.

Shared decision rules

  • First read the available specification, local instructions, architectural decisions, and relevant materials. Use code to reconstruct architecture, not to make unsolicited fixes. Do not run an application with external effects for an audit.
  • Maintain a brief register: source-confirmed / user requirement / proposal / assumption / open question / not applicable. Identify where requirements came from. A user decision and an architect's hypothesis have different statuses.
  • Corporate contracts and accepted decisions apply only within their own project. The textbook is an engineering reference, not a source of authority or a replacement for local canon. Identify conflicts rather than resolving them silently.
  • First consider ordinary automation without an LLM, a single call, and a predefined workflow. Introduce an agent loop, RAG, persistent memory, MCP, or multiple agents only for a concrete need. For each added complexity, identify its benefit, cost, verification method, and simpler alternative.
  • Do not select a model or framework before understanding the task. For a concrete selection, check current official documentation and version constraints. A documented capability is not yet demonstrated quality on the user's data.
  • Separate probabilistic model decisions from programmatically enforced rules. Describe where permissions, parameters, budget, and action admissibility are checked before an external effect, including bypass paths and resumption.
  • For a timed-out external write, a readback that finds nothing does not by itself prove that no effect occurred. Permit a retry only under an established downstream idempotency contract or authoritative proof of non-execution; otherwise retain effect unknown and reconcile or escalate. Apply this rule in concrete flows and examples as well as in the risk section.

…

FAQ

Will the agent write the code for me?

No, it only plans the structure. The code construction is done separately.

What is 'architecture' in this context?

It's the overall plan of how the AI agent will be organized, what parts it will have, and how they will communicate.

Do I need to know programming to use this agent?

No, it's designed to explain everything simply.

Details

Original description by the author

Design AI agent architectures through requirements discovery, or audit and diagnose architectural flaws in existing agents. Architecture only; excludes implementation and general code review.

repo: github/awesome-copilot

Popularity

GitHub stars
40k
Ranking position
#4984
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills