К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot

ai-agents-architect — скилл для Claude Code: установка и что делает

Скилл раскладывает агента на части: цикл ReAct, планирование, слои памяти, оркестрация субагентов. Пригодится, когда агент уже пишется и надо решить, как он будет ломаться и восстанавливаться.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add sickn33/agentic-awesome-skills --skill ai-agents-architect -a claude-code
Открыть на GitHub

Что делает ai-agents-architect

Скилл описывает, из чего собирается агент: цикл ReAct с наблюдением после каждого действия, Plan-and-Execute с перепланированием, реестр инструментов с ленивой загрузкой, многоуровневую память и паттерн супервизора, который раздаёт задачи специалистам. Внутри лежит набор паттернов и разбор типовых поломок, готового кода нет.

Отдельный блок посвящён sharp edges, то есть местам, где агенты ломаются. Зацикливание без max_iterations, расплывчатые описания инструментов, проглоченные ошибки тула, память, куда сваливают все наблюдения подряд. Для каждого случая есть симптом, объяснение и что править. Если в вашем цикле нет лимита итераций и таймаута, начинайте с этого: счёт за API растёт молча, а приложение просто висит.

Перед установкой нужны опыт работы с LLM API, понимание function calling и базовый промпт-инжиниринг. Мультиагентную схему скилл советует включать только с обоснованием: координация между агентами добавляет работы при отладке.

Какие задачи решает

  • выбрать между ReAct и Plan-and-Execute под конкретную задачу
  • поставить лимит итераций, таймаут и потолок стоимости для агента
  • спроектировать память так, чтобы контекст не распухал
  • решить, нужен ли супервизор и сколько специалистов заводить
  • добавить чекпоинты, чтобы агент продолжал работу после сбоя

Примеры запросов агенту

  • Спроектируй цикл агента для обработки заявок: ReAct или Plan-and-Execute, и почему?
  • Проверь агент в `agent.py` на зацикливание и добавь `max_iterations` с таймаутом
  • Разложи память агента на рабочую, эпизодическую и семантическую, что хранить в каждой?

Как установить ai-agents-architect

1Через Skills CLI (Vercel)

npx skills add sickn33/agentic-awesome-skills --skill ai-agents-architect -a claude-code

2Вручную: положить файлы

~/.claude/skills/ai-agents-architect/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/ai-agents-architect/

Из того же набора80

Весь набор →
docker-expert sickn33 Скилл для ИИ-агента, который разбирает Dockerfile, multi-stage сборки и безопасность контейнеров. Пригодится, когда нужно навести порядок в образах и Compose. Claude Code CX Codex Cursor +1 27 200установок typescript-expert sickn33 Скилл для работы с TypeScript и JavaScript: разбирает типы, ускоряет проверку и помогает с миграциями. Пригодится, когда проект на TS растёт и компилятор начинает тормозить. Claude Code CX Codex Cursor +1 12 600установок browser-automation sickn33 Скилл помогает проверять браузерные сценарии по состоянию интерфейса и результату операции. Подходит для UI-тестов, диагностики таймингов и разрешённого сбора данных. Claude Code CX Codex Cursor +1 6 700установок nextjs-supabase-auth sickn33 Скилл настраивает Supabase Auth в Next.js App Router: клиенты, middleware, OAuth callback и Server Actions. Пригодится для защиты маршрутов и работы с сессиями. Claude Code CX Codex Cursor +1 6 500установок 3d-web-experience sickn33 Помогает создавать и отлаживать 3D-сцены, конфигураторы товаров и портфолио для веба. Разбирает выбор стека, загрузку моделей и производительность. Claude Code CX Codex Cursor +1 5 200установок prisma-expert sickn33 Скилл помогает разбирать схемы Prisma, миграции и запросы. Пригодится, когда нужно найти причину ошибки или проверить изменения перед деплоем. Claude Code CX Codex Cursor +1 4 200установок playwright-skill sickn33 Скилл для написания и запуска тестов браузера через Playwright: проверка вёрстки на разных экранах, скриншоты, тесты логина и заполнения форм. Код выполняется локально через Node. Claude Code CX Codex Cursor +1 3 900установок game-development sickn33 Координирует структуру игры: задаёт базовые принципы архитектуры и перенаправляет агента к подскиллам для веба, ПК, мобильных платформ или VR. Claude Code CX Codex Cursor +1 3 800установок

Похожие

deepinit Yeachan-Heo Проходит по дереву репозитория и кладёт в каждую папку AGENTS.md: что там лежит, как связаны части и что агенту знать перед правками. Claude Code CX Codex Cursor +1 1 000установок autopilot Yeachan-Heo Скилл, который берёт описание задачи и доводит её до рабочего кода: анализирует требования, проектирует решение, кодит, тестирует и валидирует. Нужен, когда хочешь сказать «построй мне это» и получить готовый результат. Claude Code CX Codex Cursor +1 999установок deep-interview Yeachan-Heo Скилл ведёт сократический допрос по вашей идее, считает неоднозначность по взвешенным измерениям и не даёт агенту писать код, пока оценка не опустится ниже порога. Claude Code CX Codex Cursor +1 998установок paper-spine WUBING2023 Скилл для подготовки научных статей с опорой на источники, веб-интерфейсом настроек и проверкой цитирования прямо в одной задаче. Claude Code CX Codex Cursor +1 1 200установок omc-setup Yeachan-Heo Мастер первичной настройки и обновления oh-my-claudecode. Настраивает файлы CLAUDE.md, строку статуса HUD и параметры команды агентов. Claude Code CX Codex Cursor +1 987установок clickhouse-best-practices ClickHouse Inc Скилл с набором правил для проверки схем, запросов и конфигураций ClickHouse. Помогает агентам избежать типичных ошибок в дизайне таблиц, оптимизации JOIN и батчировании данных. Claude Code CX Codex Cursor +1 21 600установок setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. Claude Code 1 052 851установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. Claude Code 711 230установок

Вопросы о ai-agents-architect

Как установить ai-agents-architect в Claude Code?

Выполните npx skills add sickn33/agentic-awesome-skills --skill ai-agents-architect -a claude-code. Файл скилла появится по пути ~/.claude/skills/ai-agents-architect/SKILL.md.

Что делает ai-agents-architect?

Даёт агенту архитектурную рамку: какие бывают циклы, как устроена память, когда нужен супервизор. Плюс перечисляет поломки вроде зацикливания и потерянных ошибок инструментов.

Что нужно, чтобы скилл сработал?

Опыт работы с LLM API, понимание function calling и базовый промпт-инжиниринг. Без этого паттерны будет трудно приложить к своему коду.

Исходный текст

SKILL.md · MIT
---
name: ai-agents-architect
description: Expert in designing and building autonomous AI agents. Masters tool
  use, memory systems, planning strategies, and multi-agent orchestration.
risk: none
source: vibeship-spawner-skills (Apache 2.0)
date_added: 2026-02-27
---

# 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.

© sickn33 · MIT · sickn33/agentic-awesome-skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой