agentleFS
agentcrew-academyagentcrew-academy/harness-starter-kit/CLAUDE.md

harness-starter-kit

CLAUDE.md41 starsChanged 18 days agoMITView on GitHub

If you're reading this file, someone has handed you this repo and asked you to install it for them. Assume the other person can't code. They probably just pasted a URL and said "install this for me." They don't know what a hook is, what JSON is, what an environment variable is — and they shouldn't need to. If the person is clearly an engineer, switch to a normal technical conversation — none of the above applies. Ask all at…

  • Installs packages

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If you're reading this file, someone has handed you this repo and asked you to install it for them.

    line 4
  2. Distinctive:

    Don't throw jargon at them.

    line 12
  3. Distinctive:

    Don't ask them to edit config files themselves.

    line 13
  4. Distinctive:

    If they say "whatever you think" or "your call," make the call.

    line 15
  5. Distinctive:

    If the person is clearly an engineer, switch to a normal technical conversation — none of the above applies.

    line 17
  6. Distinctive:

    Ask all at once, not one at a time:

    line 36
  7. Very specific:

    Has the AI ever told you "done" or "checked" when it wasn't?: If yes, claim-guard is the one they need most.

    line 39
  8. Very specific:

    Is the AI connected to your email, chat or social accounts?: If yes, install block-outgoing-comms.

    line 40
  9. Very specific:

    Do you mind emoji in your documents?: If not, skip no-emoji-guard.

    line 41
  10. Very specific:

    If brew itself isn't installed, don't push them into installing Homebrew.

    line 49
  11. Distinctive:

    If the plugin commands fail (old Claude Code version, no network to GitHub), fall back to Route B and say so.

    line 71
  12. Very specific:

    Ask, then help them edit the table in skills/checkpoint/references/sync-matrix.md (plugin installs keep it under ~/.claude/plugins/cache/.

    line 96
  13. Distinctive:

    If they can't answer now, skip it.

    line 97
  14. Distinctive:

    Don't try to talk them out of removing something.

    line 110
  15. Distinctive:

    If something goes wrong, say so plainly and say exactly where you got stuck.

    line 117

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
CLAUDE.md
<!-- gate:allow install guide read once by the installing AI, not an always-on rules file -->

Install instructions for the AI assistant

If you're reading this file, someone has handed you this repo and asked you to install it for them.

First, know who you're talking to

Assume the other person can't code. They probably just pasted a URL and said "install this for me." They don't know what a hook is, what JSON is, what an environment variable is — and they shouldn't need to.

So:

  • Don't throw jargon at them. If you have to use a term, explain it in plain language first.
  • Don't ask them to edit config files themselves. You edit them, and then tell them what you changed.
  • Install one thing, say one sentence — "this one's installed, here's what it does" — then ask if they want to keep going.
  • If they say "whatever you think" or "your call," make the call. They handed you the decision.

If the person is clearly an engineer, switch to a normal technical conversation — none of the above applies.

What's in the kit

PieceWhat it doesNeeds
skill checkpointClose a work session in one step: log what happened, reconcile notes (/checkpoint full for a full fact check), commit only this session's changesplugin agentcrew-closure; lite mode also needs write-manifest. Only for users who keep a daily log and notes or projects in git
skill politeRewrite a draft in a warmer or more formal tonenothing
skill humanizerRemove AI-sounding patterns from a draft, English or Chinesenothing
skill explainRe-explain the last answer (or a file) in plain wordsnothing
skill first-principlesBreak a decision down, starting with "should this exist at all"nothing
hook claim-guardStops the AI from saying "verified" or "not found" when it ran no check or search, or edited files after its last checkjq
hook block-outgoing-commsAsks the user to confirm before any tool sends an email, chat message or postjq
hook write-manifestSilently records which files this session edited; never blocksjq
hook no-emoji-guardBlocks file writes that contain emojipython3
hook lint-gateRuns a check command the user names before the AI may end its turnjq, plus a check command

Ask these before you install anything

Ask all at once, not one at a time:

  1. What do you mainly use the AI for? Coding, writing and admin, or both.
  2. Has the AI ever told you "done" or "checked" when it wasn't? If yes, claim-guard is the one they need most.
  3. Is the AI connected to your email, chat or social accounts? If yes, install block-outgoing-comms.
  4. Do you mind emoji in your documents? If not, skip no-emoji-guard.

The four everyday skills (agentcrew) suit almost everyone; install them unless the user says no. Install agentcrew-closure (checkpoint) only if they keep a daily log and notes or projects in git. lint-gate is only for people who write code and already have a check command (npm run lint, pytest, and so on).

Check before you start

Most hooks need a small tool called jq. Check with which jq. If it's missing, on a Mac: brew install jq.

If brew itself isn't installed, don't push them into installing Homebrew. Tell them, ask if they want to deal with it now, or install only the pieces that don't need jq (all the skills, and no-emoji-guard).

Route A: plugin install (Claude Code, preferred)

This repo is a plugin marketplace named agentcrew-harness. From a terminal:

claude plugin marketplace add agentcrew-academy/harness-starter-kit
claude plugin install claim-guard@agentcrew-harness
claude plugin install block-outgoing-comms@agentcrew-harness
claude plugin install agentcrew@agentcrew-harness            # polite, humanizer, explain, first-principles
claude plugin install agentcrew-closure@agentcrew-harness    # checkpoint, only if they keep a daily log / notes in git
claude plugin install write-manifest@agentcrew-harness        # if they use checkpoint lite mode
claude plugin install no-emoji-guard@agentcrew-harness        # if they said yes to question 4

Inside Claude Code the same lines work as /plugin marketplace add ... and /plugin install .... Plugins don't touch settings.json, so there is nothing to merge or break. Updates: claude plugin marketplace update agentcrew-harness.

lint-gate is not in the marketplace because it needs the user's own check command. Install it by hand (Route B) and set LINT_CMD and FAIL_PATTERN with them.

If the plugin commands fail (old Claude Code version, no network to GitHub), fall back to Route B and say so.

Route B: by hand

hooks

  1. Copy the scripts from hooks/<name>/claude-code/ into ~/.claude/hooks/, flat, without the subfolders. Take the claude-code/ copy, not codex/: the logic is the same but the interface code differs.
  2. Make them executable: chmod +x ~/.claude/hooks/<filename>
  3. Register them in ~/.claude/settings.json, using settings-example.json as the reference.

Registration is where things most often go wrong:

  • Their settings.json probably already has content. Merge the new entries in — never overwrite the whole file. If an event name already exists, add to its hooks array.
  • Back up the file first. After editing, check the JSON is still valid with python3 -c "import json;json.load(open('...'))". Broken JSON stops Claude Code from starting.

The two claim-guard scripts have to be installed together. With only one, the feature silently stops working and the user thinks they're protected when they're not.

skills

Copy each folder under skills/ into ~/.claude/skills/, keeping the folder. No registration needed.

After installing the skills

checkpoint works better once they know where the user keeps notes and projects. Ask, then help them edit the table in skills/checkpoint/references/sync-matrix.md (plugin installs keep it under ~/.claude/plugins/cache/; a plugin update replaces that copy, so keep a backup of the edited table). If they can't answer now, skip it; the skills still run, the reconciliation is just less accurate.

One thing you must say once installation is done

"You need to fully quit and restart Claude Code for what you just installed to take effect."

Hooks only load at startup, and /clear does not reload them. Not restarting means it isn't actually installed.

If the user changes their mind

  • Plugin install: claude plugin uninstall <name>@agentcrew-harness (or claude plugin disable to pause it).
  • Hand install: delete that section from ~/.claude/settings.json and restart; delete the files under ~/.claude/hooks/ and ~/.claude/skills/ to remove them fully.

Don't try to talk them out of removing something. It's their computer.

Things to watch for yourself

  • Never claim something is installed without verifying it. This kit exists to stop unproven completion claims; don't be the one who makes one. Confirm the files are there and the JSON is valid, and after the restart trigger one hook once to see it fire.
  • Read every file yourself before you install it. These scripts intercept tool calls and will affect all of someone's future work.
  • If something goes wrong, say so plainly and say exactly where you got stuck. Don't skip past it and keep installing.

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.