harness

Inspects, diagnoses, and improves AI coding agent harness configurations across Claude Code, Codex, and Copilot.

6|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/emilianoeloi/cowboy --skill harness-emilianoeloi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: harness
Source: https://github.com/emilianoeloi/cowboy/tree/main/.github/skills/harness
Command: npx skills add https://github.com/emilianoeloi/cowboy --skill harness-emilianoeloi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AI coding agents like Claude Code, OpenAI Codex, and GitHub Copilot each load instructions, skills, hooks, and rules from different files and directories, so teams struggle to know which configuration is actually active, why a rule is being ignored, or how to port behavior between hosts. This Skill audits the real state of your development harness and runtime harness (Google ADK) and guides targeted fixes. ## Core Features & Use Cases - Harness Inventory and Classification: Scans AGENTS.md, CLAUDE.md, .claude/, .codex/, .agents/, .github/, tests, and CI to classify every documented artifact as active, present-but-disconnected, planned, or absent. - Ignored-Rule Diagnosis: Locates a failing rule, finds its enforcement mechanism, verifies discovery via /doctor, /skills, and /hooks, then strengthens the right layer with deterministic sensors like tests, lint, pre-commit, or CI. - Cross-Host Porting: Converts hooks, subagents, and skills between Claude Code, Codex, and GitHub Copilot formats, including hook input format differences like tool_input.command versus tool_input.filePath. - Use Case: A team notices Codex ignores a rule that works in Claude Code. The Skill inventories the repo, finds the rule only exists in .claude/, and ports it to AGENTS.md plus a .codex/hooks.json hook with a tested script. ## Quick Start Ask the agent to audit which harness rules and hooks are actually active in this repository and fix any that are documented but not enforced.

Frequently Asked Questions about harness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose why an AI coding agent ignores my project rules?▼

First locate the rule with ripgrep across AGENTS.md, CLAUDE.md, .claude, .codex, and tests, then find its enforcement mechanism such as hooks, tests, or CI. Confirm discovery using /doctor and /hooks in Claude Code or /skills and /hooks in Codex, then add a deterministic sensor if the rule keeps failing.

How do I share skills between OpenAI Codex and GitHub Copilot?▼

Place skills in .agents/skills/*/SKILL.md, which both Codex and GitHub Copilot discover automatically without duplication. Do not create .github/copilot-instructions.md alongside AGENTS.md, since VS Code treats them as alternatives and recommends using only one.

Can Claude Code hooks work automatically in Codex or Copilot?▼

No, hooks in .claude/settings.json are not ported automatically. Recreate them in .codex/hooks.json for Codex or .github/hooks/*.json for Copilot, adapting the input format since Codex exposes patches via tool_input.command while Copilot uses tool_input.filePath.

Why is my Codex hook not executing?▼

Codex hooks only load in trusted projects, so confirm the project is trusted and the hook is approved in /hooks. Also verify the matcher is correct and test the script directly with representative JSON on stdin.

Does AGENTS.md configure Google ADK runtime agents?▼

No, AGENTS.md configures the Codex development agent, not Google ADK runtime agents. Only treat it as a runtime prompt if application code explicitly loads it; otherwise place runtime instructions in the prompt, spec, or configuration the ADK agent actually consumes.