map-init

Installs or removes the MYK directive route on agent configuration surfaces with verified atomic writes.

14|1|Updated Jun 14, 2026
One-click install
npx skills add https://github.com/allemaar/open-skills --skill map-init-allemaar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: map-init
Source: https://github.com/allemaar/open-skills/tree/main/skills/map-init
Command: npx skills add https://github.com/allemaar/open-skills --skill map-init-allemaar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up the Map Your Knowledge (MYK) routing directive across multiple agent configuration files is error-prone: partial edits, duplicate blocks, and silent overwrites can corrupt agent instructions. This Skill manages installation and removal of the MYK route with detection, exact diffs, scoped approval, and atomic writes. ## Core Features & Use Cases - State Detection and Classification: Parses directive files for managed marker blocks and legacy clauses, classifying each target as INSTALL, UPDATE, REMOVE, NO-OP, CONFLICT, or MALFORMED before proposing changes. - Approval-Bound Writes: Shows exact per-file diffs with SHA-256 hashes and byte counts, requiring approval bound to those exact bytes before any modification. - Safe Atomic Writes: Creates verified backups, rejects symlinks and reparse points, stages candidates in the same directory, and performs atomic replacement with drift detection. - Use Case: You want your AI agents to always load map-rules and map-this before organizing Markdown notes. Run /map-init to detect supported agent surfaces, review the exact diff for each, approve, and have the routing block installed atomically with rollback support. ## Quick Start Run /map-init to detect my agent configuration surfaces and install the MYK routing directive with my approval on each file.

Frequently Asked Questions about map-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install the MYK routing directive on my agent configuration?

Run /map-init to detect supported directive surfaces for your active runtime. The skill shows each target's state, presents the exact diff with hashes, and writes atomically only after you approve the specific bytes for each file.

How do I remove the map-init managed block from a directive file?

Request removal and the skill shows the exact removal diff for approval. It requires exactly one managed block to proceed, removes it with the same verified write discipline, and offers rollback from the verified backup if anything fails.

Does map-init create new agent configuration files?

No, map-init never creates directive files. A selected surface without an existing directive file is classified as CONFLICT, and the skill provides manual placement instructions instead of writing anything.

What happens if the marker block is malformed or duplicated?

Any invalid marker count, ordering, nesting, or fenced-code parsing is classified as MALFORMED and stops the operation. Duplicate managed blocks also stop removal, preventing ambiguous or destructive edits.

Can map-init modify my vault or Markdown content files?

No, map-init never touches vault content or unselected files. It only modifies explicitly selected and approved directive surfaces, and existing directives remain authoritative outside the managed block.