agentleFS
t-manitejat-maniteja/codex-failsafe/skills/map/SKILL.md

map

Skill0 starsChanged 3 months agoMITView on GitHub

Bootstrap a consumer map for this repository — a checked-in CONSUMERS.md stating, for each kind of surface a change can start at, what else must move and how to verify it moved. The post and pre reviews read it to hunt unreached consumers. Run once per repo, then keep it current. Requires the `codex` CLI on PATH.

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use evolve, decide and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • paulo-yamagishiSkill

    evolve

    Auto-maintain Claude Code config files as your codebase evolves

    Also in 3 projects that use this

  • jesgarramSkill

    decide

    Convergent thinking phase for brainstorming. System 2 analytical evaluation - synthesize options into decision matrix, force prioritization, challenge choices. Use after explore phase when ready to narrow down options.

    Also in 3 projects that use this

  • ww-w-aiSkill

    loop

    Run a prompt or command on a recurring interval. Useful for monitoring, polling, or periodic checks.

    Also in 3 projects that use this

  • an8079Skill

    autopilot

    Also in 3 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 4 projects that use this

  • genomewalkerSkill

    learn

    Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Keep it current the same way code is kept current: when a review's unreached_consumers surfaces a consumer the map missed, the map gets a …

    line 38

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “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

The map — teaching the failsafe what consumes what

The most valuable thing the failsafe does is name the consumer a change failed to reach. In a repository with no stated coupling, it can only guess from imports and greps — which misses exactly the coupling grep cannot see: docs that quote code, fixtures, generated artifacts, deploy config. A consumer map fixes that, and this skill drafts one from the repository's own evidence.

Steps

  1. Run the derivation:

    "${CLAUDE_PLUGIN_ROOT}/scripts/codex-failsafe.sh" map

    Codex reads the build config, import graph, CI, codegen scripts, test layout and docs, and returns edges — each with origin, must_reach, verified_by, and evidence (or the honest string "inferred") — plus unmapped_risks it could not pin down.

  2. Adjudicate the draft with the user — never install it silently. A map nobody reviewed is a map nobody owns, and a wrong row misdirects every future review. For each edge: keep it, fix it, or strike it. Look twice at every "inferred" row. Resolve or strike each unmapped_risk.
  3. Write CONSUMERS.md at the repo root using templates/CONSUMERS.template.md as the shape, and commit it. The runner also accepts .codex-failsafe/CONSUMERS.md or docs/CONSUMERS.md.
  4. Keep it current the same way code is kept current: when a review's unreached_consumers surfaces a consumer the map missed, the map gets a row in the same change. The map is itself a surface with consumers — every future review reads it.

Without a map

The reviews still run: the runner tells Codex no map exists and instructs it to derive coupling from first principles. That is honest degradation, not failure — but the map is what turns "grep found these references" into "the repo says this schema is transcribed in three places; you moved two."

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.