claude

harn

Harness Engineering for AI coding agents — CAR framework, security guardrails, quality gates, context monitoring, auto-formatters, trace logging, checkpoints, MCP validation

5 on GitHubby Stas Kuleshv2.0.0MITupdated 2 months ago

Not in a marketplace yet, so it loads for one session with --plugin-dir.

Plugin harn in sliday/harn. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (10)

  • agents-md

    Build or rebuild AGENTS.md with progressive disclosure. Use when: /harn:agents-md, 'create AGENTS.md', 'update agent instructions', 'too many instructions'

  • auto-formatter

    Generate PostToolUse auto-formatter hook. Triggers: /harn:format, 'auto format', 'formatter hook', 'PostToolUse formatter'

  • car-analyzer

    Audit project harness against the CAR framework. Use when: /harn:analyze, 'audit harness', 'check CAR', 'harness health', 'how good is my harness'

  • checkpoint

    Scaffold resume artifacts (LEARNED.md, CHECKPOINT.json) for long-running sessions. Triggers: /harn:checkpoint, 'resume artifacts', 'checkpoint', 'session recovery', 'LEARNED.md'

  • context-monitor

    Generate context monitoring and backpressure hooks. Triggers: /harn:context, 'context monitoring', 'backpressure', 'context budget', 'attention budget', 'context rot'

  • init

    Scaffold a complete harness for the current project — AGENTS.md, hooks, guardrails. Use when starting a new project or hardening an existing one. Triggers: /harn:init, 'set up harness', 'scaffold guardrails', 'create AGENTS.md'

  • mcp-validator

    Generate MCP server health check for SessionStart. Triggers: /harn:mcp-check, 'MCP health', 'check MCP servers', 'validate MCP'

  • quality-gate

    Generate or update the quality gate Stop hook. Use when: /harn:quality-gate, 'set up type checking', 'add quality gate', 'stop hook'

  • security-guard

    Generate or update security guardrail hooks. Use when: /harn:guard, 'update security rules', 'block dangerous commands', 'add guardrail'

  • trace-logger

    Generate PostToolUse trace logging hook for observability. Triggers: /harn:trace, 'trace logging', 'observable hooks', 'agent trace', 'JSONL logging'

Slash commands (10)

  • /harn:agents-md

    Build or rebuild AGENTS.md with progressive disclosure

  • /harn:analyze

    Audit your project's harness against the CAR framework

  • /harn:checkpoint

    Generate resume artifacts — LEARNED.md, CHECKPOINT.json — for long-running sessions

  • /harn:context

    Add context monitoring and backpressure hooks to manage agent attention budget

  • /harn:format

    Generate or update PostToolUse auto-formatter hook

  • /harn:gate

    Generate or update quality gate Stop hook

  • /harn:guard

    Generate or update security guardrail hooks

  • /harn:init

    Scaffold a complete harness for the current project — AGENTS.md, hooks, guardrails

  • /harn:mcp-check

    Generate MCP server health check hook

  • /harn:trace

    Generate PostToolUse trace logging hook for agent observability

Subagents (1)

  • harness-evaluator

    Validates generated harness artifacts for correctness and best practices. Use after generating AGENTS.md, hooks, or guardrails to verify quality. <example>Context: After /harn:init generated files. user: "I just ran harn init" assistant: "Let me validate the generated harness." <commentary>Use harne

Hooks (1)

  • SessionStart

    ${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh

View source on GitHub harn.app

Similar plugins

Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).

39 skills

mattpocock/skills 323,108

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 68,893

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Maintain harn?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted