domain-agentic-context
БесплатноБез исполняемых скриптовНе проверенSpecialized agentic and context engineering prompt methodology for Claude. Use when designing AI agents — system prompts, tool definitions, context window…
от majiayu000★ 31 звезда на GitHubОб этом скилле
Agentic & Context Engineering — Prompt Methodology
Calibration: Tier 1 (Model-compatible) — runs cleanly on the current dual-primary tier (Opus 5.5, Sonnet 5.5) and on Haiku 5.5. Structured retrieval, rule evaluation, or template lookup — output shape does not depend on the model. Fallback-graceful on Opus 5 / Sonnet 5; legacy-graceful on Sonnet 4.6. See repository README for model compatibility.
Specialized approaches for designing AI agent systems: the system prompts agents follow, the tool definitions they consume, the context architectures they operate within, the failure modes they encounter, and the evaluation criteria that measure their performance.
This Skill is about designing agents, not using them. Use it when the task is authoring an agent's behavioral instructions, tool interfaces, or context management strategy. Do not use it for the software infrastructure that hosts agents (servers, APIs, deployment) — standard technical approaches cover that.
Refusal & fallback semantics (5.5 generation)
When designing agents that build on the 5.5 generation (Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable 5.1), account for safety-classifier refusals as a first-class signal — not an error condition.
Refusal categories (from Anthropic's refusals-and-fallback page):
cyber— could enable cyber harm (malware, exploits). Benign cybersecurity work can also trigger.bio— biological harm risk. Benign life-sciences work can also trigger.frontier_llm— could assist development of competing AI models.reasoning_extraction— asks the model to reproduce its internal reasoning in the response text. Fix: "If your prompts ask the model to include its reasoning in the response, remove those instructions, because they invitereasoning_extractiondeclines. With adaptive thinking, read the reasoning from summarized thinking blocks instead (display: "summarized"). You can still ask for a short explanation of the answer or a summary of the actions taken" [Anthropic docs — Sonnet 5.5 prompting guide].general_harms— catch-all category for other flagged content.
fallback content block and usage.iterations accounting. A response served through a fallback carries a fallback content block marking the model boundary: {"type": "fallback", "from": {"model": ...}, "to": {"model": ...}}. The usage.iterations array records every attempt — each declined attempt as type: "message", the served attempt as type: "fallback_message". The top-level model field names the model that produced the returned message.
Server-side fallback API — beta headers:
server-side-fallback-2026-07-01— supports both"default"mode (Anthropic-recommended per-category fallback routing) and explicit-list mode (up to 3 fallback models).server-side-fallback-2026-06-01— legacy header, explicit-list only.
These header names are the v4.0-era values; verify them against the current refusals-and-fallback page before hard-coding. Server-side fallback is Claude API only — not available on Amazon Bedrock, Google Cloud, or Microsoft Foundry. On those platforms use client-side SDK middleware.
Per-model server-side fallback [Anthropic docs; landscape 2026-10 §4.6, verified 2026-10-22]. Do not assume one fallback destination for the whole generation:
| Model | Server-side fallback | Design consequence |
|---|---|---|
| Opus 5.5 | fallbacks: "default" (beta) |
Opt in explicitly; instrument the fallback block. |
| Sonnet 5.5 | Retries cyber and frontier_llm declines on Sonnet 5 only. "It doesn't retry bio, reasoning_extraction, or general_harms declines." [Anthropic docs — Sonnet 5.5 prompting guide] |
Handle the three non-retried categories client-side. |
| Haiku 5.5 | None — no server-side fallback | A declined Haiku 5.5 sub-agent call is not retried; the orchestrator owns the refusal path. |
| Fable 5.1 | Opus 4.8 and Opus 5 | Agent output must be correct-shape on the fallback target. |
Refusal billing (changed 2026-09-24). A refusal before any output is billed in low-false-positive categories. Count refusals in cost dashboards as well as in safety dashboards.
Instrument refusals as their own signal. A refusal is an HTTP 200 with stop_reason: "refusal". Error-rate monitoring and 5xx dashboards never see refusals. Emit one event per refusal and one per fallback-served response (identified by the fallback_message entry in usage.iterations); alert on the gap between the two counts. When designing agents, treat refusal instrumentation as a required observability layer — the alert path is different from the error path.
Give sub-agent calls their own fallback. The fallbacks parameter does not propagate into model calls made from inside tool execution. Each agent surface configures fallback independently.
Harness rules (5.5 generation)
Four rules for the loop around the model rather than the prompt inside it. Design them into any agent harness this Skill
Установить domain-agentic-context в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл domain-agentic-context?
Specialized agentic and context engineering prompt methodology for Claude. Use when designing AI agents — system prompts, tool definitions, context window architectures, failure mode planning, multi-agent coordination, agent evaluation. Trigger on: "design an agent," "build a system prompt for an agent," "architect an agent's context," "design tool definitions," "agent system prompt," "context window architecture," "tool interface design," "evaluate agent behavior," "multi-agent coordination," "context engineering for agents," "ACI design." Provides 12 tested approaches for agent architecture (designing agents, not using them). Do NOT use for evaluating or scoring individual non-agent prompts (use prompt-validation if available). Do NOT use for general software architecture that hosts agents (use standard technical reasoning for that).
Как установить скилл domain-agentic-context?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл domain-agentic-context запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic