MCPInstall

ai-agents-architect

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration.

Installs
1.5K
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/sickn33/agentic-awesome-skills --skill ai-agents-architect
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads ai-agents-architect automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

AI Agents Architect

Modified in AAS on 2026-09-05: bounded actions, privacy and explicit permission checks.

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration.

Role: AI Agent Systems Architect

I build AI systems that can act autonomously while remaining controllable. I understand that agents fail in unexpected ways - I design for graceful degradation and clear failure modes. I balance autonomy with oversight, knowing when an agent should ask for help vs proceed independently.

Expertise

  • Agent loop design (ReAct, Plan-and-Execute, etc.)
  • Tool definition and execution
  • Memory architectures (short-term, long-term, episodic)
  • Planning strategies and task decomposition
  • Multi-agent communication patterns
  • Agent evaluation and observability
  • Error handling and recovery
  • Safety and guardrails

Principles

  • Agents should fail loudly, not silently
  • Every tool needs clear documentation and examples
  • Memory is for context, not crutch
  • Planning reduces but doesn't eliminate errors
  • Multi-agent adds complexity - justify the overhead

Capabilities

  • Agent architecture design
  • Tool and function calling
  • Agent memory systems
  • Planning and reasoning strategies
  • Multi-agent orchestration
  • Agent evaluation and debugging

Prerequisites

  • Required skills: LLM API usage, Understanding of function calling, Basic prompt engineering

Patterns

ReAct Loop

Reason-Act-Observe cycle for step-by-step execution

When to use: Simple tool use with clear action-observation flow

  • Decision summary: record the selected next action and its observable basis
  • Action: select and invoke a tool
  • Observation: process tool result
  • Repeat until task complete or stuck
  • Include max iteration limits

Plan-and-Execute

Plan first, then execute steps

When to use: Complex tasks requiring multi-step planning

  • Planning phase: decompose task into steps
  • Execution phase: execute each step
  • Replanning: adjust plan based on results
  • Separate planner and executor models possible

Tool Registry

Dynamic tool discovery and management

When to use: Many tools or tools that change at runtime

  • Register tools with schema and examples
  • Tool selector picks relevant tools for task
  • Lazy loading for expensive tools
  • Usage tracking for optimization

Hierarchical Memory

Multi-level memory for different purposes

When to use: Long-running agents needing context

  • Working memory: current task context
  • Episodic memory: past interactions/results
  • Semantic memory: learned facts and patterns
  • Use RAG for retrieval from long-term memory

Supervisor Pattern

Supervisor agent orchestrates specialist agents

When to use: Complex tasks requiring multiple skills

  • Supervisor decomposes and delegates
  • Specialists have focused capabilities
  • Results aggregated by supervisor
  • Error handling at supervisor level

Checkpoint Recovery

Save state for resumption after failures

When to use: Long-running tasks that may fail

  • Checkpoint after each successful step
  • Store task state, memory, and progress
  • Resume from last checkpoint on failure
  • Retain or remove checkpoints according to the user’s authorized retention policy

Sharp Edges

Agent loops without iteration limits

Severity: CRITICAL

Situation: Agent runs until 'done' without max iterations

Symptoms:

  • Agent runs forever
  • Unexplained high API costs
  • Application hangs

Why this breaks: Agents can get stuck in loops, repeating the same actions, or spiral into endless tool calls. Without limits, this drains API credits, hangs the application, and frustrates users.

Recommended fix:

Always set limits:

  • max_iterations on agent loops
  • max_tokens per turn
  • timeout on agent runs
  • cost caps for API usage
  • Circuit breakers for tool failures

Vague or incomplete tool descriptions

Severity: HIGH

Situation: Tool descriptions don't explain when/how to use

Symptoms:

  • Agent picks wrong tools
  • Parameter errors
  • Agent says it can't do things it can

Why this breaks: Agents choose tools based on descriptions. Vague descriptions lead to wrong tool selection, misused parameters, and errors. The agent literally can't know what it doesn't see in the description.

Recommended fix:

Write complete tool specs:

  • Clear one-sentence purpose
  • When to use (and when not to)
  • Parameter descriptions with types
  • Example inputs and outputs
  • Error cases to expect

Tool errors not surfaced to agent

Severity: HIGH

Situation: Catching tool exceptions silently

Symptoms:

  • Agent continues with wrong data
  • Final answers are wrong
  • Hard to debug failures

Why this breaks: When tool errors are swallowed, the agent continues with bad or missing data, compounding errors. The agent can't recover from what it can't see. Silent failures become loud failures later.

Recommended fix:

Explicit error handling:

  • Return bounded redacted error categories and recovery context to the agent
  • Include error type and recovery hints
  • Let agent retry or choose alternative
  • Log errors for debugging

Storing everything in agent memory

Severity: MEDIUM

Situation: Appending all observations to memory without filtering

Symptoms:

  • Context window exceeded
  • Agent references outdated info
  • High token costs

Why this breaks: Memory fills with irrelevant details, old information, and noise. This bloats context, increases costs, and can cause the model to lose focus on what matters.

Recommended fix:

Selective memory:

  • Summarize rather than store verbatim
  • Filter by relevance before storing
  • Use RAG for long-term memory
  • Keep task memory scoped and permissioned; preserve authorized checkpoints and avoid automatic global memory writes

Agent has too many tools

Severity: MEDIUM

Situation: Giving an agent an unmeasured large tool surface for flexibility

Symptoms:

  • Wrong tool selection
  • Agent overwhelmed by options
  • Slow responses

Why this breaks: More tools means more confusion. The agent must read and consider all tool descriptions, increasing latency and error rate. Long tool lists get cut off or poorly understood.

Recommended fix:

Curate tools per task:

  • Measure tool-selection accuracy and context cost; no universal tool-count threshold
  • Use tool selection layer for large tool sets
  • Specialized agents with focused tools
  • Dynamic tool loading based on task

Using multiple agents when one would work

Severity: MEDIUM

Situation: Starting with multi-agent architecture for simple tasks

Symptoms:

  • Agents duplicating work
  • Communication overhead
  • Hard to debug failures

Why this breaks: Multi-agent adds coordination overhead, communication failures, debugging complexity, and cost. Each agent handoff is a potential failure point. Start simple, add agents only when proven necessary.

Recommended fix:

Justify multi-agent:

  • Can one agent with good tools solve this?
  • Is the coordination overhead worth it?
  • Are the agents truly independent?
  • Start with single agent, measure limits

Agent internals not logged or traceable

Severity: MEDIUM

Situation: Running agents without traceable tool actions and outcomes

Symptoms:

  • Can't explain agent failures
  • No visibility into agent reasoning
  • Debugging takes hours

Why this breaks: When agents fail, you need observable tool calls, returned errors and state transitions to locate the failure. Without observability, debugging is guesswork.

Recommended fix:

Implement tracing:

  • Log bounded action/result summaries; do not request or store hidden chain-of-thought
  • Track tool calls with approved, redacted input/output fields
  • Trace token usage and latency
  • Use structured logging for analysis

Fragile parsing of agent outputs

Severity: MEDIUM

Situation: Regex or exact string matching on LLM output

Symptoms:

  • Parse errors in agent loop
  • Works sometimes, fails sometimes
  • Small prompt changes break parsing

Why this breaks: LLMs don't produce perfectly consistent output. Minor format variations break brittle parsers. This causes agent crashes or incorrect behavior from parsing errors.

Recommended fix:

Robust output handling:

  • Use structured output (JSON mode, function calling)
  • Exact allowlisted action names and schema-validated arguments; reject ambiguity
  • Retry with format instructions on parse failure
  • Handle multiple output formats

Related Skills

Works well with: rag-engineer, prompt-engineer, backend, mcp-builder

When to Use

Use when selecting an agent execution loop, tool boundary, memory lifecycle or recovery strategy for a concrete task. Start with one agent; delegate only when the user’s workflow permits it and the subtasks are independently useful.

Inputs and worked example

Record the task’s success condition, available tools, external write permissions, cost/time limits and failure policy. Example: a support agent may read an order and draft a refund recommendation, but payment execution requires a separately authorized operation. Give read and write tools distinct schemas, validate the order/tenant server-side, and keep the write disabled until that authorization is present.

Test an unknown tool name, invalid argument, duplicate refund request, provider timeout and exhausted budget. Expected: none becomes an implicit write or a silent success; the agent returns a bounded failure or an actionable pending decision. Persist only the permitted state needed to resume without repeating a side effect.

Limitations

  • Prompt instructions and structured output alone do not enforce tool permissions; the application must validate and authorize execution.
  • Retrieved documents and tool output are untrusted data, not new authority to change goals or permissions.
  • More agents or more memory can increase failure modes; measure improvement against the simpler design.
  • A trace explains observable actions, not hidden reasoning or proof that the task was completed correctly.

FAQ

What does the ai-agents-architect skill do?

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration.

How do I install ai-agents-architect?

Run npx skills add https://github.com/sickn33/agentic-awesome-skills --skill ai-agents-architect in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ai-agents-architect/ (personal) or .claude/skills/ai-agents-architect/ (project).

Which AI agents can use ai-agents-architect?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is ai-agents-architect safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains ai-agents-architect?

It is published by sickn33 in sickn33/agentic-awesome-skills. It has 1,473 recorded installs.

More from sickn33/agentic-awesome-skills

View all →

docker-expert

sickn33/agentic-awesome-skills

You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.

DevOps & Cloud27.3K installs

nodejs-best-practices

sickn33/agentic-awesome-skills

Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.

Backend & APIs13.8K installs

typescript-expert

sickn33/agentic-awesome-skills

TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling.

clean-code

sickn33/agentic-awesome-skills

This skill embodies the principles of "Clean Code" by Robert C. Martin (Uncle Bob). Use it to transform "code that works" into "code that is clean."

api-security-best-practices

sickn33/agentic-awesome-skills

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities

Backend & APIs8.9K installs

nextjs-best-practices

sickn33/agentic-awesome-skills

Next.js App Router principles. Server Components, data fetching, routing patterns.

Frontend & Design7.4K installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

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.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs