context-map

context-map is a skill for Claude Code from athola/claude-night-market. It costs 32 tokens per session (1,133 once invoked), scanned A, original, MIT.

A compact map of a software project that records its layout, dependencies, frameworks, entry points, imports, routes, and environment variables.

In plain words
What is it for?
It helps developers understand project structure, find where features start, trace imports, identify commonly used files, and locate API routes.
Why use it?
It gives an AI assistant an overview of an unfamiliar codebase before it repeatedly reads individual files, saving context and helping locate high-impact files.

Skill for Claude Code

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

Part of the conserve plugin — 15 skills, 6 commands, 5 agents shipped together

Good fit It helps developers understand project structure, find where features start, trace imports, identify commonly used files, and locate API routes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/athola/claude-night-market/context-map
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 athola/claude-night-market --skill context-map
Clone the repo
git clone --depth 1 https://github.com/athola/claude-night-market

Made for: Claude Code.

Or install conserve, the plugin that ships this one along with the rest of its 15 skills, 6 commands, 5 agents.

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 context-map

README.md
[![agentmods](https://agentmods.dev/badge/skills/athola/claude-night-market/context-map/github.svg)](https://agentmods.dev/skills/athola/claude-night-market/context-map)
Your own site
<a href="https://agentmods.dev/skills/athola/claude-night-market/context-map"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/context-map/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for context-map

Your own site · 80×15
<a href="https://agentmods.dev/skills/athola/claude-night-market/context-map"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/context-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,133 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.00032 $0.01133
Opus 5 $0.00016 $0.00566
Sonnet 5 $0.00006 $0.00227
Haiku 4.5 $0.00003 $0.00113

Measured 7d ago against content hash 75c9c9dfa626, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

context-map 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 7d 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.

plugins/conserve/skills/context-map/SKILL.md · 164 lines

How it starts

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

Context Map

Generate a compressed context map for the current project. The map pre-compiles structural knowledge that AI assistants would otherwise discover through expensive Read/Grep calls, saving thousands of tokens per session.

When To Use

  • At the start of a session to understand project layout
  • Before implementing features to identify entry points
  • When exploring an unfamiliar codebase
  • To reduce token waste from Read calls
  • To identify hot files (high blast radius) before changes

When NOT To Use

  • Context is already over budget mid-session (use conserve:clear-context)
  • Auditing the codebase for bloat (use conserve:bloat-detector)

What It Detects

Category Description
Structure Directory layout with file counts and languages
Dependencies Multi-ecosystem: Python, Node, Rust, Go, Java
Frameworks Framework detection from dependency analysis
Entry Points main.py, index.ts, CLI scripts, etc.
Import Graph File-to-file import relationships
Hot Files Files imported by 3+ others (high blast radius)
Routes FastAPI, Flask, Express, Hono API endpoints
Env Vars Environment variable references with defaults
Middleware Auth, CORS, rate-limit, logging patterns
Models/Schemas SQLAlchemy, Django, Pydantic, Prisma definitions
Token Savings Estimated tokens saved vs manual exploration

Procedure

  1. Run the scanner on the project root:
PYTHONPATH="$(find . -path '*/conserve/scripts' -type d \
  -print -quit 2>/dev/null || \
  echo 'plugins/conserve/scripts')" \
  python3 -m context_scanner .
  1. Present the output to the user as the project overview.

  2. Use the context map to guide subsequent file reads. Prioritize hot files and entry points first.

Options

Output

  • --format json for structured output
  • --max-tokens N to adjust output size (default: 5000)
  • --output FILE to save to a file

Modes

Read the full file on GitHub · 164 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. 7d ago First seen · 164 lines · 32 tokens per session scan A 75c9c9dfa626

Subscribe to this mod's changes

context-map is a skill published in the GitHub repository athola/claude-night-market (337 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 1,133 once invoked, about $0.0002 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-09-03.