create-agent-harness
БесплатноЗапускает вложенные скриптыНе проверенUse when initializing or migrating an AI agent harness in a repository.
от afonsoft885 установок в других каталогахОб этом скилле
Create Agent Harness
Generate — or migrate — the agent harness of a repository into the modern Claude Code + Agent Skills structure. A harness is everything the model cannot do alone: orientation before acting, state that survives context resets, and computational guardrails that cannot be ignored. The skill discovers the repository, migrates any legacy harness, generates the missing artifacts and validates the result with deterministic commands.
Scope: primary
CLAUDE.mdplus.claude/. The same source also serves Devin CLI (which reads.claude/natively whenread_config_from.claudeis set). For Cursor, OpenCode, Gemini and Antigravity generate thin platform-specific directories that reference.claude/where possible. Legacy structures are migrated into.claude/and the originals removed.
Supported Platforms
| Platform | Config file | Skills dir | Hooks dir | Notes |
|---|---|---|---|---|
| Claude Code | CLAUDE.md |
.claude/skills/ |
.claude/hooks/ |
Primary target, single source of truth |
| Devin CLI | AGENTS.md |
.devin/skills/ |
.devin/hooks/ |
Reads .claude/ natively via read_config_from |
| Devin Desktop | AGENTS.md |
.devin/skills/ |
.devin/hooks/ |
Same as Devin CLI |
| OpenCode | AGENTS.md |
.opencode/skills/ |
.opencode/hooks/ |
Thin config, MCP under mcp key |
| Cursor | AGENTS.md |
.cursor/skills/ |
.cursor/hooks/ |
Thin .cursorrules migration to .claude/rules/ |
| Gemini CLI | AGENTS.md |
.gemini/skills/ |
.gemini/hooks/ |
Shared .gemini/ for IDE and CLI |
| Antigravity IDE | AGENTS.md |
.gemini/skills/ |
.gemini/hooks/ |
Same as Gemini CLI |
| Antigravity CLI (agy) | AGENTS.md |
.gemini/antigravity-cli/skills/ |
.gemini/antigravity-cli/hooks/ |
Separate from IDE |
Strategy: Generate
CLAUDE.mdas the Single Source of Truth, then createAGENTS.mdas a thin symlink/reference for non-Claude platforms. Claude Code readsCLAUDE.mdnatively; the others readAGENTS.md.
When to Use
"prepare this repo for AI agents" / "configure the harness for this repo"
"create the CLAUDE.md" / "improve the CLAUDE.md"
"migrate AGENTS.md / .agents/ / .cursorrules to .claude/"
"configure permissions, hooks or subagents"
"the agent forgets everything between sessions" / "configure memory"
User asks or mentions this skill in English (e.g., "use /create-agent-harness", "run create-agent-harness").
O usuário pede ou menciona esta skill em português (ex.: "use /create-agent-harness", "execute create-agent-harness").
Do NOT Use For
| Request | Use instead |
|---|---|
| Build an MCP server | building-mcp-servers |
| GitHub Actions agentic workflows (gh-aw) | github-agentic-workflows |
| A harness for JetBrains/Copilot only | Out of scope — refuse and explain why |
Keeping AGENTS.md as the source of truth |
Out of scope — this skill migrates it into CLAUDE.md |
Immediate Execution
On invocation, start Phase 0 right away. Do not ask what to do — invoking the skill is the request.
The discovery gate at the end of Phase 1 is the only mandatory pause. Nothing is created, moved or deleted before it; everything after it runs autonomously.
Core Principle
Agent = Model + Harness
Every component exists because the model cannot do something on its own. Design for obsolescence. Two reliability loops guide the design:
- Feedforward — orient BEFORE acting (
CLAUDE.md, rules, skills, memory read) - Feedback — validate AFTER acting (lint, tests, CI, hooks, memory write)
Prefer computational controls over prompts: settings.json and hooks cannot be ignored; a prompt can.
❗ Forbidden: invent context. Every statement in a generated artifact must be evidenced by the target repository. Where evidence is missing, write
TODO:and ask.
Process
graph LR
P[0. Pre-flight] --> D[1. Discovery]
D --> G{Gate}
G --> M[2. Migration]
M --> A[3. Artifacts]
A --> V[4. Validation]
| Phase | Goal |
|---|---|
| 0. Pre-flight | Execution rules, git state, dedicated branch |
| 1. Discovery | Evidence-based report plus legacy harness inventory, then pause |
| 2. Migration | Consolidate every legacy artifact into .claude/ and remove the originals |
| 3. Artifacts | Generate or complete CLAUDE.md and .claude/ |
| 4. Validation | Deterministic checks, final report, commit and PR proposal |
Execution Rules
Breaking any of these invalidates the run.
- Never invent context. Every generated statement must be evidenced by the repository — code, configs, docs. Where evidence is missing, write
TODO:and ask. Never fill a gap with a plausible guess. - Plan before acting. Present the Discovery Summary and the Migration Plan and wait for human confirmation before creating, moving or deleting any file.
- Dedicated branch. Never work on
main,masterordevelop. Create `feature/{A
Установить create-agent-harness в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create-agent-harness?
Use when initializing or migrating an AI agent harness in a repository.
Как установить скилл create-agent-harness?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-agent-harness запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic