map-rules

map-rules is a skill for Claude Code from allemaar/open-skills. It costs 77 tokens per session (5,545 once invoked), scanned A, original, Apache-2.0.

A shared rulebook for organizing Markdown notes in a knowledge vault, including filenames, titles, tags, links, archives, and summaries.

In plain words
What is it for?
Use it when creating, editing, moving, renaming, classifying, or organizing vault Markdown content.
Why use it?
It gives agents consistent organization rules and helps prevent notes from being misplaced, renamed incorrectly, or structured inconsistently.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the open-skills plugin — 58 skills shipped together

Good fit Use it when creating, editing, moving, renaming, classifying, or organizing vault Markdown content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/allemaar/open-skills/map-rules
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add allemaar/open-skills --skill map-rules
Clone the repo
git clone --depth 1 https://github.com/allemaar/open-skills

Made for: Claude Code.

Or install open-skills, the plugin that ships this one along with the rest of its 58 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for map-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/allemaar/open-skills/map-rules.svg)](https://agentmods.dev/skills/allemaar/open-skills/map-rules)
Your own site
<a href="https://agentmods.dev/skills/allemaar/open-skills/map-rules"><img src="https://agentmods.dev/badge/skills/allemaar/open-skills/map-rules.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.05545
Opus 5 $0.00039 $0.02772
Sonnet 5 $0.00015 $0.01109
Haiku 4.5 $0.00008 $0.00554

Measured 8d ago against content hash 909e4c8be4c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

map-rules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/map-rules/SKILL.md · 190 lines

How it starts

The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/map-rules

The always-on organization kernel for vault Markdown — the shared Map Your Knowledge (MYK) protocol rules every agent loads before creating, editing, moving, renaming, classifying, mapping, rolling up, archiving, or evaluating the organization of vault content. It is self-contained: every syntax and safety rule needed to apply it is in this file. It is a behavioral protocol — no standalone CLI, no derived index, no dashboards, no durable node IDs. (Naming note: map-rules is THIS shared protocol; a scope's own House Rules are that one scope's local guidance — see the elasticity section. The two never mix.)

kernel-version: MYK v2.3 f2f96f2de49b4863bca55ee8f6004d24e00574a7db5e7e5ef0e3cb28c42510cf — revisions to this file are contract-driven and batched with their own review. Entrypoint naming note: the contract text names .myk/scope.md; the Handler ruled the rename to .myk/README.md (2026-08-01) and it rides the already-authorized bounded schema revision — this file follows the ruling; the contract text updates at that supersede.

Elasticity — house style outranks MYK defaults

MYK never steps on what the user has. Before organizing ANY scope, run the pre-flight and land on ONE Handler-confirmed verdict — detection is evidence and a proposal, never an automatic classification:

  • ADOPT — a compatible house style exists: work WITHIN it. Adoptable dialect (closed list): section names/headings, tag vocabulary, filename/folder grammar, title conventions, README conventions. Never adoptable (kernel-owned core): the ownership carrier, the reciprocal spine, address form, archive signaling, ambiguity refusal.
  • OFFER — an incompatible structure exists: never silently mix. Two options to the scope's OWNER: switch this scope to MYK, or leave it alone. Judged per kernel-owned question; nested-scope coexistence is legal.
  • SETTLE — no protocol present AND detection is confident: MYK defaults apply.
  • ASK (fail-closed default) — cannot decide, evidence implicit, or inventory SAMPLED (a sampled pre-flight may ONLY return ASK): the Handler decides. A scope already under a live .myk/ contract short-circuits the pre-flight.

Read the full file on GitHub · 190 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 190 lines · 77 tokens per session scan A 909e4c8be4c9

Subscribe to this mod's changes

map-rules is a skill published in the GitHub repository allemaar/open-skills (14 stars, last pushed 21d ago), licensed Apache-2.0. It adds 77 tokens to every session and 5,545 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

long-context

Extend context windows of transformer models using RoPE, YaRN, ALiBi, and position interpolation techniques. Use when processing long documents (32k-128k+ tokens), extending pre-trained models beyond original context limits, or implementing efficient positional encodings. Covers rotary embeddings, attention biases…

davila7/claude-code-templates · 74 tokens

hive.note-taking

Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.

aden-hive/hive · 30 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

vellum-memory-v3-migration

One-time migration of an existing memory-v2 concept corpus into the memory-v3 section-grain "wiki" — topical articles with a stand-alone lead and queryable sections — with loss-proof staging, assistant-reviewed authoring, and a retrieval-eval gate before cutover.

vellum-ai/vellum-assistant · 63 tokens