Ai agents

From majiayu000/claude-skill-registry-data · View interactive version

Ai agents is an AI agent skill from the GitHub repository majiayu000/claude-skill-registry-data. Production-grade AI agent patterns with MCP integration, agentic RAG, handoff orchestration, multi-layer guardrails, and observability (modern best practices)

How to use this skill

Skill file

AI Agents Development — Production Skill Hub

Modern Best Practices (December 2025): deterministic control flow, bounded tools, auditable state, MCP-based tool integration, handoff-first orchestration, multi-layer guardrails, OpenTelemetry tracing, and human-in-the-loop controls (OWASP LLM Top 10: https://owasp.org/www-project-top-10-for-large-language-model-applications/).

This skill provides production-ready operational patterns for designing, building, evaluating, and deploying AI agents.

It centralizes procedures, checklists, decision rules, and templates used across RAG agents, tool-using agents, OS agents, and multi-agent systems.

No theory. No narrative. Only what Claude can execute.


When to Use This Skill

Claude should activate this skill whenever the user asks for:

Scope Boundaries (Use These Skills for Depth)


Quick Reference

| Agent Type | Core Control Flow | Interfaces | MCP/A2A | When to Use |

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

| Workflow Agent (FSM/DAG) | Explicit state transitions | State store, tool allowlist | MCP | Deterministic, auditable flows |

| Tool-Using Agent | Route → call tool → observe | Tool schemas, retries/timeouts | MCP | External actions (APIs, DB, files) |

| RAG Agent | Retrieve → answer → cite | Retriever, citations, ACLs | MCP | Knowledge-grounded responses |

| Planner/Executor | Plan → execute steps with caps | Planner prompts, step budget | MCP (+A2A) | Multi-step problems with bounded autonomy |

| Multi-Agent (Orchestrated) | Delegate → merge → validate | Handoff contracts, eval gates | A2A | Specialization with explicit handoffs |

| OS Agent | Observe UI → act → verify | Sandbox, UI grounding | MCP | Desktop/browser control under strict guardrails |

| Code/SWE Agent | Branch → edit → test → PR | Repo access, CI gates | MCP | Coding tasks with review/merge controls |


Decision Tree: Choosing Agent Architecture

What does the agent need to do?
    ├─ Answer questions from knowledge base?
    │   ├─ Simple lookup? → RAG Agent (LangChain/LlamaIndex + vector DB)
    │   └─ Complex multi-step? → Agentic RAG (iterative retrieval + reasoning)
    │
    ├─ Perform external actions (APIs, tools, functions)?
    │   ├─ 1-3 tools, linear flow? → Tool-Using Agent (LangGraph + MCP)
    │   └─ Complex workflows, branching? → Planning Agent (ReAct/Plan-Execute)
    │
    ├─ Write/modify code autonomously?
    │   ├─ Single file edits? → Tool-Using Agent with code tools
    │   └─ Multi-file, issue resolution? → Code/SWE Agent (HyperAgent pattern)
    │
    ├─ Delegate tasks to specialists?
    │   ├─ Fixed workflow? → Multi-Agent Sequential (A → B → C)
    │   ├─ Manager-Worker? → Multi-Agent Hierarchical (Manager + Workers)
    │   └─ Dynamic routing? → Multi-Agent Group Chat (collaborative)
    │
    ├─ Control desktop/browser?
    │   └─ OS Agent (Anthropic Computer Use + MCP for system access)
    │
    └─ Hybrid (combination of above)?
        └─ Planning Agent that coordinates:
            - Tool-using for actions (MCP)
            - RAG for knowledge (MCP)
            - Multi-agent for delegation (A2A)
            - Code agents for implementation

Protocol Selection:


Core Concepts (Vendor-Agnostic)

Control Flow Options

Memory Types (Tradeoffs)

Failure Handling (Production Defaults)

Do / Avoid

Do

Avoid

Navigation: Core Concepts & Patterns

Governance & Maturity

Modern Best Practices

Context Management

Core Operational Patterns


Navigation: Protocol Implementation

Building MCP servers, tool integration, and standardized data access

End-to-end checklist for workflow-focused MCP servers (design → build → test)

Agent-to-agent communication, task delegation, and coordination protocols

When to use MCP vs A2A, decision framework, and selection criteria


Navigation: Agent Capabilities

Action loops, planning, observation, and execution patterns

Contextual retrieval, agentic RAG, and hybrid search strategies

Session, long-term, episodic, and task memory architectures

Tool schemas, validation, error handling, and MCP integration

Skill Packaging & Sharing

Scaffold, validate, package, and share Claude skills with teams (Slack-ready)

Request/response envelopes, safety gates, streaming/async patterns, error taxonomy

Manager-worker, sequential, handoff, and group chat orchestration

Desktop automation, UI grounding, and computer use patterns

SE 3.0 paradigm, autonomous coding patterns, SWE-Bench, HyperAgent architecture


Navigation: Production Operations

OpenTelemetry GenAI, metrics, LLM-as-judge, and monitoring

Multi-layer guardrails, HITL controls, NIST AI RMF, production checklists


Navigation: Templates (Copy-Paste Ready)

Checklists

Go/No-Go safety gate: permissions, HITL triggers, eval gates, observability, rollback

Core Agent Templates

Full production spec: memory, tools, RAG, evaluation, observability, safety

Domain-specific agents with custom capabilities and constraints

Minimal viable agent for rapid prototyping

RAG Templates

Simple retrieval-augmented generation pipeline

Contextual retrieval, reranking, and agentic RAG patterns

Semantic + keyword search with BM25 fusion

Tool Templates

MCP-compatible tool schemas with validation and error handling

Testing, security, and production readiness checks

Multi-Agent Templates

Orchestration pattern with task delegation and result aggregation

Dynamic routing with quality assessment and domain classification

Service Layer Templates

Auth, pagination, validation, error handling; extend with model lifespan loads, SSE, background tasks


External Sources Metadata

Authoritative sources spanning standards, protocols, and production agent frameworks


Shared Utilities (Centralized patterns — extract, don't duplicate)


Related Skills

This skill integrates with complementary Claude Code skills:

Core Dependencies

Production & Operations

Supporting Patterns

Usage pattern: Start here for agent architecture, then reference specialized skills for deep implementation details.


Usage Notes for Claude


Key Modern Migrations

Traditional → Modern:


AI-Native SDLC Pattern (Delegate → Review → Own)

Executive Briefing (Optional)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.