agentleFS
allemaarallemaar/open-skills/skills/map-check/SKILL.md

map-check

Skill14 starsChanged 4 months agoApache-2.0View on GitHub

The honest inspector for Map Your Knowledge — read-only conformance checks of an organized scope via a small bundled script, always reporting what was checked AND what was not; it can never claim an unqualified "all clear". Trigger when the user says "check this map", "check the graph", "is this vault still healthy", "run map-check", or "/map-check". Read-only forever; repairs belong to map-this and map-maintain.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Not implemented: optional lifecycle values, eight-field ceremony, snapshot pairs, automatic discovery of scope-local instructions, …

    line 64
  2. Very specific:

    Run it and relay its verdict intact.

    line 72
  3. Very specific:

    If Node.js or the exact checker companion is unavailable, no deterministic map-check verdict exists.

    line 74

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

/map-check

The read-only conformance front door for Map Your Knowledge (MYK). It validates a scope against the named MYK sources and never invents rules of its own.

Protocol provenance. MYK v2.4 comes from map-rules/SKILL.md and its routed references. Each finding carries its owning file and heading.

The two iron rules

  1. Read-only forever. map-check never writes, renames, or proposes-and-applies. Findings go to the Handler, and repairs run through map-this (one-off) or map-maintain (the tending loop).
  2. Unqualified CLEAN is banned. The only positive verdict is: "clean for checks {list} over inventory {source}, mode {mode}; not checked: {list}." A crash can never read as a pass: the JSON envelope separates operational errors from findings by shape.

Required checker companion

The bundled deterministic companion references/tools/map-check.mjs does the mechanical work with Node.js and no model in the validation path:

node <this-skill>/references/tools/map-check.mjs <target-path> [--json]
  • Target classes: an explicit path inside a scope, or a scope root (a directory containing .myk/README.md or a declared root map). Ambiguous or contested scopes fail closed (scope-conflict).
  • Modes: FULL when scope.md — Organized-scope evidence resolves .myk/README.md; DEGRADED when the caller supplies another exact declared root-map source. Absence of a declaration is never a finding; undeclared trees are outside jurisdiction.
  • Inventory honesty: the script walks the scope itself (never following links/junctions out of it; skipped boundaries are counted against completeness) and reports inventory: {source, complete, scanned}.
  • Exit codes: 0 ran, zero findings (qualified-clean) · 1 ran, findings present · 2 operational error · 3 target/scope resolution error.

Checks

CheckNamed sourceFinding classes
owner-declarationownership.md — Eligibility and ownershipmissing-owner · multiple-owners · root-declares-owner
reciprocal-spineownership.md — Eligibility and ownershipspine-drift-mapside · dangling-owner
address-formnaming.md — Address rules and lyt.md — Cross-vault referencesbare-duplicate-basename · ambiguous-target · raw-cross-vault-wikilink
meta-containerfrontmatter.md — Additional constraints and ownership.md — Shared metaparse-error · duplicate-key · malformed-map-value · legacy-owner-key
archive-consistencylifecycle.md — Currentness and archive evidencemissing-callout · signal-disagreement · unsignalled-archive
case-fold-collisionsnaming.md — Sibling case-fold collisionscase-fold-collision
exclusion-integrityownership.md — Managed artifacts and ownership.md — Excluded subtreesmalformed-exclusion · mapside-coverage-missing
link-contract-grammarlink-resolution.md — Scope-contract grammarmalformed-contract
link-occurrence-closurelink-resolution.md — Terminal classes and closureoccurrence-closure-broken

Not checked, reported every run: prose quality; semantic roles in free-form maps; earned-scope judgment; whether an undeclared tree should be organized; tag semantics beyond syntax; positive cross-vault validity; frontmatter-contained links; optional lifecycle-value legality; snapshot exemptions; the eight-field frontmatter ceremony; qualified Lyt-vault target resolution; and work state.

Bundled checker boundary

The companion implements the named checks above, with address-form limited to owner resolution, duplicate-basename ambiguity, and raw cross-vault prohibition. It independently parses link declarations and resolves the eleven terminal occurrence classes from link-resolution.md. A cap before inventory closure returns typed check-incomplete exit 2, never clean. map-scan and map-check share named semantics but no implementation; normalized-record disagreement is evidence.

Not implemented: optional lifecycle values, eight-field ceremony, snapshot pairs, automatic discovery of scope-local instructions, Unicode/Obsidian heading-slug normalization, embed-specific semantics, and qualified-Lyt-vault resolution. Narrowing the declared boundary requires explicit review.

Suppression sources — exactly two

M3 declarations in the scope contract, and Handler-confirmed rulings persisted in the style record. Raw prose suppresses nothing. Every suppression is listed in the output with its provenance.

Agent duties around the script

Run it and relay its verdict intact. Never upgrade "clean for these checks" into "all clear". Lead with DEGRADED mode or incomplete inventory. Route findings to the Handler through map-this or map-maintain.

If Node.js or the exact checker companion is unavailable, no deterministic map-check verdict exists. A separate review may follow the selected map-rules references, but label it MANUAL REVIEW — not a map-check verdict, state its exact inventory and omissions, and never issue qualified-clean language.

Human output. This skill's handler-facing output obeys the human-output contract (human-output/SKILL.md).

Next skills. On completion, run the Next Skills protocol (next-skills/SKILL.md): surface the next-skills recommendations from front-matter for the caller to pick. Offer only — never auto-invoke.

Self-improvement. On completion, run the Self-Improvement Protocol (self-improve/SKILL.md): if this run surfaced a concrete, blocking-or-recurring weakness in this skill, propose a specific fix for the handler to approve. Conservative — silent otherwise. Never auto-apply.

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.