{"id":50950767,"url":"https://github.com/sliday/harn","last_synced_at":"2026-06-18T01:02:18.767Z","repository":{"id":349826155,"uuid":"1200510882","full_name":"sliday/harn","owner":"sliday","description":"Harness Engineering plugin for Claude Code — CAR framework, security guardrails, quality gates, progressive disclosure","archived":false,"fork":false,"pushed_at":"2026-04-07T17:33:18.000Z","size":36,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-07T19:22:44.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sliday.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-03T13:55:59.000Z","updated_at":"2026-04-07T17:33:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sliday/harn","commit_stats":null,"previous_names":["sliday/harn"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sliday/harn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sliday%2Fharn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sliday%2Fharn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sliday%2Fharn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sliday%2Fharn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sliday","download_url":"https://codeload.github.com/sliday/harn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sliday%2Fharn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34471639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-18T01:02:17.302Z","updated_at":"2026-06-18T01:02:18.762Z","avatar_url":"https://github.com/sliday.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# harn — Harness Engineering Plugin for Claude Code\n\nDeterministic guardrails, quality gates, and progressive disclosure for AI coding agents.\n\n## Why Harness Engineering?\n\nThe underlying AI model matters less than the system built around it. A well-harnessed agent produces consistent, safe, high-quality output regardless of the model version. [Read the foundations](https://harn.app/kb/foundations.html).\n\n## Quick Start\n\n```bash\nclaude plugins marketplace add sliday/claude-plugins\nclaude plugins install harn\n```\n\nThen in any project:\n\n```bash\n/harn:init        # scaffold your harness\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `/harn:init` | Scaffold a complete harness — AGENTS.md, hooks, guardrails |\n| `/harn:guard` | Generate or update security guardrail hooks (PreToolUse) |\n| `/harn:gate` | Generate or update quality gate Stop hook |\n| `/harn:analyze` | Audit your project against the CAR framework |\n| `/harn:agents-md` | Build or rebuild AGENTS.md with progressive disclosure |\n| `/harn:format` | Generate PostToolUse auto-formatter hook |\n| `/harn:trace` | Generate PostToolUse trace logging hook for observability |\n| `/harn:checkpoint` | Generate resume artifacts (LEARNED.md, CHECKPOINT.json) |\n| `/harn:mcp-check` | Generate MCP server health check hook |\n| `/harn:context` | Monitor context window usage and apply backpressure |\n\n## What `/harn:init` Creates\n\n- `AGENTS.md` — Agent behavior spec with progressive disclosure\n- `.claude/settings.json` — Hook configuration\n- `.claude/hooks/security-guard.sh` — PreToolUse guardrail\n- `.claude/hooks/quality-gate.sh` — Stop hook for type/lint/test checks\n- `.claude/hooks/auto-format.sh` — PostToolUse formatter (optional)\n- `LEARNED.md` — Persistent gotchas and decisions log\n\n## CAR Framework\n\nEvery agentic system has three layers:\n\n- **Control** — Constraints and specifications (AGENTS.md, linters, tests, architectural rules)\n- **Agency** — Tools and interfaces (MCP servers, sub-agents, browser access)\n- **Runtime** — Execution and recovery (hooks, compaction, retries, rollback)\n\nRun `/harn:analyze` to score your project across all three. Learn more at [harn.app](https://harn.app).\n\n## Dependencies\n\n- `jq` — JSON processing (used by hooks)\n- `python3 \u003e= 3.6` — Script execution\n- Language-specific toolchain for quality gates (e.g., `tsc`, `cargo`, `go vet`, `ruff`)\n\n## Troubleshooting\n\nIf a hook is blocking legitimate work or the agent is stuck in a loop, see [references/escape-hatches.md](references/escape-hatches.md).\n\n## Knowledge Base\n\nCurated articles on harness engineering — security, context, evals, specs, and tools: [harn.app/kb](https://harn.app/kb/).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsliday%2Fharn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsliday%2Fharn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsliday%2Fharn/lists"}