/open-skills:map-checkfrom open-skills
Read-only conformance checker for Map Your Knowledge (MYK) scopes. Validates organized scopes against bundled rules, always reporting what was checked and what was not. Never claims unqualified clean.
Ships in open-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.mdand its routed references. Each finding carries its owning file and heading.
map-this (one-off) or map-maintain (the tending loop).Load the available map-rules owner and selected references for manual rule/provenance review. If that sibling is absent, the bundled compiled checker may still run within its documented boundary; report manual rule review unavailable, never invent the missing rules or claim full coverage.
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> [--root-map <scope-relative-path>] [--json] [--max-files N] [--max-ms N]
.myk/README.md or a declared root map). Ambiguous or contested scopes fail closed (scope-conflict).<target-path> and its contained root-map locator through --root-map. The checker resolves that locator relative to the supplied target; it does not promise walk-up scope discovery from a nested target.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.2. These mechanisms cannot observe every reparse form and do not prevent races; the result is not proof of race-free containment. The report includes inventory: {source, complete, scanned}.0 ran, zero findings (qualified-clean) · 1 ran, findings present · 2 operational error · 3 target/scope resolution error.| Check | Named source | Finding classes |
|---|---|---|
owner-declaration | ownership.md — Eligibility and ownership | missing-owner · multiple-owners · root-declares-owner |
reciprocal-spine | ownership.md — Eligibility and ownership | spine-drift-mapside · dangling-owner |
address-form | naming.md — Address rules and lyt.md — Cross-vault references | bare-duplicate-basename · ambiguous-target · raw-cross-vault-wikilink |
meta-container | frontmatter.md — Additional constraints and ownership.md — Shared meta | parse-error · duplicate-key · malformed-map-value · legacy-owner-key |
archive-consistency | lifecycle.md — Currentness and archive evidence | missing-callout · signal-disagreement · unsignalled-archive |
case-fold-collisions | naming.md — Sibling case-fold collisions | case-fold-collision |
exclusion-integrity | ownership.md — Managed artifacts and ownership.md — Excluded subtrees | malformed-exclusion · mapside-coverage-missing |
link-contract-grammar | link-resolution.md — Scope-contract grammar | malformed-contract |
link-occurrence-closure | link-resolution.md — Terminal classes and closure | occurrence-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.
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 or occurrence closure returns typed check-incomplete exit 2, never clean. Invalid machine declarations return contract-invalid with diagnostics and no usable resolution. After occurrence closure, a time cap assigns the remaining records residual-at-cap, emits incomplete resolution and exit 1; do not heal or enrich from it. 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.
The script consumes only M3 declarations in the scope contract: exclusions_honored and managed_declared identify their source paths under ownership.md. It does not load style records or suppress findings from prose. A Handler-confirmed style ruling may be applied only in a separate manual disposition ledger naming the ruling source, affected finding and reason; relay the raw deterministic verdict unchanged. Unknown or unconfirmed prose suppresses nothing.
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 thenext-skillsrecommendations 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): apply its signal taxonomy and threshold to this run; surface any surviving proposal for handler approval. Conservative — silent otherwise. Never auto-apply.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub allemaar/open-skills --plugin open-skills93 skills in this plugin
/agent-mailboxTwo or more agents — any harness, any vendor — collaborate through any shared folder: share a folder, load the skill, point at it.
/agent-outputCompact agent-to-agent communication contract for worker reports, handoffs, status, blockers, and review findings. Trigger phrases: "/agent-output", "brief the worker", "make agent reports terse". Not a transport; use /agent-mailbox for delivery.
/ask-gateThe Ask-Gate Protocol (AGP). Before surfacing an AskUserQuestion, triage whether the question is genuinely the handler's call (anti-nag); ask routine questions directly after a quality checklist, but escalate high-stakes / branching / irreversible ones through /insight-critique then /insight-assess first. Trigger via /ask-gate, or automatically before any handler-facing question. Not /caller-options (routes a skill's venue/mode) or /next-skills (recommends successors) — AGP governs the question itself.
/ask-meConstructively interview someone about an idea, task, project or decision so useful work can start. Use when explicitly asked to be interviewed, including “ask me”; ordinary task requests do not start this interview./audit-code-commentsInventory the code comments in a repository, classify each one against the code it sits beside (tautology, stale, excuse, decision, keep, uncertain), then report, prune or strictly migrate them: delete noise, turn excuse comments into issue drafts, move decisions into ADRs, and optionally lock the result with a per-file comment ratchet. Edits go through a real parser with a token guard. Scales from a small module to a large repo with a pilot batch, path stages and budget gates. Trigger on /audit-code-comments, "audit the comments in this repo", "clean up code comments", "move comments to ADRs", "turn TODO comments into issues", "add a comment ratchet". Not for reviewing a diff for bugs (use /cold-review), not for prose in docs (use /prose-audit), not for duplicated constants (use /audit-coupled-constant).
/audit-coupled-constantAudit every site of a constant whose value is duplicated across multiple call sites (retry budgets, timeouts, page sizes, magic numbers, feature flags). The author-maintained `SEE ALSO` trail is documentation, not enforcement — one missed site means the trail lies. Trigger on /audit-coupled-constant, "audit budget consistency", "find all sites of this value", "check coupled invariant", "before raising this constant", or after any edit to a constant that has SEE ALSO cross-references in its comments. Pairs naturally before /cold-review on a "raise the budget" PR. Not for extract-constant refactors that consolidate scattered values into a single named import — use /improve-codebase-architecture. Not for constants enforced by the type system (TypeScript `as const` literal imported everywhere) where the compiler is the audit — skip.Other plugins' skills for the same job