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.
npx agentmods add skills/huginnindustries/codecartographer/architecturenpx skills add HuginnIndustries/CodeCartographer --skill architecturegit clone --depth 1 https://github.com/HuginnIndustries/CodeCartographerWrote 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.
[](https://agentmods.dev/skills/huginnindustries/codecartographer/architecture)<a href="https://agentmods.dev/skills/huginnindustries/codecartographer/architecture"><img src="https://agentmods.dev/badge/skills/huginnindustries/codecartographer/architecture.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.00835 |
| Opus 5 | $0.00036 | $0.00417 |
| Sonnet 5 | $0.00014 | $0.00167 |
| Haiku 4.5 | $0.00007 | $0.00084 |
Grade A, and why
map-project-architecture 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 5d 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.
What it actually says
Map Project Architecture
Build the map before analyzing implementation details.
Read the structural sources first:
- Root README and contribution docs.
- Root package/workspace manifest and top-level scripts.
- Package or module READMEs.
- Package manifests,
binentries,exports, and top-level entrypoints.
For a monorepo, create a package inventory with these columns:
- package or module name
- purpose
- public entrypoints
- key dependencies
- runtime surface
- likely ownership category
Classify each package or major module into one primary role:
core semanticsprotocol or normalization layerpersistence or stateUI or renderingintegration adapterproduct shell
Trace dependency direction instead of reading everything in file order:
- Identify what depends on what.
- Find the lowest stable layer that nothing inside the repo depends on.
- Call out cycles explicitly.
- Mark packages that are wrappers around shared internals rather than unique systems.
Identify public surfaces early:
- binaries and CLI commands
- exported libraries and public types
- network or RPC interfaces
- file formats and persistent artifacts
- user-facing screens or workflows
Record the project's durable state:
- config files
- environment variables
- auth material
- session files
- logs
- caches
- databases
- generated artifacts
Treat third-party SDKs as shaping forces, not architecture:
- Note where vendor APIs, terminal behavior, Slack, browser APIs, or cloud services impose constraints.
- Do not let those constraints define the port's module boundaries unless the behavior truly depends on them.
Document the build and packaging pipeline:
- Build tool(s) and scripts (make, npm, cargo, gradle, etc.).
- Multi-target or multi-stage builds.
- Output artifacts: binaries, containers, packages, bundles.
- CI/CD pipeline if visible from repo files (.github/workflows, Jenkinsfile, etc.).
- Platform-specific packaging or distribution.
- If the build pipeline is complex, use the secondary output at
findings/build-and-deploy/build-and-deploy.md.
Document the concurrency model:
- Threading model: single-threaded, thread pool, async/await, actor model, goroutines, etc.
- Event loop or reactor pattern, if present.
- Shared state and synchronization primitives.
- Connection pooling and resource management.
- Rate limiting or backpressure mechanisms.
- Mark concurrency-related portability hazards explicitly — these rarely translate 1:1 across languages.
Write the output in seven sections:
System intentLayer mapPublic surfacesRuntime lifecycleConcurrency modelBuild and packagingPorting priorities
Mark every conclusion with one of these evidence levels:
observed fact: direct statement from docs, tests, schemas, types, or code.strong inference: architectural conclusion drawn from multiple facts.portability hazard: assumption tied to the source language, runtime, terminal, OS, or third-party SDKs.open question: missing or conflicting behavior that still needs evidence.
Test for common structural patterns:
- shared provider or protocol layer
- shared stateful agent or execution loop
- multiple delivery surfaces on top
- product-specific wrappers around a shared core
- plugin or extension architecture
- microservice or monorepo with service boundaries
Stop once the map is stable enough to explain where behavior lives. Only then move to contracts, protocols, or deep source reading.
Use the output template at templates/architecture-map.md.
The source code to analyze is in the parent directory (../ relative to .codecarto/). This is the repository root.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago First seen · 103 lines · 71 tokens per session scan A 467bc7cf6ddb
map-project-architecture is a skill published in the GitHub repository HuginnIndustries/CodeCartographer (4 stars, last pushed 5d ago), licensed MIT. It adds 71 tokens to every session and 835 once invoked, about $0.0004 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-08-31.
Other skills, from other repositories
repomix
Pack and analyze codebases into AI-friendly single files using Repomix. Use when the user wants to explore repositories, analyze code structure, find patterns, check token counts, or prepare codebase context for AI analysis. Supports both local directories and remote GitHub repositories.
ctf-pwn
Solve CTF binary exploitation challenges by discovering and exploiting memory corruption vulnerabilities to read flags. Use for buffer overflows, format strings, heap exploits, ROP challenges, or any pwn/exploitation task.
deep-analysis
Performs focused, depth-first investigation of specific reverse engineering questions through iterative analysis and database improvement. Answers questions like "What does this function do?", "Does this use crypto?", "What's the C2 address?", "Fix types in this function". Makes incremental improvements (renaming…
ctf-rev
Solve CTF reverse engineering challenges using systematic analysis to find flags, keys, or passwords. Use for crackmes, binary bombs, key validators, obfuscated code, algorithm recovery, or any challenge requiring program comprehension to extract hidden information.
pyghidra-scripting
Write and run Python (PyGhidra) code inside the Ghidra session that ReVa's MCP server is already attached to, using the five ReVa scripting tools — run-script, list-scripts, read-script, write-script, edit-script. Use this whenever the user asks to execute Python against the current program, reach for the Ghidra Flat…
ix
This skill should be used when answering structural questions about a codebase: understanding what a symbol is, tracing flows, measuring change impact, finding callers/callees/imports, or detecting code smells. It drives the Ix CLI (ix map/explain/trace/impact/search/rank/smells) against a persistent code graph stored…