agentleFS
ryanportfolioryanportfolio/Harness-Firmware/.claude/skills/compact-review/SKILL.md

compact-review

Skill1 starsChanged 2 months agoMITView on GitHub

Use on /compact-review or right before /compact: review the session and return copy-ready custom instructions for /compact that keep what matters. Does not run /compact.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep, in priority order:

    line 11

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Compact review

Review the whole session so far and write the custom instructions the user will paste after /compact. The summarizer reads them as directions for what to keep, so write imperatives to it.

Keep, in priority order:

  1. The user's goal for the session and any standing instructions or preferences they gave in it (style, scope limits, things to never do).
  2. Current state: repo, branch, worktree path, PR URL, last commit SHA, deploy or preview URL, files created or changed.
  3. Decisions made and the reason for each, including options the user rejected.
  4. What is verified and how, and what is still unverified.
  5. Open work: the next concrete step, pending questions to the user, background tasks still running.
  6. Failed approaches and gotchas that would otherwise be retried.
  7. Exact identifiers to keep verbatim: paths, commands, error strings, IDs, numbers.

Tell the summarizer to drop resolved tangents, raw tool output, superseded plans, and anything re-readable from files or CLAUDE.md. Never invent a fact; if a state item is unknown, leave it out. Keep the block under about 300 words; cut from the bottom of the priority list first.

Output

Return exactly one fenced text block and nothing else except one short line after it if something important could not be captured. The first line of the block is always Always use caveman ultra., whatever style the session is using.

Always use caveman ultra.
Goal: <one line>.
Keep: <standing user instructions>.
State: <branch, worktree, PR, SHA, files>.
Decisions: <decision, why>; ...
Verified: <what, how>. Unverified: <what>.
Next: <next step>; open questions: <...>.
Don't retry: <failed approach, cause>.
Verbatim: <paths, commands, errors>.
Drop tool output, resolved tangents, and superseded plans.

Omit any line with nothing to say. Do not run /compact, write a file, or change anything else.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.