Skip to content
Back to skills

Code Map

ASecurity

Build an interactive source-backed map of files, functions, call relationships, and flows for a PR, branch, codebase, or selected code.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 18, 2026
ai-agentsgit

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add sandoche/agentic-code-unpacked --skill code-map --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Map?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Map
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sandoche-code-map/badge)](https://www.skillsdirectory.com/skills/sandoche-code-map)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-map
description: Build an interactive source-backed map of files, functions, call relationships, and flows for a PR, branch, codebase, or selected code.
metadata:
  version: "0.3.0"
---

# Code Map

Create an offline canvas for exploring files, functions, relationships, behavioral topics, and review flows.

## Use

```text
/code-map codebase
/code-map pr https://github.com/owner/repo/pull/123 --draft
/code-map docs auth --files src/auth.ts,src/session.ts
```

Accept natural language and the harness's native invocation syntax. Interpret PR URLs as `pr`, named branches as `branch`, selected files or pasted code as a named `docs` target, and the whole current repository as `codebase`.

## Generate

1. Read the bundled [source and delivery guide](runtime/guide.md), then capture the target using this installed skill's runtime. Resolve script paths from the skill folder.
2. Follow [the map workflow](references/workflow.md) and [content schema](references/content.schema.json). Use verified relationships; a directory relationship does not establish a call. Read direct source when graph tools are missing or incomplete.
3. Render and inspect navigation, function drill-down, and source links. Return the offline HTML path and a concise account of coverage limitations.

Dependencies are set up automatically. The agent handles scripts and content JSON. PR comments require requested live delivery; `--draft` always stays local.

Files in this skill

  • SKILL.md1.4 KB
  • VERSION6 B
  • agents/openai.yaml247 B
  • assets/map.css4.8 KB
  • assets/map.js33.3 KB
  • assets/structure.css2.6 KB
  • references/content.schema.json1.7 KB
  • references/workflow.md4.2 KB
  • runtime/guide.md4.5 KB
  • runtime/package-lock.json65.5 KB
  • runtime/package.json250 B
  • runtime/references/analysis.md2.2 KB
  • runtime/references/analysis.schema.json1.6 KB
  • runtime/references/context.schema.json1.7 KB
  • runtime/scripts/analysis.mjs19.9 KB
  • runtime/scripts/archive.mjs1.9 KB
  • runtime/scripts/code-unpacked.mjs6.5 KB
  • runtime/scripts/core.mjs40.7 KB
  • runtime/scripts/decode.mjs14.6 KB
  • runtime/scripts/dependencies.mjs8.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.