map-project-architecture

map-project-architecture is a skill for Claude Code, Codex from HuginnIndustries/CodeCartographer. It costs 71 tokens per session (1,102 once invoked), scanned A, original, MIT.

A repository-mapping guide that describes code layers, package boundaries, entry points, dependencies, and shared parts. A monorepo is one repository containing multiple related packages or applications.

In plain words
What is it for?
It helps document package inventories, dependency direction, public interfaces, and the main roles of modules in CLIs, SDKs, and multi-part products.
Why use it?
It gives developers a structural view of an unfamiliar project before they audit, port, split up, or rebuild it.

Skill for Claude CodeCodex

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

Good fit It helps document package inventories, dependency direction, public interfaces, and the main roles of modules in CLIs, SDKs, and multi-part products.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huginnindustries/codecartographer/architecture
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 HuginnIndustries/CodeCartographer --skill architecture
Clone the repo
git clone --depth 1 https://github.com/HuginnIndustries/CodeCartographer

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 map-project-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/huginnindustries/codecartographer/architecture/github.svg)](https://agentmods.dev/skills/huginnindustries/codecartographer/architecture)
Your own site
<a href="https://agentmods.dev/skills/huginnindustries/codecartographer/architecture"><img src="https://agentmods.dev/badge/skills/huginnindustries/codecartographer/architecture/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 map-project-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/huginnindustries/codecartographer/architecture"><img src="https://agentmods.dev/badge/skills/huginnindustries/codecartographer/architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,102 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.
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.00071 $0.01102
Opus 5.5 $0.00028 $0.00441
Sonnet 5.5 $0.00014 $0.00220
Haiku 4.5 $0.00007 $0.00110

Measured 2mo ago against content hash 06b273d704c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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.

.codecarto/findings/architecture/SKILL.md · 112 lines

How it starts

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

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, bin entries, 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 semantics
  • protocol or normalization layer
  • persistence or state
  • UI or rendering
  • integration adapter
  • product 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 eight sections:

  1. System intent
  2. Layer map
  3. Public surfaces
  4. Runtime lifecycle
  5. Concurrency model
  6. Build and packaging
  7. Porting priorities
  8. Agent addressability

Then assess agent addressability — one row per public surface or runtime concern, in the Agent Addressability table. Answer three questions, and tag each row with an evidence level exactly as you tag every other conclusion:

  • Does the core behavior run headlessly (no display, device, or human)?
  • Can an agent inspect or set the state that matters (files, database, env, API) instead of inferring it from a screen?
  • Is there a programmatic seam — a test entry point, CLI, RPC, or library call — that reaches the behavior directly?

A missing seam is a portability hazard to record, not evidence of correctness: a system that cannot be observed headlessly is not thereby known to work. This assessment is a description of what exists. It is not a request to add seams, and it does not require or propose an architectural rewrite to satisfy the checklist — record the gap and what it blocks, and let the planning phase decide what to do about it.

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.
  • external-behavior claim: a claim about what a system outside this source tree does (a server, engine, driver, third-party API, OS); unverifiable by reading this code, so it stays unsettled until a runtime probe or that system's own source confirms it.
  • 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.

Read the full file on GitHub · 112 lines

Files

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.

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. 2mo ago Changed · +8 lines 06b273d704c0
  2. 2mo ago Changed · +1 lines 737e9f499598
  3. 3mo ago First seen · 103 lines · 71 tokens per session scan A 467bc7cf6ddb

Subscribe to this mod's changes

map-project-architecture is a skill published in the GitHub repository HuginnIndustries/CodeCartographer (7 stars, last pushed 29d ago), licensed MIT. It adds 71 tokens to every session and 1,102 once invoked, about $0.0003 per session on Opus 5.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.

Related

map-project-architecture compared with skills from other repositories

map-project-architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
map-project-architectureHuginnIndustries/CodeCartographerSkill729d agoMITA71Claude Code, Codex
repomixyamadashy/repomixSkill30kyesterdayMITA58Claude Code, Codex
ixix-infrastructure/IxSkill1.3ktodayApache-2.0A44Claude Code, Codex
ctf-pwncyberkaida/reverse-engineering-assistantSkill984yesterdayApache-2.0A46Claude Code
ctf-revcyberkaida/reverse-engineering-assistantSkill984yesterdayApache-2.0A52Claude Code
pyghidra-scriptingcyberkaida/reverse-engineering-assistantSkill984yesterdayApache-2.0A209Claude Code
ctf-cryptocyberkaida/reverse-engineering-assistantSkill984yesterdayApache-2.0A46Claude Code