Portable TypeScript guardrail and agent harness for Claude Code. Provides 13 guardrail rules, 7 specialised agents (worker / reviewer / scaffolder / security-auditor / codex-sync / coderabbit-mimic / context-audit-agent), 18 commands = 5 verb skills (plan / work / review / release / setup) + 13 workflow skills (branch-merge / claude-oneshot / context-audit / harness-merge-train / harness-self-improve / new-feature-branch / coderabbit-review / codex-team / parallel-worktree / parallel-worktree-v2 / pseudo-coderabbit-loop / session-handoff / tdd-implement), 16 of Claude Code's lifecycle hook events (pre-tool / post-tool / permission / session-start / session-end / pre-compact / subagent-stop / subagent-start / task-created / stop / worktree-create / worktree-remove / task-completed / user-prompt-submit / post-tool-use-failure / config-change), and a pure-JS JSON state store with zero native dependencies.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Merge a feature branch through dev into main, running the project's test suite at every stage. Use when a PR review is clean or the user asks to merge / ship / reflect to main.
non-interactive one-shot `claude -p` wrapper that writes stream-json output to a per-slug log file for downstream monitoring. Use this primitive from a parallel orchestrator (e.g. parallel-worktree v2) when each task needs an independent top-level Claude session with its own context budget instead of the cheaper Agent-tool fan-out.
Watch for CodeRabbit reviews on a GitHub PR in the background and respond to the findings automatically. Use after pushing a PR when the user asks to handle the CodeRabbit review.
Use Codex CLI as a team member: review, delegated development, or adversarial security review. Use when the user asks for a second opinion from Codex, delegates a coding task to Codex, or requests an adversarial review.
Context budget audit skill (3-gate: size / dead-link / committed entry-point). Verifies that auto-loaded `.claude/rules/*.md` content stays under the configured `harness.config.json.contextBudget.budgetBytes`, every cross-reference resolves, and a committed root-level entry point (e.g. `CLAUDE.md` / `README.md`) advertises the on-demand rules directory. Use this when running a one-off check of context-budget health, before merging a PR that touches auto-load directories, or as a pre-merge gate. The Stop / PreToolUse hooks consume the same engine automatically when `contextBudget.enabled: true`.
Pseudo-CodeRabbit reviewer powered by Codex CLI. Invoked by `/pseudo-coderabbit-loop` to run local review loops without consuming the upstream CodeRabbit rate limit. Use when conducting pre-review before pushing to GitHub, or during rate-limited periods.
Synchronous wrapper around the Codex companion task runtime. Unlike the upstream codex-rescue agent, this always uses foreground mode so the Bash call blocks until Codex finishes and the full result is returned. Use when you need Codex's output as an actual return value for parallel Agent dispatch, for analysis that must be integrated into a report, etc. — not for fire-and-forget background work.
Read-only audit agent that runs the 3-gate context budget check (size / dead-link / committed entry-point) without mutating the project. Spawned by `/context-audit` and by hooks that need a fresh audit verdict. Returns a structured JSON report.
Read-only agent that performs multi-angle review of security, performance, quality, and plans
Unified scaffolder agent for project analysis, structure setup, state sync, and documentation updates
Matches all tools
Hooks run on every tool call, not just specific ones
Executes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
No model invocation
Executes directly as bash, bypassing the AI model
A portable, TypeScript-powered guardrail and agent harness for Claude Code.
sudo, rm -rf, force-push, curl | bash, .env leakage, and more. Configurable via harness.config.json.worker (implement + self-review + verify + commit), reviewer (read-only multi-angle review), scaffolder (docs + state sync). Plus security-auditor and codex-sync helpers./harness-plan, /harness-work, /harness-review, /harness-release, /harness-setup.npm install native rebuilds.claude plugin marketplace add <owner>/cc-triad-relay
claude plugin install harness@cc-triad-relay --scope project
Or use the bundled helper script from any git checkout of this repo:
# Harness only (default — recommended baseline):
bash /path/to/cc-triad-relay/scripts/install-project.sh
# Harness + Codex companion (opt-in, enables codex-sync / coderabbit-mimic):
bash /path/to/cc-triad-relay/scripts/install-project.sh --with-codex
Or for local development:
claude --plugin-dir /path/to/cc-triad-relay/plugins/harness
Then in your project root:
# Inside Claude Code session
/harness-setup init
This creates a harness.config.json tailored to your project.
openai-codexThe Harness ships stack- and LLM-neutral. Two of its agents —
codex-sync and coderabbit-mimic — shell out to the OpenAI
Codex companion plugin to
run synchronous code review / pseudo-CodeRabbit flows. Without Codex
installed, invoking either of those two agents errors immediately
with a clear, grep-able message (they don't degrade gracefully —
they refuse to proceed). Every other agent, command, guardrail, and
hook works identically with or without Codex. Installing Codex is
therefore optional:
| Plugin installed | What works | What errors on invocation |
|---|---|---|
harness only (default) | All 13 guardrails, 13 commands (5 verb + 8 workflow), 4 agents (worker / reviewer / scaffolder / security-auditor), all 12 lifecycle hooks | codex-sync fails fast with ERROR: Codex plugin not found and coderabbit-mimic fails with ERROR: codex-companion.mjs not found. — both hard errors that stop the agent before any work starts. Other agents and commands are unaffected. |
harness + codex | Everything above plus Codex-powered synchronous second-opinion review (codex-sync) and local pseudo-CodeRabbit loop (coderabbit-mimic) | — |
install-project.sh --with-codex flips the opt-in; otherwise run
claude plugin install codex@openai-codex --scope project manually.
Verify with harness doctor, which reports:
codex plugin: detected at ~/.claude/plugins/cache/openai-codex/codex
or
codex plugin: not installed (optional — ...)
Re-install is a no-op if already present (idempotent).
harness doctorharness doctor
Surfaces:
harness.config.json location + parse status.security.projectChecklistPath)..claude/skills/).~/.claude/{skills,commands,agents}/) — useful
when diagnosing which layer a skill / command came from.harness.config.json:
{
"projectName": "my-app",
"language": "en",
"protectedDirectories": ["training-data", "fixtures"],
"protectedEnvVarNames": ["OPENAI_API_KEY", "AWS_SECRET_ACCESS_KEY"],
"workMode": { "bypassRmRf": false, "bypassGitPush": false },
"tampering": { "severity": "approve" }
}
Japanese: 日本語ドキュメント
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub thomasedwardyorke/cc-triad-relay --plugin harnessHarness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Real-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress
Comprehensive PR review agents specializing in comments, tests, error handling, type design, code quality, and code simplification
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.