project-context-mapper

project-context-mapper is a skill for Claude Code, Codex from roedyrustam/vibes-plug. It costs 37 tokens per session (1,044 once invoked), scanned A, original, MIT.

A method for creating a compact map of a large code repository so an agent can remember its structure, important files, and dependencies.

In plain words
What is it for?
Use it when entering a large existing codebase, keeping an architecture index, or helping an agent navigate and maintain the project.
Why use it?
It reduces lost context, wrong-file edits, repeated searching, and made-up assumptions in repositories with many files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when entering a large existing codebase, keeping an architecture index, or helping an agent navigate and maintain the project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/project-context-mapper
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 roedyrustam/vibes-plug --skill project-context-mapper
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Claude Code, Codex.

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 project-context-mapper

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/project-context-mapper/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/project-context-mapper)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/project-context-mapper"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/project-context-mapper/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 project-context-mapper

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/project-context-mapper"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/project-context-mapper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,044 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.00037 $0.01044
Opus 5 $0.00018 $0.00522
Sonnet 5 $0.00007 $0.00209
Haiku 4.5 $0.00004 $0.00104

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

Security

Grade A, and why

project-context-mapper 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.

skills/project-context-mapper/SKILL.md · 86 lines

How it starts

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

Project Context Mapper (Memory Optimizer)

English | Bahasa Indonesia


English

Orchestration & Integration

Connects and orchestrates with relevant domain skills like brainstorming, zero-to-prod-orchestrator, and project-context-mapper to ensure cohesive execution.

Description

LLMs struggle with repositories containing hundreds of files; they lose track of where things are, leading to hallucinations and excessive tool calls. This skill forces the agent to create, read, and maintain a CONTEXT_MAP.md—a highly compressed index of the repository's architecture, dependency graphs, and critical file locations. This acts as the agent's "photographic memory".

Trigger Conditions

Activate this skill when:

  • The agent enters a massive, existing codebase for the first time.
  • The user complains that the AI is "editing the wrong file" or "forgetting how the app is structured."
  • Context token usage is dangerously high and needs optimization.

Core Concepts

1. The Context Map Format

The agent should execute a script or traverse the directory to generate a compressed map in CONTEXT_MAP.md (or within .agents/).

# CONTEXT MAP (Do not delete)

## Architecture
- Frontend: Next.js App Router (src/app)
- Backend: Hono RPC (src/server)
- DB: Drizzle (src/db/schema.ts)

## Dependency Graph (Critical Paths)
- `src/app/page.tsx` -> `src/components/ui/Button.tsx`
- `src/server/routes/users.ts` -> `src/db/queries/users.ts`

## State Locations
- Global Auth: `src/store/auth.ts` (Zustand)
2. Workflow
  1. On Start: The agent reads CONTEXT_MAP.md instead of blindly listing directories.
  2. On Modification: When the agent creates a new major component, route, or service, it MUST append that location to the context map.

Best Practices

  • Keep it Ultra-Compressed: Do not store full code in the map. Store ONLY file paths, responsibilities (1 sentence), and connections.
  • BM25 Search First: Before writing to the context map, consider using grep_search or semantic search for targeted lookups. The map is for architectural understanding, not exact variable finding.

Read the full file on GitHub · 86 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 · 86 lines · 37 tokens per session scan A 3b2968fdd29d

Subscribe to this mod's changes

project-context-mapper is a skill published in the GitHub repository roedyrustam/vibes-plug (50 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 1,044 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.

Related

Other skills, from other repositories

update-turbo

Update installed Turbo skills from the local repo with a dynamic changelog, conflict resolution for customized skills, and guided user experience. Use when the user asks to "update turbo", "update turbo skills", "reinstall turbo", or "upgrade turbo".

tobihagemann/turbo · 54 tokens

mm-resume

A workflow for restoring project context after starting a new Claude Code session or clearing the conversation. It reads project notes, recent session information, version-control status, and available planning files.

mworldorg/markdown-memory · 161 tokens

antigravity-cli-statusline

Customizes the Antigravity CLI status bar to show folder icons, home-abbreviated current working directory, model name, and 5H/7D token quota usage with live refresh countdown.

hankunpeng/skills · 47 tokens

mm-setup

A setup guide that personalizes a shared mm system for one user. It asks for details such as your name, work area, tools, language, and Obsidian vault location, then saves them in private configuration files.

mworldorg/markdown-memory · 152 tokens

mm

A dispatcher that provides short /mm commands for project setup, session recovery, project overviews, and workflow checks. It maps these aliases to longer system commands.

mworldorg/markdown-memory · 103 tokens

disk-cleaner

A Mac disk-cleaning assistant built around the Mole cleanup tool. It checks the environment, previews removable files, and can run cleanup using different safety levels with reports and protected paths.

sutchan/Agent-Skills-Hub · 34 tokens