Harness Engineering Plugin

Shift your core engineering work from "writing code" to "designing environments where AI agents work reliably."
Harness Engineering Plugin packages this methodology into ready-to-use Skills, Commands, and Agents -- install workflow skills, then configure the project checks that actually apply.
Codex local quick start (v2.4.0)
Requires Python 3.10+; local development/tests use only standard libraries. From this repository, preview and adopt a project:
python3 scripts/harness_init.py --tool codex --project ../my-project --dry-run --adopt-existing
python3 scripts/harness_init.py --tool codex --project ../my-project --adopt-existing
Project delivery installs 19 skills in .agents/skills/<name> and supporting resources in .agents/harness. Existing project rules remain outside the managed AGENTS block. Conflicting resources/configuration are reported before writes; review updates rather than overwriting existing settings. GitHub sync and automatic commits are disabled. Configure verification as argv arrays in .harness/config.json, then run:
python3 .agents/harness/scripts/codex_hook.py verify --project .
python3 .agents/harness/scripts/harness_state.py checkpoint --project . --task F001 --next-action "run checks"
Alternatively use --delivery plugin and load this checkout through Codex's native local plugin flow; do not also install project skills. Root plugin.json explicitly selects hooks/codex.json through extensions.com.openai; the legacy Codex manifest remains a fallback. Review hook trust with /hooks. Project-only skills do not activate hooks; no global configuration is written. See platform matrix, Codex adapter and GPT-6 workflow guidance. Named command/agent files are Claude-specific; model selection stays with the host/user.
To uninstall project delivery, review and remove the generated .agents/harness, .agents/skills/<name>, managed AGENTS block and .harness/config.json; retain your own rules/features/progress. Uninstall plugin delivery through the host plugin UI. Legacy docs/claude-progress.json is read-only fallback; new checkpoints use docs/harness-progress.json.
Validation: python3 scripts/validate.py. Actual measurements and unverified host capabilities are listed in evaluation.
Quick Start
Step 1: Install
Option A -- Marketplace (recommended, auto-updates)
In a Claude Code conversation:
/plugin marketplace add https://raw.githubusercontent.com/huangbaixun/harness-engineering/main/.claude-plugin/marketplace.json
After subscribing, select it from the plugin list. Claude Code will prompt you when new versions are available.
Option B -- Clone from GitHub
git clone https://github.com/huangbaixun/harness-engineering.git
claude --plugin-dir ./harness-engineering
Good for local evaluation before committing to long-term use.
Option C -- Official Marketplace (coming soon)
# Available after Anthropic review
claude plugins add harness-engineering
Or search "Harness Engineering" in Cowork and click install.
Step 2: Initialize a new project
In Claude Code, say:
"Help me initialize this project's Harness"
Preview offline Claude adoption from this repository:
python3 scripts/harness_init.py --tool claude --project ../my-project --adopt-existing --dry-run
python3 scripts/harness_init.py --tool claude --project ../my-project --adopt-existing
It creates/updates the managed CLAUDE.md block, .harness/config.json, root
features.json if absent, .claude/harness resources and .claude/skills. Existing
settings and permissions remain untouched; no hooks or global configuration are
activated. Plugin delivery uses --delivery plugin instead and copies no skill tree.
Discover the actual project commands and configure verification_commands as argv
arrays, then execute python3 .claude/harness/scripts/harness_runtime.py verify --project .. Empty checks are not a readiness signal. Save neutral progress through
the checkpoint helper when needed. Design/docs templates are available on demand;
the initializer does not manufacture project architecture, ADRs or test results.
Trusted plugin SessionStart emits bounded state; workflows are selected by relevant
task intent. Local adapter fixtures do not prove actual native lifecycle execution.
Workflow cleanup (2.4.0)