agentleFS
89jobrien89jobrien/godmode/skills/crs-discover/SKILL.md

godmode:crs-discover

Skill1 starsChanged 57 days agoMITView on GitHub

Discover unhandled commands from Claude Code session history via crs discover. First step of the coursers-rules pipeline — writes rule candidates to .ctx/coursers/crs-candidates.json for crs-propose-rules to consume.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Ensure the output directory exists: .ctx/coursers/.

    line 24
  2. Distinctive:

    Run the discovery scan (last 30 days, only commands seen 3+ times):

    line 25
  3. Very specific:

    Write the JSON output verbatim to .ctx/coursers/crs-candidates.json.

    line 31
  4. Very specific:

    If crs is not on PATH or discovery returns no candidates, write an empty JSON array to the output path and report that the pipeline has …

    line 43

≈ “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

crs-discover

Scan recent Claude Code session history for commands that no course-correct rule currently handles, and persist them as rule candidates.

When to Use

  • First step of godmode pipeline start coursers-rules
  • Asked to "find unhandled commands", "discover rule candidates", or "what commands keep slipping past the hooks"

Steps

  1. Ensure the output directory exists: .ctx/coursers/.
  2. Run the discovery scan (last 30 days, only commands seen 3+ times):

    crs discover --format json --since 30 --min-count 3
  3. Write the JSON output verbatim to .ctx/coursers/crs-candidates.json.
  4. Report a one-line summary: number of candidate commands and the top 3 by occurrence count.

Contract

  • Input: Claude Code session history (crs reads it itself — no arguments beyond the flags above).
  • Output: .ctx/coursers/crs-candidates.json — the raw crs discover JSON. Downstream skills depend on this exact path.
  • Candidates below 3 occurrences are excluded by --min-count 3; do not lower this without being asked.
  • If crs is not on PATH or discovery returns no candidates, write an empty JSON array to the output path and report that the pipeline has nothing to propose — the remaining steps then no-op cleanly.

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.