Skip to content
Agents tracked: 504 Releases (7d): 733 Agent status: 2 with issuesSince last limit reset: Claude 12d · Codex 10d For AI agents: Markdown Updated Nov 23, 2026

AutoHarness: Claude Code writes and prunes its own skills

tigerless-labs/autoharness

Your Claude Code starts keeping notes for itself. While you work, it watches the session. After enough work, a second, hidden Claude session starts in the background and turns what was learned (your corrections, fixes that worked) into new skills. It merges similar ones, and it tidies away skills nobody uses.

Pack description by its author: “Your Claude Code starts keeping notes for itself. While you work, it watches the session. After enough work, a second, hidden Claude session starts in the background and turns what was learned (your corrections, fixes that worked) into new skills. It merges similar ones, and it tidies away skills nobody uses.”

Software engineeringChanges how your assistant works, all the timeCommands you run when neededGives your assistant new abilities with scripts

GitHub

Checked against the pack's files at commit c0aef3f, on Nov 5, 2026. Tap a verdict to see its source.How we checkedReport an error

The pack has changed since AgentGid checked it on Nov 5, 2026. Some details may be out of date.

Changes how your assistant works, all the timeCommands you run when neededGives your assistant new abilities with scripts

Good for you if

  • You use Claude Code every day and keep correcting it the same way
  • You want lessons from one session to be there in the next one without writing them down yourself
  • You want to say /learn after working something out and have it kept

Probably not for you if

  • You use another assistant: it is built for Claude Code only
  • You don't want extra background Claude sessions running on your account
  • Your computer has no Python 3.11 or newer

What you'll notice

  • New skill folders appear by themselves in .claude/skills/ of your project (or ~/.claude/skills/ for general ones)
  • Each new session opens with a short list of the skills it wrote and a line about the last learning run
  • A /learn command to keep a lesson right now
  • Unused skills are moved to .claude/skills/.archive/, not deleted

What you need

  • Claude Code
  • Free, MIT license
  • Two commands in Claude Code, then /reload-plugins; needs Python 3.11+ as python3
  • No separate key, but the background learning runs are extra Claude Code sessions on your own account.
Words on this page
Skill
A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
Plugin
A package your assistant installs that can bring skills, commands and hooks together.
Hook
A small program the assistant runs by itself at set moments, for example when a session starts.
MCP
A standard way to connect an AI assistant to outside tools and data.
Subagent
A helper the assistant starts for one part of a task.
Repositorytigerless-labs/autoharness · website
GitHub stars11,159
Skills1
CategorySoftware engineering
LicenseMIT
Last updatedNov 12, 2026 · card checked Nov 5, 2026 at commit c0aef3f
Install countstigerless-labs/autoharness on skills.sh, Vercel's skills directory, which shows installs and security audits per skill

tigerless-labs/autoharness popularity over time

Most starred skill packs

tigerless-labs/autoharness: GitHub starstotal over time 11,159
tigerless-labs/autoharness: new stars per weekGitHub 275

What AutoHarness does

  • Counts tool calls in your session; by default every 50 tool calls a background learning pass starts when the turn ends
  • A hidden reflector session (Haiku model) reads a cleaned-up slice of the session and proposes skill changes: add, merge, patch or delete
  • A fixed checker (the promoter) validates each proposal (safety patterns, format, length) and is the only part that writes skill files
  • Every new session gets an index of its own skills, grouped by category, plus a line on what landed and what was rejected last time
  • Every 250 tool calls a curator pass folds near-duplicate skills into broader ones, after taking snapshots
  • Skills that were never used during their trial period, or lose out when there are too many, are moved to an archive folder
  • It only touches skills it wrote itself; skills you wrote or installed are left alone

From the pack's SKILL.md files, summarised by AgentGid.

The skill, explained

learn

Turns what you just worked out in this chat into a saved skill

You give

  • The conversation so far (it reads it itself)

You get

  • One proposed change per lesson, each with a reason and a quote from the session
  • Nothing, if nothing meets the bar
  • A report of rejected proposals at the next session start
Say: “/learn”

See it in action

The skill defines what its answer looks like. Its own example:

{"action": "create", "reason": "User asked about the correct command to update a plugin ...", "evidence": "references/evidence-21cd22cc.md"}
{"action": "patch",  "reason": "User discovered /reload-plugins is required in-session ...",  "evidence": "references/evidence-1a4ec51d.md"}

From README.md.

When to reach for it

You wantUse
Keep a lesson from this chat right now/learn
Learning to happen faster (for a demo)AUTOHARNESS_REFLECT_EVERY_N=3 in .claude/settings.json env
Keep everything inside the project, nothing globalAUTOHARNESS_DISABLE_GLOBAL=1
Stop the session-start index but keep the restAUTOHARNESS_INDEX_SUSPENDED=1
Try it. Install it, work on a real task, correct the assistant once ("that's missing a step"), then say /learn. A new folder should appear under .claude/skills/ (ls -la shows its .ledger.jsonl), and the next session opens with an index line for it.

Skills in tigerless-labs/autoharness

SkillIn plain wordsChanges files?What it does (author)
learn
/learn, or "remember this"
Turns what you just worked out in this chat into a saved skillNo Use when users /learn, save, remember, or distill lessons.
npx skills add tigerless-labs/autoharness --skill learn

The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.

Good to know before you install

  • It switches on by itself after install and keeps running: no command needed.
  • Background learning runs are separate Claude sessions started with permission prompts turned off; the author limits them by an allow-list of read-only tools plus one proposal tool, and a hook blocks their file writes.
  • It writes outside your project: general skills to ~/.claude/skills/ and its state to ~/.claude/autoharness/. AUTOHARNESS_DISABLE_GLOBAL=1 keeps it to the project.
  • Each saved skill keeps a cleaned-up slice of your session as evidence in references/evidence-*.md; check it before committing .claude/skills/ to git.
  • Uninstalling does not remove the skills it made or its state; delete those folders by hand.
  • With an older python3 first on your PATH (macOS Xcode ships 3.9.6) every hook is off for the session.

Before you start

Works in

  • Claude Code: plugin

You will need

  • Python 3.11+ as python3 on PATH: The hooks and the MCP server are Python
  • claude command on PATH: Background learning runs start the claude CLI
  • Linux or macOS: The platforms the README badge names

Steps only you can do

  1. Make sure python3 on the PATH is Python 3.11 or newer (README.md (Install))
    Then: The hooks and the stage_skill MCP server start with Claude Code
  2. Run /reload-plugins or restart Claude Code after installing (README.md (Install))
    Then: The plugin starts watching sessions and landing skills in the background
  3. Optional: turn on auto-update for the autoharness marketplace in /plugin → Marketplaces (README.md (Update))
    Then: New releases install without manual update commands
  4. Optional, macOS: allow Script Editor notifications in System Settings → Notifications if AUTOHARNESS_NOTIFY=desktop shows nothing (README.md (Notify))
    Then: A desktop notification names what each learning run landed and rejected

Mistakes to avoid

  • Install it on a Mac where the first python3 on the PATH is the Xcode 3.9 one
    Put Python 3.11 or newer first on the PATH as python3 before starting Claude Code
    The hooks call bare python3, and an older one turns every hook off for the session
  • Register the stage_skill MCP server by hand instead of installing the plugin
    Install it as a Claude Code plugin from the marketplace
    The background agents' allow-lists use the plugin-namespaced tool name, so a hand-registered server leaves them without their only tool
  • Lower AUTOHARNESS_REFLECT_EVERY_N for a demo and leave it there
    Use the small demo values only for a walkthrough, then go back to the defaults
    A lower value starts more background Claude sessions on your account
  • Commit .claude/skills/ to a shared repo without reading the learned skills
    Read each learned skill and its references/evidence-*.md before committing
    Each evidence file is a redacted slice of your real session
  • Expect uninstalling to remove the learned skills and state
    Uninstall, then delete ~/.claude/autoharness/, <repo>/.claude/autoharness/ and the self-authored skills under .claude/skills/ by hand
    The skills and state live outside the plugin folder

Which one to pick

If you needPick
You want Claude Code to write, merge and retire its own skills in the background, with a ledger per skillThis pack
You want corrections and preferences synced into CLAUDE.md and AGENTS.md instead of separate skillsBayramAnnakov/claude-reflect
You switch between several agents and want one portable memory and skills folder for all of themcodejunkie99/agentic-stack

Works well with

  • claude-code: It is a Claude Code plugin; its hooks, MCP server and background sessions all run through Claude Code

May I use it like this?

UseAnswerCondition
In a commercial app YesMIT: keep the license notice
Passing the files on YesMIT: keep the copyright and permission notice in copies
Work for clients YesMIT allows use in work for others

What leaves your machine

  • A redacted slice of the session transcript plus a digest of earlier exchanges and the skill index → Anthropic, through a background claude -p session on your own Claude Code account, At the end of the turn that passes every 50 tool calls (AUTOHARNESS_REFLECT_EVERY_N), and for the rarer curator pass. Opt out: No opt-out while the plugin is on; a higher AUTOHARNESS_REFLECT_EVERY_N makes runs rarer
  • The real conversation (not the redacted window), when the fork carrier is chosen → Anthropic, through a forked claude -p session, Only with AUTOHARNESS_CARRIER=fork. Opt out: Keep the default AUTOHARNESS_CARRIER=bundle
  • The run record JSON (what landed and was rejected; skill names redacted) → Any command you set in AUTOHARNESS_NOTIFY_CMD, for example a Slack or webhook script, After each learning run, only if the variable is set. Opt out: Leave AUTOHARNESS_NOTIFY_CMD unset (the default)

Install AutoHarness

Official commands from the repository

/plugin marketplace add tigerless-labs/autoharness
/plugin install autoharness@autoharness

Then run /reload-plugins or restart Claude Code. Needs Python 3.11+ as python3.

Remove: claude plugin uninstall autoharness@autoharness, then claude plugin marketplace remove autoharness; delete ~/.claude/autoharness/, <repo>/.claude/autoharness/ and its skills under .claude/skills/ by hand

Or with the open-source skills CLI: npx skills add tigerless-labs/autoharness. Skills are instructions your agent follows: read them before installing.

What it installs and runs on your machine

Read in the code at commit c0aef3f, Nov 5, 2026

WhenWhat happens
Session start, every tool call, every turn end, session endA Python hook (python3 -m autoharness.hook.dispatch) counts tool calls, injects the skill index at session start and runs the lifecycle pass once per session.
Turn end after 50 tool calls (AUTOHARNESS_REFLECT_EVERY_N)Starts a detached background process that runs the claude command (claude -p --agent ... --dangerously-skip-permissions) with a redacted slice of the session transcript; this is a normal Claude session on your account, so it calls Anthropic's servers.
Every 250 tool callsSame kind of background claude session for the curator, after tar snapshots of the skill folders.
While the plugin is onA local MCP server (python3 -m autoharness.stage_skill.server) takes skill proposals into a queue.
After a learning runWrites skill folders (SKILL.md, .ledger.jsonl, .sidecar.json, references/evidence-*.md, optional scripts/ and templates/) to .claude/skills/ and ~/.claude/skills/, and state to .claude/autoharness/ and ~/.claude/autoharness/.
Optional, off by defaultAUTOHARNESS_NOTIFY=desktop shows a desktop notification (osascript / notify-send); AUTOHARNESS_NOTIFY_CMD runs a command of your choice with the run record, for example a webhook.

The author's numbers, as reported

AgentGid did not run these tests

  • Same model, different harness: 42% to 78% on CORE-Bench (a cited outside result, not a test of this plugin). Source

Settings

  • AUTOHARNESS_DISABLE_GLOBAL: 1 = project only (default 0)
  • AUTOHARNESS_REFLECT_EVERY_N: tool calls between learning runs (default 50)
  • AUTOHARNESS_CONSOLIDATE_EVERY_N: tool calls between curator runs (default 250)
  • AUTOHARNESS_DIGEST_EXCHANGES: earlier exchanges compressed into the reflector's input (default 20)
  • AUTOHARNESS_CARRIER: bundle | fork (default bundle)
  • AUTOHARNESS_INDEX_SUSPENDED: 1 = no skill index at session start
  • AUTOHARNESS_INDEX_DESC_MAX_CHARS: default 60
  • AUTOHARNESS_SKILL_DESC_MAX_CHARS: default 1024
  • AUTOHARNESS_SKILL_BODY_MAX_LINES: default 25
  • AUTOHARNESS_MATURITY_PROJECT: default 100
  • AUTOHARNESS_MATURITY_GLOBAL: default 300
  • AUTOHARNESS_CAPACITY_PROJECT: default 50
  • AUTOHARNESS_CAPACITY_GLOBAL: default 20
  • AUTOHARNESS_GRADUATION_SUSPENDED: 1 = never archive for going unused
  • AUTOHARNESS_SNAPSHOT_KEEP: default 5
  • AUTOHARNESS_NOTIFY: desktop = native notification per run
  • AUTOHARNESS_NOTIFY_CMD: command that receives the run record JSON
  • AUTOHARNESS_NOTIFY_TIMEOUT_S: default 5

Quick answers

Is it free?
Yes, MIT license. The background learning runs use your own Claude Code account.
Will it change skills I wrote?
No. It only touches skills it created; yours are left alone.
Does it delete skills?
No. Unused skills are moved to .claude/skills/.archive/; moving the folder back revives them.
Does it send my session anywhere?
A redacted slice goes to a background Claude session on your account. Nothing else, unless you set AUTOHARNESS_NOTIFY_CMD.
How do I remove it completely?
Uninstall the plugin, then delete ~/.claude/autoharness/, <repo>/.claude/autoharness/ and its skills under .claude/skills/.

Checked by AgentGid on Nov 5, 2026 against commit c0aef3f of the pack's own files. Related: NousResearch/hermes-agent. agent.md for AI agents · Report a mistake

More software engineering skill packs

All software engineering skills

# Install
1
mattpocock/skills CheckedRuns scripts

Gets a set of working habits for building software. It interviews you about a plan before it builds, turns the talk into a spec and small tickets, builds them test-first and reviews the result.

330K +32.5K 39
2
obra/superpowers CheckedRuns scripts

Follows one fixed way of working. Before it builds anything, it asks what you really want and writes a short design for you to approve. Then it writes a step-by-step plan, builds it with tests first, has the work checked and asks how you want to finish.

324K +18.8K 15
3

Gets four rules: think before coding, keep it simple, change only what you asked for, and set a clear goal it can check. It asks before guessing and writes less extra code. The rules come from the README's reading of a public post by Andrej Karpathy; the files do not say he made or reviewed them.

235K +14K 1
4

Stops overbuilding. It does what you asked in the simplest way that works, reuses what your project already has, and ends every answer by telling you what it left out.

197K +27.3K 6
5
Shubhamsaboo/awesome-llm-apps CheckedRuns scripts

This repo is mostly a big collection of AI apps and tutorials. Its agent_skills folder holds seven separate skills you install one at a time. They help your assistant explain why old code exists, check a change or a package list, or find your abandoned side projects. Others test a draft on simulated readers, untangle a voice ramble, or split a big job across several AI models.

145K +3,089 10
6
addyosmani/agent-skills CheckedRuns scripts

Works like a careful senior engineer. It writes down what to build before coding, splits the work into small steps, proves each step with a test and reviews the result before launch. Nine slash commands cover the stages, and 25 skills switch on when a task matches.

120K +11K 26