
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A governance harness for Claude Code and Codex CLI that bundles four MCP servers with quality gate hooks and enterprise workflow skills.
claude-harness is cataloged as an MCP server attributed to anotherben. A governance harness for Claude Code and Codex CLI that bundles four MCP servers with quality gate hooks and enterprise workflow skills. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for claude-harness are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, the global install sets up the four bundled MCP servers and registers them in both Claude and Codex configuration.
Cortex Engine supports eight tree-sitter languages: JavaScript, TypeScript, TSX, Python, Go, Rust, Java, and C#.
README.md · 53058c3162e1 · Fetched 2026-11-13 10:24:06 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Welcome to claude-harness.
Vibe prompt in, enterprise quality out.
A governance harness for Claude Code and Codex CLI that enforces planning, TDD, evidence-based verification, independent review, and institutional knowledge capture — through hooks that can't be bypassed.
This is the main entrypoint for the platform and the fastest way to get a project into enterprise mode is:
./install.sh --global (recommended for most environments)./install.sh --project <path> for repo-specific MCP wiring./scripts/install-codex-overhead-savings.sh to install the portable Codex
startup-overhead reduction bundle on another serverCurrent release: v2.2.2
v2.2.2 — welcome page refreshed and startup guidance clarified. The main README now includes clearer entrypoint onboarding, including the recommended global install path for getting projects into enterprise mode.
Four built-in MCP servers. An Obsidian vault as the shared brain. 71 MCP tools across code, memory, vault, and skill retrieval. 96 current skills. 47 quality gate hooks. 11 slash commands. Zero escape hatches.
~/.claude-harness for bundled shared runtimes.~/.claude.json.codex mcp entries to the same runtime paths.cortex-memory stays global at ~/.cortex-memory, with the installer ensuring both Claude and Codex point at it.cortex-memory as a first-class MCP package in the harness distribution..mcp.json, Codex MCP setup, and runtime checks all include the memory server.| Component | v2.1.0 | v2.2.0 |
|---|---|---|
| MCP servers | 3 | 4 |
| MCP tools | 57 | 71 |
| Default transcript platforms | 1 | 2 |
.claude/ directory. They drifted out of sync, and agents exploited stale copies that lacked newer security gates.~/.claude/ once. All projects share the same hooks and skills. Updates apply everywhere instantly. Per-project setup only creates .mcp.json and CLAUDE.md.| Attack Vector | Protection |
|---|---|
Agent touches plan-approval marker | HMAC-signed markers — unsigned markers rejected |
Agent touches vault-context marker | HMAC-signed markers — unsigned markers rejected |
| Agent writes source files via Bash scripts | audit-bash-file-writes.sh detects and reverts |
Agent echos fake test summary to inflate counts | Output parser strips non-ANSI lines, uses last match |
| Agent hand-writes evidence JSON | HMAC integrity signature on evidence files |
Agent cp/sed -i to modify hooks | block-bash-file-writes.sh blocks write verbs on protected paths |
| Agent uses Edit/Write on hooks or settings | protect-files.sh blocks unless claude-unlock code provided |
| Agent reads hook source to find exploit patterns | HMAC salts are in the hooks themselves — forging requires the agent to deliberately commit fraud visible in the session transcript |
claude-unlock — 2FA for Infrastructure EditsWhen the agent legitimately needs to modify protected files (hook updates, settings changes), the user provides a one-time elevation code:
$ claude-unlock
Elevation code: 847291
Expires: 10 minutes
Single use — burned after one write operation
The agent includes ELEVATE=847291 in its command or edit. The hook verifies the code, allows the write, and burns the code. Marker forgery (/tmp/claude-plan-approved-*) is never elevatable — no code can unlock it.
Install: cp ~/claude-harness/hooks/claude-unlock.sh /usr/local/bin/claude-unlock
| Component | v1.9.0 | v2.0.0 |
|---|---|---|
| Hooks | 37 | 44 |
| Skills | 42 | 64 |
| Commands | 0 | 11 |
| Install modes | 1 (per-project) | 4 (full, global, project, update) |
AI coding tools are powerful but undisciplined. Left to defaults, they:
touching files that hooks check for existenceclaude-harness makes it physically impossible to cut corners.
Your agent reads a 400-line file (3,300 tokens) to find one function (380 tokens). 89% waste.
Cortex Engine indexes your entire codebase into a real-time SQLite store with AST parsing, semantic tags, and token-savings telemetry. Agents query specific symbols instead of reading files.
cortex_outline("src/routes/orders.js")
→ [function] createOrderRoutes L1-200
[route] POST /orders L45-80
[route] GET /orders/:id L82-95
[route] DELETE /orders/:id L97-120
cortex_read_symbol("src/routes/orders.js", "POST /orders")
→ 380 tokens (vs 3,300 for full file — 89% saved, $0.04 saved on Opus)
30 MCP tools | 8 tree-sitter languages (JS, TS, TSX, Python, Go, Rust, Java, C#) | 22 file types | 7 source categories | 11 semantic tags | 333 tests
Full Cortex Engine documentation →
skills-index indexes skills and policy notes into typed markdown sections so agents can:
Workflow, Checklist, or Template sections14 MCP tools | section-level retrieval | compiled policy bundles | telemetry-aware
cortex-memory indexes agent session transcripts into a searchable SQLite + vector store so agents can recover prior decisions, bug hunts, and implementation context across platforms.
Default sources:
~/.claude/projects~/.codex/archived_sessionsIt stays a recall layer, not the source of truth. The vault still owns tasks and state; cortex-memory answers "what did we discuss before?"
4 MCP tools | semantic session search | full-session retrieval | recent/project/all indexing | multi-platform transcript normalization
Every bug, task, idea, and decision lives in an Obsidian vault. Two MCP servers connect agents to this brain:
vault-index — Query engine (23 MCP tools): list, search, claim, complete, coordinate cortex-engine — Knowledge store: annotate, recall, sync to Obsidian
Human captures idea → vault-capture routes to correct queue
↓
Agent claims item → vault-index locks it → enterprise pipeline executes
↓
Agent annotates learnings → cortex knowledge store → syncs to Obsidian
↓
Next agent reads vault + knowledge → starts with full context
47 shell hooks intercept every action. Exit code 2 = hard block. The agent cannot proceed until the requirement is met. Markers are HMAC-signed — agents cannot forge them.
You: "Just push the fix"
Hook chain:
✗ block-bash-file-writes.sh → "Write detected — use Edit/Write tools"
✗ require-vault-for-edits.sh → "No HMAC-signed vault context"
✗ require-plan-before-edits.sh → "No HMAC-signed plan approval"
✗ require-tdd-before-source-edit.sh → "No tests. Write tests first."
✗ require-test-evidence.sh → "No fresh HMAC-signed evidence"
✗ require-lint-clean.sh → "ESLint errors. Fix them first."
✗ require-vault-update.sh → "Vault not updated. Log this work first."
✓ All gates pass → Commit allowed
~/.claude/ # GLOBAL — single source of truth
├── hooks/ 47 shell scripts # Quality gates (HMAC-signed markers)
├── skills/ 96 skill dirs # Enterprise workflows
├── commands/ 11 slash commands # Quick actions
└── settings.json # Hook wiring → $HOME/.claude/hooks/
~/.claude-harness/ # GLOBAL MCP runtime
├── cortex-engine/ Code intelligence MCP (30 tools, 8 languages)
├── skills-index/ Skill retrieval MCP (14 tools, section-aware)
└── hooks/ Optional runtime copy source for bundled components
~/claude-harness/ # SOURCE REPO
├── cortex-engine/ Code intelligence MCP (30 tools, 8 languages)
├── skills-index/ Skill retrieval MCP (14 tools, section-aware)
├── cortex-memory/ Cross-platform memory MCP (4 tools, transcript recall)
├── vault-index/ Vault query MCP (23 tools, claim coordination)
├── hooks/ Source of truth for hooks
├── skills/ Source of truth for skills
├── commands/ Source of truth for commands
├── conductor/ Fleet dispatch scripts
├── templates/ Review lenses
├── tiers/ Enforcement configs (lite/standard/full)
└── install.sh Global + project installer
your-project/ # PER-PROJECT — minimal footprint
├── .mcp.json MCP server registration (cortex, vault, skills, memory)
├── CLAUDE.md Enforcement chain docs
└── .claude/
└── evidence/ Test evidence JSON (HMAC-signed)
git clone https://github.com/<your-org>/claude-harness.git ~/claude-harness
cd ~/claude-harness && ./install.sh --global
This installs hooks, skills, commands, and settings to ~/.claude/, and sets up the four bundled MCP servers.
It also installs the reusable runtimes under ~/.claude-harness/, ~/.vault-index/, and ~/.cortex-memory/, then registers them globally in both ~/.claude.json and codex mcp.
cd your-project
~/claude-harness/install.sh --project .
This creates .mcp.json (MCP server registration) and appends the enforcement section to CLAUDE.md. No hooks or skills are copied — they're global.
cd ~/claude-harness && git pull && ./install.sh --update
All projects pick up the update immediately.
Claude Code — add to ~/.claude.json:
{
"mcpServers": {
"cortex-engine": {
"type": "stdio",
"command": "/Users/you/.codex/bin/cortex-engine-wrapper.sh",
"args": []
},
"skills-index": {
"type": "stdio",
"command": "node",
"args": ["/Users/you/.claude-harness/skills-index/src/server.js"]
},
"cortex-memory": {
"type": "stdio",
"command": "node",
"args": ["/Users/you/.cortex-memory/src/server.js"]
},
"vault-index": {
"type": "stdio",
"command": "node",
"args": ["/Users/you/.vault-index/src/server.js"]
}
}
}
Codex CLI:
codex mcp add cortex-engine -- /Users/you/.codex/bin/cortex-engine-wrapper.sh
codex mcp add skills-index -- node ~/.claude-harness/skills-index/src/server.js
codex mcp add cortex-memory -- node ~/.cortex-memory/src/server.js
codex mcp add vault-index -- node ~/.vault-index/src/server.js
mkdir -p ~/Documents/YourVault/{00-Inbox,01-Bugs,02-Tasks,03-Ideas,04-In-Progress,05-Archive,_standards,Projects}
export OBSIDIAN_VAULT_PATH=~/Documents/YourVault
You: "Add retry logic to the payment webhook"
Claude: [enterprise pipeline activates → discover → plan → contract → TDD → review → verify]
/enterprise-discover → Learn codebase (stack profile, traps, best practices)
/enterprise-brainstorm → Design (Technical Design Document)
/enterprise-plan → Steps (exact file paths, exact code, exact test commands)
/enterprise-contract → Spec (every postcondition traceable to a test + code line)
/enterprise-build → TDD (write test, fail, write code, pass — for every postcondition)
/enterprise-review → Review (spec compliance → code quality, separate concerns)
/enterprise-forge → Adversarial (5 attack lenses, bugs recycle to contract)
/enterprise-verify → Evidence (7-check sequence, fresh test output or don't claim done)
/enterprise-compound → Capture (institutional knowledge → searchable, tagged, persistent)
Run /enterprise to orchestrate the full pipeline.
| Skill | Focus |
|---|---|
/full-cycle | Complete structured workflow (Agent Harness + Superpowers + Compound) |
/full-cycle-tdd | TDD-first — every task starts with a failing test |
/full-cycle-research | Research-heavy — 8+ parallel research agents before code |
/full-cycle-fast | Lightweight — minimal ceremony for small changes |
| Skill | What |
|---|---|
/vault-context | Pre-session briefing from vault |
/vault-capture | Quick-capture bugs, tasks, ideas |
/vault-update | Move items through lifecycle |
/vault-status | Cross-project dashboard |
/vault-triage | Walk through inbox items |
/vault-sweep | Weekly accountability check |
/vault-init | Bootstrap new project |
/vault-process | Autonomous queue processor |
| Skill | What |
|---|---|
/enterprise-debug | 4-phase systematic debugging with blast radius scan |
/scope-check | Verify no scope creep before commit |
/contract-manager | Mechanical spec before any implementation |
/patch-or-fix | Root cause fix or just a patch? |
/run-verification | Full verification pipeline |
/plan-360-audit | Review plans before passing a planning gate |
| Skill | What |
|---|---|
/b-deep-debug | 5 Whys root-cause analysis (read-only, never changes code) |
/b-deep-debug-api | API endpoint crashes and frontend display bugs |
/b-deep-debug-sync | Data sync bugs (REX SOAP, Shopify, pipeline) |
/b-deep-debug-concurrency | Race conditions, duplicate processing, idempotency |
| Skill | What |
|---|---|
/fleet-commander | Multi-orchestrator dispatch with model routing |
/conductor-resume | Resume interrupted fleet from checkpoint |
| Skill | What |
|---|---|
/senior-architect | System design, tech decisions |
/but-why | Drill to root causes before acting |
/enterprise-harness | 10-check quality gate before merge |
| Skill | What |
|---|---|
/session-heartbeat | Progress review, scope drift detection |
/handover-writer | Save state when context is getting full |
/morning-briefing | Start-of-day briefing across all life domains |
/brain-dump | Stream-of-consciousness capture for ADHD minds |
/park | Guilt-free shelving with optional reminder date |
| Skill | What It Guards |
|---|---|
/sql-guard | Multi-tenant scoping, parameterized queries |
/shopify-integration | HMAC verification, idempotency, rate limits |
/rex-soap-protocol | Dual SOAP protocol detection |
/integration-guard | Pre-code checklist for any external integration |
/sync-worker | Atomic queue claims, checkpoint persistence |
/deploy-checklist | Migrations, env vars, rollback plan |
/create-migration | Numbered SQL migration following conventions |
| Skill | What |
|---|---|
/harness-init | Install harness into a new project |
/harness-update | Pull latest from harness repo |
/cortex-index | Index or reindex with cortex-engine |
/worktree-cleanup | Clean stale git worktrees |
/prompt-intelligence | Load learned behaviors at session start |
| Hook | When | Enforces |
|---|---|---|
block-bash-file-writes.sh | Before Bash | Blocks write verbs targeting hooks, settings, evidence, markers |
audit-bash-file-writes.sh | After Bash | Detects + reverts source files modified via Bash (bypasses Edit hooks) |
protect-files.sh | Edit/Write | Blocks .env, .git/hooks/, .claude/hooks/, settings.json, evidence |
| Hook | When | Enforces |
|---|---|---|
require-tdd-before-source-edit.sh | Edit/Write source | Tests must exist or be staged |
require-plan-before-edits.sh | Edit/Write source | HMAC-signed plan approval required |
require-vault-for-edits.sh | Edit/Write source | HMAC-signed vault context required |
suggest-cortex-engine.sh | Read source >50 lines | Use cortex-engine, not raw Read |
| Hook | When | Enforces |
|---|---|---|
require-test-evidence.sh | git commit | HMAC-signed evidence, fresh, matching HEAD |
require-lint-clean.sh | git commit | Linter passes on staged files |
pre-commit-gate.sh | git commit | Test files or evidence required |
require-vault-update.sh | git commit/push | Vault updated for source changes |
| Hook | When | Enforces |
|---|---|---|
enforce-enterprise-pipeline.sh | Invoke enterprise-* | Stages cannot be skipped |
enforce-vault-context.sh | Invoke enterprise-* | Must load vault context first |
require-independent-review.sh | Invoke enterprise-review | Builder cannot review own work |
| Hook | When | What |
|---|---|---|
mark-plan-approved.sh | ExitPlanMode | HMAC-signed plan marker (unsigned touch rejected) |
record-test-evidence.sh | After tests | HMAC-signed evidence, vitest + jest parsing, anti-echo-injection |
invalidate-after-git-op.sh | After git ops | Auto-marks evidence stale |
The harness doesn't trust claims. It verifies them mechanically.
run tests
│
▼
record-test-evidence.sh → .claude/evidence/last-test-run.json
{ HMAC-signed, suite_count, pass_count, git_head, mode, tier }
│
▼
edit source file → evidence auto-staled
│
▼
try to commit
│
▼
require-test-evidence.sh reads JSON:
HMAC invalid? → BLOCKED (tampered or hand-written)
Stale? → BLOCKED
Wrong HEAD? → BLOCKED
Not enough suites? → BLOCKED
Output missing framework markers? → BLOCKED
✓ All green → ALLOWED
| Requirement | Why |
|---|---|
| Claude Code or Codex CLI | Host environment |
| Node.js 20+ | MCP servers |
| Obsidian | Shared brain |
python3 | Hooks use it for JSON parsing |
git | Version control |
| Component | Count |
|---|---|
| MCP servers | 4 (cortex-engine + skills-index + cortex-memory + vault-index) |
| MCP tools | 71 (30 + 14 + 4 + 23) |
| Skills | 63 |
| Hooks | 47 |
| Slash commands | 11 |
| Tree-sitter languages | 8 |
| Install modes | 4 (full, global, project, update) |
| Anti-bypass protections | 8 |
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for claude-harness from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/claude-harness)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.