Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

create-agent-harness

БесплатноЗапускает вложенные скриптыНе проверен

Use when initializing or migrating an AI agent harness in a repository.

afonsoftот 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.md plus .claude/. The same source also serves Devin CLI (which reads .claude/ natively when read_config_from.claude is 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.md as the Single Source of Truth, then create AGENTS.md as a thin symlink/reference for non-Claude platforms. Claude Code reads CLAUDE.md natively; the others read AGENTS.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.

  1. 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.
  2. Plan before acting. Present the Discovery Summary and the Migration Plan and wait for human confirmation before creating, moving or deleting any file.
  3. Dedicated branch. Never work on main, master or develop. Create `feature/{A
Полный SKILL.md на ClawHub

Установить 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить create-agent-harness с