From sth-harness
Detect which AI tool the user runs and write the matching ai-harness adapter file(s). Claude Code, Codex, Pi, GitHub Copilot CLI, and Google Antigravity CLI are fully automated; other tools are recognized and given a manual snippet. Used by /sth-harness:init and the Codex/Pi/Copilot CLI/AGY sth-harness skill.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sth-harness:harness-tool-linkingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Wire the user's AI tool to the installed harness so the tool bootstraps from
Wire the user's AI tool to the installed harness so the tool bootstraps from
ai-harness/START-HERE.md. Run AFTER ai-harness/ is installed.
CLAUDECODE or CLAUDE_PLUGIN_ROOT set, propose
Claude Code and ask the user to confirm or pick another.agy), propose Google Antigravity
CLI and ask the user to confirm or pick another.Open ai-harness/tool-linking.md — it holds the recommended adapter file and
snippet for each tool. Use it as the source of truth for wording.
Run the bundled wiring script:
scripts/link-claude-code.sh "$PWD"
In Claude Code, CLAUDE_PLUGIN_ROOT/scripts/link-claude-code.sh may be
available; otherwise resolve the script relative to the loaded plugin skill
path.
Report its per-file actions (created | appended | skipped). End state:
Claude Code reads CLAUDE.md -> @AGENTS.md -> AGENTS.md -> bootstraps
ai-harness/START-HERE.md. The script is idempotent and never clobbers
existing content.
Run the bundled wiring script:
scripts/link-codex.sh "$PWD"
In Codex, resolve the script relative to the loaded plugin skill path. Report its
per-file action (created | appended | skipped). End state: Codex reads
AGENTS.md -> bootstraps ai-harness/START-HERE.md. The script is idempotent
and never clobbers existing content.
Run the bundled wiring script:
scripts/link-pi.sh "$PWD"
In Pi, resolve the script relative to the loaded package skill path. Report its
per-file action (created | appended | skipped). End state: Pi reads
AGENTS.md -> bootstraps ai-harness/START-HERE.md. The script is idempotent
and never clobbers existing content.
Run the bundled wiring script:
scripts/link-copilot-cli.sh "$PWD"
In Copilot CLI, resolve the script relative to the loaded plugin skill path.
Report its per-file action (created | appended | skipped). End state: Copilot
CLI reads AGENTS.md -> bootstraps ai-harness/START-HERE.md. The script is
idempotent and never clobbers existing content.
Run the bundled wiring script:
scripts/link-agy.sh "$PWD"
In AGY, resolve the script relative to the loaded plugin skill path. Report its
per-file action (created | appended | skipped). End state: AGY reads
AGENTS.md -> bootstraps ai-harness/START-HERE.md. The script is idempotent
and never clobbers existing content.
Auto-wiring for these is a planned extension. For now:
tool-linking.md):
Copilot IDE -> .github/copilot-instructions.md; Gemini -> GEMINI.md;
Aider -> CONVENTIONS.md.ai-harness/tool-linking.md.Point the user at the general pattern in ai-harness/tool-linking.md ("How to
add an adapter") and let them create the file their tool expects.
State which adapter file(s) were created/appended/skipped, or which snippet was printed for manual setup.
npx claudepluginhub danielemiliogarcia/sth-harness-plugin --plugin sth-harnessGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.