agent-harness-design
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
Design a scoped multi-agent harness for a requested long-running AI workflow. Preserve the user-approved product boundary while using Generator-Evaluator separation, testable sprint contracts, context management, and task-appropriate validation. Based on Anthropic Engineering
$ npx -y skills add AnastasiyaW/codex-claude-code-config --skill harness-design --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/harness-designContext preview
The summary Claude sees to decide when to auto-load this skill.
Design a scoped multi-agent harness for a requested long-running AI workflow. Preserve the user-approved product boundary while using Generator-Evaluator separation, testable sprint contracts, context management, and task-appropriate validation. Based on Anthropic Engineering
name: harness-design description: > Design a scoped multi-agent harness for a requested long-running AI workflow. Preserve the user-approved product boundary while using Generator-Evaluator separation, testable sprint contracts, context management, and task-appropriate validation. Based on Anthropic Engineering patterns. Use when: "build a harness", "multi-agent architecture", "agent orchestration", "generator-evaluator", "long-running app", "harness design", "agent pipeline", "quality evaluation loop", "sprint contract", "build app with agents", "Claude Agent SDK architecture", or when building complex full-stack apps that need planning → generation → evaluation cycles. Also use when discussing context degradation, self-evaluation bias, or assumption testing in AI workflows. Do NOT use to stress-test or critique an already-written plan document; use plan-swarm-review for that (this skill designs the harness, it does not review plans). user-invocable: true model: opus
Источники:
См. также: `references/proof-loop-research.md` — детали paper + repo mapping
| Сигнал | Solo agent | Harness | |--------|-----------|---------| | Scope | Одна фича, bug fix, refactor | Full-stack app, multi-feature product | | Длительность | Bounded work with direct evidence | Work that needs durable state, resumes, or independent evaluation | | Качество | Baseline достаточно | Нужен polish, originality, craft | | Стоимость | В рамках явного бюджета задачи | Бюджет и stop condition фиксируются для этой задачи | | Проверка | Прямой task-appropriate proof | Независимая проверка и runtime proof, если требуются контрактом |
**Правило:** Evaluator оправдан когда задача **за пределами reliable solo performance**. Не фиксированное yes/no — зависит от complexity tier.
---
---
Перед каждой итерацией:
1. Planner определяет фичу и user story 2. Generator и Evaluator ДОГОВАРИВАЮТСЯ о: - Что значит "done" для этой фичи - Конкретные testable success criteria - Что НЕ входит в scope 3. Generator реализует 4. Evaluator валидирует по контракту 5. Если конкретный критерий не пройден → конкретный feedback → повтор с п.3 только для этого критерия
**Контракт = мост** между user stories и implementation. Без него evaluator судит по своим критериям, generator не знает что проверять.
Останавливай цикл, когда все утверждённые criteria имеют требуемое доказательство. Не назначай число раундов заранее; продолжай только при наблюдаемом незакрытом критерии или новом опровергающем evidence.
---
Модели **уверенно хвалят свою работу** — даже когда качество посредственное. Это не баг модели, а свойство: генератор оптимизирован на producing, не на judging.
1. Evaluator выдаёт оценку 2. Ты проверяешь: согласен ли с оценкой? 3. Расхождение → обновляешь QA промпт 4. Типичные проблемы: - Superficial testing, пропускает edge cases - Premature approval посредственной работы - Слишком строгие критерии → бесконечные итерации 5. Повторяешь пока evaluator judgment ≈ твой judgment
---
**1. Design Quality** — Целостность > Дизайн ощущается как единое целое, а не коллекция частей?
**2. Originality** — Уникальность > Штраф за:
**3. Craft** — Техническое мастерство
**4. Functionality** — Работоспособность > Пользователь завершает задачу без угадывания?
Фразы в criteria **прямо влияют** на вывод генератора:
---
Модели теряют coherence по мере заполнения context window
A practical configuration kit for Claude Code, Codex, and other coding agents. It contains architectural principles, enforcement hooks, skills, drop-in rules, starter templates, and dynamic-workflow commands.
Designing agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool…
Use when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue…
Практическая инженерия диффузионных моделей: архитектуры, обучение, инференс, оптимизация памяти. Использовать при любых задачах…
Expert prompt engineering for FLUX.2 [klein] image generation and editing model. Use this skill whenever the user wants to create…
Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets,…
Forensic image-to-prompt compiler for image generation models. Use this skill whenever the user wants to: convert/describe an…