Agent Skills: Skill Map

Use to find agent skill installs, duplicate skills, cross-dependencies, invocations, and cross-references across the local machine. Scans broadly while ignoring macOS protected home paths, agent home install/state directories (~/.agents, ~/.claude, ~/.codex, ~/.local/state/skills), transcript/history/state directories, dependency folders, and backups.

UncategorizedID: paulrberg/dot-agents/skill-map

Install this agent skill to your local

pnpm dlx add-skill https://github.com/PaulRBerg/dot-agents/tree/HEAD/skills/skill-map

Skill Files

Browse the full folder contents for skill-map.

Download Skill

Loading file tree…

skills/skill-map/SKILL.md

Skill Metadata

Name
skill-map
Description
"Use to find agent skill installs, duplicate skills, cross-dependencies, invocations, and cross-references across the local machine. Scans broadly while ignoring macOS protected home paths, agent home install/state directories (~/.agents, ~/.claude, ~/.codex, ~/.local/state/skills), transcript/history/state directories, dependency folders, and backups."

Skill Map

Find skill installs and references across local files without scanning macOS protected home paths or obvious transcript, cache, dependency, and backup noise.

Arguments

  • --root PATH: Scan this root. Repeatable. Default: $HOME.
  • --skill NAME: Restrict the report to one skill name. Repeatable.
  • --format text|json|dot: Select report format. Default: text.
  • --include-catalog-sources: Include known local source checkouts such as ~/projects/agent-skills, ~/sablier/sablier-skills, and ~/sablier/agent-skills during broad scans. Explicit --root values inside those trees are always scanned.
  • --include-self: Include self-references in dependency output.
  • --include-snippets: Include matched line text. Default output omits snippets to avoid leaking transcript or secret-adjacent content.
  • --show-skipped: Include ignored path summaries in text or JSON output.

Workflow

  1. Resolve the skill directory, then run the helper from that directory:

    uv run scripts/skill-map.py "$ARGUMENTS"
    
  2. If no arguments were provided, run the default machine scan:

    uv run scripts/skill-map.py
    
  3. Use --format json when another command or agent will consume the result.

  4. Use --format dot when the user asks for a graph, Graphviz input, or dependency visualization.

  5. Use --include-snippets only when the user asks to see exact matching lines.

  6. Read references/ignore-policy.md only when explaining, auditing, or changing the ignore policy.

Output Semantics

  • dependency: a skill file or support file references another discovered skill.
  • external-reference: a non-skill file references a discovered skill.
  • duplicate-install: multiple discovered SKILL.md files declare or resolve to the same skill name.
  • unresolved-like-reference: explicit $kebab-name or /kebab-name tokens that do not match a discovered skill.

Guard Rails

  • Do not search transcript or backup directories manually after the helper excludes them unless the user explicitly requests transcript/history analysis.
  • Do not broaden $HOME scans into macOS protected paths such as ~/Library or ~/.Trash; pass narrower explicit roots instead when a broad scan needs more coverage.
  • Treat local skill catalog source checkouts as false positives during broad machine scans; pass them explicitly as --root when auditing catalog contents.
  • Treat output paths as local private context. Do not paste snippets unless --include-snippets was intentionally used.
  • Prefer adding ignore rules in the helper and documenting the rationale in references/ignore-policy.md instead of ad hoc shell filters.