1. Home
  2. Free skills

Skills that make agents
remember and prove.

Ten slash commands and three hooks for Claude Code. They fix the three ways long sessions go wrong: the agent forgets, guesses, and says "done" too early. Free, MIT-licensed, installed with one script.

Illustration with made-up projects.

What they are

Add-ons for Claude Code, in three groups. Remember: state is kept on disk, so work survives compaction and new sessions. Prove: the agent confirms the task before building, and cannot say "tests pass" or "deployed" without a check behind it. Run: operate many agents and keep the setup healthy.

A command is a Markdown prompt you run by typing its name. A hook is a script Claude Code runs on its own at a set moment. They need only bash and jq, and they make no network calls.

The 10 commands

CommandWhat it doesUse it when
/briefWrites the task back as a short brief: your words, your focus, checkable "done means", scope, what not to touch. Waits for your "Go".Before any real work. /brief UI matters most sets the priority.
/checkpointWrites a verified record: done, in progress, not started, decisions, gotchas, where to resume. Checks git and deploy state first and marks the rest UNVERIFIED.Before a manual compact, at the end of the day, after a milestone, before a risky change.
/summaryAnswers "where are we?" from the latest checkpoint, checked against live git. /summary all covers every project.After a break, in a new session on old work, first thing in the morning.
/compact-checkThree-line answer: should you compact, and is it safe right now. Context size is read from the transcript, and it lists unsaved work.When the context is filling and you wonder if it is time.
/decisionLogs a settled choice once, with who decided, why and what was rejected. New sessions are told it is in force. With no text it lists active decisions.When you settle something you do not want argued again.
/lessonTurns a correction into one rule with its why, filed once in the right place, after checking for duplicates and conflicts. /lesson mine finds corrections you never filed.When you correct the agent a second time.
/swarm NSplits a task across N subagents with a fixed model mix and a reviewer who checks their output. From N = 7 there is one reviewer per ten agents.Big jobs with real independent pieces.
/context-auditMeasures what loads before your first message and finds contradictions, duplicates, stale claims and broken links. Fixes only with your OK, with a backup.When sessions feel slow, or the agent ignores a rule.
/doctorChecks that every hook, setting and command is installed, wired and working, and names the fix for each problem. Read-only.Weekly, or when something seems off.
/cureApplies the doctor's fixes. Safe ones run on their own, others need your OK. Then it checks again and shows before and after.After /doctor reports a problem.

The 3 hooks

Hooks run without you typing anything. They are installed into your Claude Code settings, and each one exits cleanly on any failure so it cannot block your work.

HookRuns onWhat it does
Checkpoint (checkpoint.sh)Before and after every compaction, and at session startKeeps the raw transcript, saves the compact summary as a checkpoint and warns if a required section is missing. Tells the new context where both are. At session start it adds one line: the age of the project's last checkpoint. In a folder holding two or more repos it makes the session settle which project it is in before its first edit.
Evidence gate (evidence-gate.sh)When the agent ends its turnIf the reply claims "tests pass", "deployed", "merged" or "fixed", it checks that this turn ran something that shows it, after the last code edit. If not, it sends the agent back once. It also holds "done" to the brief's checks. Turn it off with HO_EVIDENCE_GATE=off.
Brief guard (brief-guard.sh)Before a file editRefuses edits to any path or glob written in backticks under "Don't touch" in the brief. Shell writes are not checked. Turn it off with HO_BRIEF_GUARD=off.

Seven helper scripts back the commands (doctor.sh, cure.sh, compact-check.sh, context-inventory.sh, decision-log.sh, lesson-search.sh, lesson-mine.sh). They are run by their commands and are not hooks.

The checkpoint flow

When the context fills, Claude Code replaces the conversation with a summary, and the exact stopping point, the unpushed branch and the failed approach can go with it. These skills move that state to disk.

  1. You work. At a milestone you run /checkpoint, which verifies git and deploy state and writes CHECKPOINT.md.
  2. The context fills and compaction happens, manually or automatically. The hook links the full transcript, saves the summary and checks it has the required sections.
  3. The fresh context is told where its own checkpoint and transcript are, so it re-checks instead of guessing.
  4. Later, in this or a new session, /summary reads the checkpoint, compares it with live git, and reports drift if the code has moved on.

Everything lives in ~/.claude/checkpoints/<project>/, outside your repos so it can never be committed, with owner-only permissions. A compact-instructions block added to your CLAUDE.md makes the summary include In progress, Not started, State of the world and Resume here.

Turn it on, then start a new session

Claude Code loads hooks at session start, so open a new session after installing.

Install, update, uninstall

Install

git clone https://github.com/harnessoperator/harnessoperator-skills.git
cd harnessoperator-skills
./install.sh

The installer merges into your existing settings, never duplicates its own entries, and backs up every file it changes first as <file>.bak-harnessoperator-<timestamp>. It copies the commands to ~/.claude/commands/, the hooks and helper scripts to ~/.claude/hooks/harnessoperator/, wires the hook entries into ~/.claude/settings.json, and appends the compact instructions to ~/.claude/CLAUDE.md between marker comments. If you already wrote a "Compact instructions" section, it leaves it alone and tells you to merge by hand.

Update

cd harnessoperator-skills
git pull
./install.sh

The installer is safe to run again.

Uninstall

./uninstall.sh

This removes the hook entries (other tools' hooks are kept), the scripts, the compact-instructions block and the commands, as long as you have not edited them. Your checkpoints stay in ~/.claude/checkpoints/. Delete that folder to remove them too.

Check it works

Run /doctor in a new session. It names every problem with its fix, and /cure applies them.

Requirements

  • bash and jq (brew install jq or apt install jq).
  • A Claude Code version with PreCompact, PostCompact, SessionStart, Stop and PreToolUse hooks.
  • git is optional. It is used to find the repo root and to check branch state.
  • macOS and Linux. The test suite runs on both in CI.

Nothing leaves your machine. Checkpoints can quote anything from a session, secrets included, so they are created readable by you only. Read hooks/checkpoint.sh before you install it: it runs on every compaction.

Version and licence

Current version: 0.2.0, released 25 November 2026 (changelog). It ships with 219 black-box tests that run the real hooks, scripts, installer and uninstaller against a temporary home folder. Licence: MIT.

Skills and the course

Each skill automates a habit the free course teaches by hand. Learn the habit first and you will know what the skill is doing for you. The mapping is our own pairing, to the closest module.

SkillCourse module
/briefThe brief
/checkpoint, /summary, /compact-check, /context-audit, the checkpoint hookContext
/swarmDecomposition
Evidence gateVerification
Brief guard, /doctor, /cureGuardrails
/lesson, /decisionCompounding

Steering and Economics (module 5, module 8) have no skill of their own. To see many sessions at once, use the HOPE console.

Learn the habit first.

Each skill automates a habit the free course teaches by hand. Eight modules, free, at your pace.

Contributing

Issues, ideas and pull requests are welcome. The ground rules: no dependencies beyond bash, jq and git, portable shell for macOS and Linux, hooks that never block the harness, and nothing personal in code or tests. Read CONTRIBUTING.md for how to add a skill, and SECURITY.md to report a problem.

See every session.
Then learn the craft.

The skills fix single sessions. The console shows all of them, and the free course teaches the habits behind both.