tigerless-labs/autoharness
A hook-driven Claude Code plugin that learns and maintains skills from real sessions
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
AutoHarness is a Claude Code plugin written in Python with no third-party Python dependencies. Capture hooks count tool calls and trigger reflection at the end of the turn that crosses the threshold. Capture references the host transcript rather than copying the complete log, and applies redaction when captured data is passed onward. The reflector compares the episode with the skill index and submits a proposed change through the plugin-scoped stage_skill MCP tool; it does not write directly to the live library.
The promoter is the sole writer. It checks safety, structure, ledger requirements, completeness, and ownership before promoting a valid intent into the live skill directory with an atomic rename. Skills remain native SKILL.md directories. Claude Code's name-and-description discovery stays in place, with a grouped index of AutoHarness-authored skills added at session start.
Key Capabilities & Differentiators
Reflection can create or patch a skill, fold same-scenario skills together, remove a support file, or propose deletion. Before creating a duplicate, it checks read-only owners such as archived skills, installed plugin skills, scheduled tasks, CLAUDE.md, and project auto-memory. If the lesson belongs to one of those owners, AutoHarness records a suggestion instead of editing the owner or creating another skill. A fold identifies the surviving skill so that consolidation can be distinguished from retirement.
Learning can run automatically or on demand via /learn. Skills can live at project or global scope. Each generated skill has a .ledger.jsonl for change history and a .sidecar.json for lifecycle counters; supporting transcript excerpts can land under references/evidence-*.md. Per-run JSON records proposals, accepted changes, and rejections with reasons, giving operators a way to audit automated changes.
Trade-offs & Limitations
Compared with an unbounded skill library, AutoHarness adds consolidation and pruning. Compared with offline benchmark-gated self-editing, it avoids a dedicated evaluation loop and uses observed adherence: skill loads relative to requests for which the skill was available. This makes retention possible during ordinary work, but a load is not proof of correctness or task improvement. A rarely needed skill may also have little opportunity to demonstrate its value.
Unlike a timer-and-daemon design, learning is tied to work performed in the session. That avoids a resident daemon but still incurs model work for reflection and disk use for evidence and snapshots. The self-authored-only boundary limits unintended changes to existing guidance; the trade-off is that a stale hand-maintained instruction still needs human follow-up. Transcript-derived evidence deserves a retention review even when capture applies redaction.
Hardware & Deployment Guide
Install from Claude Code with /plugin marketplace add tigerless-labs/autoharness and /plugin install autoharness@autoharness, then run /reload-plugins or restart Claude Code. Hooks and MCP require Python 3.11+ as the python3 resolved on PATH; an older interpreter earlier on PATH disables the hooks for that session. This is a host-integrated plugin, not a standalone inference service. No tagged release is listed.
Start a trial with AUTOHARNESS_DISABLE_GLOBAL=1 to keep the global library untouched. The default project skill directory is .claude/skills/; AUTOHARNESS_PROJECT_DIR changes the project layer directory, AUTOHARNESS_GLOBAL_ROOT redirects the global layer, and AUTOHARNESS_STATE_HOME relocates state and archives. Uninstalling stops the plugin but leaves generated skills and state on disk, so cleanup must be planned separately.
/learn invokes the same pipeline on demand.CLAUDE.md and installed plugin skills receive suggestions rather than edits or duplicate skills..ledger.jsonl records skill decisions, and run JSON records landed and rejected proposals with reasons.AUTOHARNESS_DISABLE_GLOBAL, AUTOHARNESS_GLOBAL_ROOT, and AUTOHARNESS_STATE_HOME control managed scope and state placement.Claude Code teams with recurring workflows that want to turn session lessons into auditable native skills and can review generated guidance during a project-scoped trial.
You need every edit approved before it lands, measured task improvements as a promotion gate, or a deployment whose model processing is verified to stay offline.
Quick Start & Installation
/plugin marketplace add tigerless-labs/autoharness /plugin install autoharness@autoharness
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| autoharness ★ | 10.5k | +434 | Python | MIT | A hook-driven Claude Code plugin that learns and maintains skills from real sess |
| ponytail | 204.4k | +4.1k | JavaScript | MIT | A prompt-driven coding-agent plugin for smaller changes and focused tests. |
| spec-kit | 153.7k | +1.3k | Python | MIT | A Python CLI for spec-driven coding-agent workflows and reviewable handoffs |
| academic-research-skills | 59.6k | +694 | Python | — | Claude Code plugin for human-reviewed research, manuscript writing, and peer rev |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/tigerless-labs/autoharness.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about autoharness
Can I replace plugin installation with standalone MCP registration?
stage_skill, and the reflector's allowlist expects the plugin-qualified tool name mcp__plugin_autoharness_stage_skill__stage_skill. Manual registration exposes a different name, mcp__stage_skill__stage_skill. Install AutoHarness as a Claude Code plugin so the registered tool matches the allowlist.Does AutoHarness require a GPU, and where does the overhead come from?
Can we deploy it commercially, and does workstation installation keep data local?
How does it compare with hand-written skills or a daemon-based lifecycle?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy