customize-harness
Skill2 starsChanged 6 days agoMITView on GitHub
Semantically tailor the installed AI harness to the project domain and the user's workflow conventions. Idempotent.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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
- Very specific: line 24
Read: README.md, pyproject.toml / package.json description or name.
- Very specific: line 25
Read only the rule/agent/command files whose names appear in AGENTS.md or the requested change.
- Very specific: line 27
Do not read: templates/, generator source, or unrelated repositories.
- Distinctive: line 34
Read domain facts: Use README.md and the manifest fields.
- Distinctive: line 52
Use judgment only for:
- Distinctive: line 58
Do not invent project facts or change the stack.
- Distinctive: line 83
Stop if AGENTS.md or CLAUDE.md is missing.
- Distinctive: line 84
Stop if the plan is not approved.
- Distinctive: line 85
Stop if drift validation fails.
- Very specific: line 86
Do not touch templates/ or any genesis file.
- Very specific: line 90
Default: read AGENTS.md, CLAUDE.md, my-workflows.md, and the domain manifest.
- Distinctive: line 93
If a sixth rule is needed for a correctness decision, include it and say why.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
Customize Harness
<!--
contract: .claude/rules/doctrine/skill-execution.md
version: 2.0.0, owner: John D
-->Tailor the installed harness in place. Rendering owns placeholders; this skill owns semantic fit and workflow weaving. It never needs the genesis repo.
Inputs
- Required:
AGENTS.md,CLAUDE.md,my-workflows.md(if present). - Read:
README.md,pyproject.toml/package.jsondescription or name. - Read only the rule/agent/command files whose names appear in
AGENTS.mdor the requested change; do not open every rule. - Do not read:
templates/, generator source, or unrelated repositories.
Deterministic Steps
- Inventory. Run
python3 .claude/skills/customize-harness/scripts/inventory.py --root .; use its JSON counts and workflow-section status. - Read domain facts. Use
README.mdand the manifest fields; if the domain is still unclear, ask one question. - Read workflows. Open
my-workflows.md; ignore every section that is still a<placeholder>. - Build the edit plan. One row per file: current problem, exact change, reason. Group as domain fit, coverage, workflow weaving, trim, or missing rule.
- Stop for approval. Show the plan and ask “Apply this plan? Reply yes, or adjust.” Do not edit before approval.
- Apply in place. Preserve headings. Keep
CLAUDE.mdthin, keep theAGENTS.mdrule index accurate, and never delete user-authored content without confirmation. - Validate. Run
python3 .claude/hooks/check-project-drift.py --quiet; stop on failure. - Report. List changed files, removed rules, added rules, and any skipped workflow sections.
LLM Judgment
Use judgment only for:
- mapping generic examples to the project's actual domain terms;
- deciding which rules genuinely do not fit;
- weaving filled-in workflow conventions into
AGENTS.mdwithout copying.
Do not invent project facts or change the stack.
Output
## Customize Plan
| File | Change | Reason |
|------|--------|--------|
Apply this plan? Reply yes, or adjust.After approval, report:
## Customize Result
Changed: <file list>
Rules removed: <list or none>
Rules added: <list or none>
Workflow sections skipped: <list or none>
Validation: PASS | FAILStop Conditions
- Stop if
AGENTS.mdorCLAUDE.mdis missing; run bootstrap first. - Stop if the plan is not approved.
- Stop if drift validation fails.
- Do not touch
templates/or any genesis file.
Token Budget
- Default: read
AGENTS.md,CLAUDE.md,my-workflows.md, and the domain manifest. - Open at most five rule files per pass; never load
.claude/rules/**wholesale. If a sixth rule is needed for a correctness decision, include it and say why. - Plan and report ≤ 300 words each; use a table when more files change.
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
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.

