godmode:crs-ledger-apply
Skill1 starsChanged 59 days agoMITView on GitHub
Merge crs-ledger-diff's proposed entries into the installed rule-ledger YAML, then regenerate the Markdown view from that YAML plus live crs-stats.json numbers. Merge/render half of the coursers rule-ledger pair.
In this repository78 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- godmode:agent-governanceSkill
- godmode:agent-improvement-loopSkill
- agents-skill-saveSkill
- baml-add-typesSkill
- godmode:brainstormSkill
- godmode:capSkill
- godmode:changelogSkill
- godmode:ci-fixSkill
- godmode:code-reviewSkill
- godmode:context-mapSkill
- godmode:cross-issueSkill
- godmode:crs-discoverSkill
- godmode:crs-hook-testingSkill
- godmode:crs-installSkill
- godmode:crs-ledger-diffSkill
- godmode:crs-propose-rulesSkill
- godmode:crs-validateSkill
- godmode:dead-codeSkill
- godmode:decomposeSkill
- godmode:dep-auditSkill
- godmode:dep-bumpSkill
- godmode:designSkill
- devloop-session-primerSkill
- godmode:dialecticSkill
- godmode:doc-maintainerSkill
- godmode:doc-reviewSkill
- godmode:doc-syncSkill
- godmode:doc-writerSkill
- doob-db-inspectorSkill
- doob-release-managerSkill
- godmode:doublecheckSkill
- dual-forge-pr-mergeSkill
- gh-bulk-issuesSkill
- godmode:health-scoreSkill
- godmode:ingestSkill
- godmode:introspectionSkill
- godmode:issue-triageSkill
- godmode:memory-bankingSkill
- godmode:mergeSkill
- godmode:mini-context-graphSkill
- godmode:mistake-trackerSkill
- godmode:moaSkill
- notfiles-release-workflowSkill
- godmode:observability-as-infrastructureSkill
- godmode:parallel-agentsSkill
- godmode:pattern-learnerSkill
- planning-with-cruxSkill
- godmode:pr-authorSkill
- godmode:receiving-reviewSkill
- godmode:refactoringSkill
- godmode:release-notesSkill
- release-readiness-checkSkill
- remote-upstream-triageSkill
- repo-gap-backlogSkill
- godmode:rust-conventionsSkill
- rustqualSkill
- rustqual-workspaceSkill
- rust-release-workflow-authorSkill
- godmode:self-reflectSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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 20
After crs-ledger-diff has written .ctx/coursers/rule-ledger-proposed.yaml
- Very specific: line 27
Read .ctx/coursers/rule-ledger-proposed.yaml.
- Very specific: line 31
Read .ctx/coursers/rule-ledger.yaml (empty mapping if missing).
- Very specific: line 36
Read .ctx/coursers/crs-stats.json (blocks = counts, last_seen = epoch floats per rule ID).
- Very specific: line 53
Never deletes entries flagged as orphaned by crs-ledger-diff — this step only ever writes what diff proposed.
≈ “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
crs-ledger-apply
Merge crs-ledger-diff's proposed entries into the installed rule-ledger
YAML, then regenerate the Markdown view from that YAML plus live
crs-stats.json numbers. This is the merge/render half of the coursers
rule-ledger pair; crs-ledger-diff is the discover/propose half.
When to Use
- After
crs-ledger-diffhas written.ctx/coursers/rule-ledger-proposed.yaml - Asked to "apply the ledger proposal" or "regenerate the rule ledger"
- To refresh
rule-ledger.md's numbers even with no new rows (e.g. after a rule has tripped a few more times)
Steps
- Read
.ctx/coursers/rule-ledger-proposed.yaml. If it is missing or{}, report "nothing to merge" and continue to step 3 anyway — the Markdown view still needs regenerating sincecrs-stats.jsoncounts may have changed since the last render. - Read
.ctx/coursers/rule-ledger.yaml(empty mapping if missing). For each key in the proposed file, add it to the ledger only if that key is not already present. Never overwrite an existing entry — a human may have already filled in its prose. Write the merged result back to.ctx/coursers/rule-ledger.yaml. - Read
.ctx/coursers/crs-stats.json(blocks= counts,last_seen= epoch floats per rule ID). Regenerate.ctx/coursers/rule-ledger.md:- Header:
<!-- generated by crs-ledger-apply — do not hand-edit; edit rule-ledger.yaml instead --> - One table per
categoryfound in the merged YAML, columns: Rule ID | Occurrences | Last seen | Pattern | Prevention | Notes Occurrences/Last seenalways come fromcrs-stats.jsonat render time — never read or written from the YAML. A rule with no entry incrs-stats.jsonyet (never triggered) renders as0/never.
- Header:
Contract
- Input:
.ctx/coursers/rule-ledger-proposed.yaml(fromcrs-ledger-diff),.ctx/coursers/rule-ledger.yaml,.ctx/coursers/crs-stats.json - Output: updated
.ctx/coursers/rule-ledger.yaml(only if new rows were merged) and an always-regenerated.ctx/coursers/rule-ledger.md - Never deletes entries flagged as orphaned by
crs-ledger-diff— this step only ever writes what diff proposed; orphan pruning is a manual edit torule-ledger.yaml. - Never touches
~/.config/coursers/course-correct-rules.json,.ctx/coursers/crs-stats.json(read-only here), or anything under.ctx/memory-bank/.
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.

