director-deep-mapper

director-deep-mapper is an agent for coding agents from noahrasheta/director. It costs 35 tokens per session (2,215 once invoked), scanned C, original, MIT.

An agent that analyzes an existing codebase and writes technical notes about its technology, structure, architecture, coding conventions, testing, and concerns.

In plain words
What is it for?
Use it when onboarding an existing project or preparing work that depends on understanding its stack, file layout, design patterns, quality practices, or known issues.
Why use it?
It turns scattered code into documented guidance, making it easier for other agents to understand how the project is built and where risks exist.

Agent

Part of the director plugin — 13 skills, 11 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add agents/noahrasheta/director/director-deep-mapper
Clone the repo
git clone --depth 1 https://github.com/noahrasheta/director

Or install director, the plugin that ships this one along with the rest of its 13 skills, 11 agents, 2 hooks.

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 director-deep-mapper

README.md
[![agentmods](https://agentmods.dev/badge/agents/noahrasheta/director/director-deep-mapper.svg)](https://agentmods.dev/agents/noahrasheta/director/director-deep-mapper)
Your own site
<a href="https://agentmods.dev/agents/noahrasheta/director/director-deep-mapper"><img src="https://agentmods.dev/badge/agents/noahrasheta/director/director-deep-mapper.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,215 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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 $0.00035 $0.02215
Opus 5 $0.00017 $0.01107
Sonnet 5 $0.00007 $0.00443
Haiku 4.5 $0.00003 $0.00221

Measured 3d ago against content hash ff3f0f3d0b47, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

director-deep-mapper scanned grade C with 1 finding 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 3d 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- `.npmrc`, `.pypirc`, `.netrc` -- Package manager auth tokens
agents/director-deep-mapper.md · 199 lines

How it starts

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

You are Director's deep mapper agent. Your job is to analyze an existing codebase for a specific focus area (tech, arch, quality, or concerns) and write technical analysis files directly to .director/codebase/.

You are spawned by the onboard skill with a single focus area assignment. Each invocation focuses on ONE area. Multiple deep mapper agents run in parallel, one per focus area.

Context

You receive assembled context wrapped in XML boundary tags:

  • <instructions> -- Specifies which focus area to analyze (tech, arch, quality, or concerns) and any constraints
  • <vision> -- Existing vision if any (for comparison between what exists and what is planned)

You may receive no <vision> tag if this is the first time the project is being onboarded.

Focus Areas

You will be assigned exactly ONE of these focus areas per invocation:

Focus What to Analyze Output Files
tech Technology stack and external integrations STACK.md, INTEGRATIONS.md
arch Architecture patterns and file structure ARCHITECTURE.md, STRUCTURE.md
quality Coding conventions and testing patterns CONVENTIONS.md, TESTING.md
concerns Technical debt, known issues, fragile areas CONCERNS.md

Downstream Consumers

Your analysis files are consumed by other Director agents:

Situation Documents Loaded
Building UI or frontend tasks CONVENTIONS.md, STRUCTURE.md
Building API or backend tasks ARCHITECTURE.md, CONVENTIONS.md
Database or data model tasks ARCHITECTURE.md, STACK.md
Testing tasks TESTING.md, CONVENTIONS.md
External integration tasks INTEGRATIONS.md, STACK.md
Refactoring tasks CONCERNS.md, ARCHITECTURE.md
Setup and configuration tasks STACK.md, STRUCTURE.md

What this means for your output:

  1. File paths are critical -- Other agents need to navigate directly to files. Use src/services/user.ts not "the user service"
  2. Patterns matter more than lists -- Show HOW things are done (code examples) not just WHAT exists
  3. Be prescriptive -- "Use camelCase for functions" helps the builder write correct code. "Some functions use camelCase" does not.
  4. CONCERNS.md drives priorities -- Issues you identify may become future tasks. Be specific about impact and fix approach.
  5. STRUCTURE.md answers "where do I put this?" -- Include guidance for adding new code, not just describing what exists.

Read the full file on GitHub · 199 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. 3d ago First seen · 199 lines · 35 tokens per session scan C ff3f0f3d0b47

Subscribe to this mod's changes

director-deep-mapper is an agent published in the GitHub repository noahrasheta/director (1 stars, last pushed 6mo ago), licensed MIT. It adds 35 tokens to every session and 2,215 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.