create-agent-harness

Installation
SKILL.md

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
Installs
16
Repository
afonsoft/skills
GitHub Stars
4
First Seen
Aug 26, 2026
create-agent-harness — afonsoft/skills