shipyard:mapper

shipyard:mapper is an agent for Claude Code from lgbarn/shipyard. It costs 35 tokens per session (785 once invoked), scanned A, original, MIT.

A codebase analysis agent for understanding an existing or older project. It documents the project’s technologies, structure, architecture, coding habits, tests, dependencies, and maintenance concerns.

In plain words
What is it for?
Use it when joining a project, documenting an existing system, investigating legacy code, or preparing for changes. Its focus areas cover technology, architecture, quality, and technical or security concerns.
Why use it?
It helps developers learn an unfamiliar codebase before changing it. The analysis is based on the file layout, representative source files, configuration, package manifests, and test directories.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/.../scripts/state-read.sh.

Part of the shipyard plugin — 25 skills, 25 commands, 20 agents, 6 hooks shipped together

Good fit Use it when joining a project, documenting an existing system, investigating legacy code, or preparing for changes. Its focus areas cover technology, architecture, quality, and technical or security concerns.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add lgbarn/shipyard
Claude Code
/plugin install shipyard

Made for: Claude Code.

Or install shipyard, the plugin that ships this one along with the rest of its 25 skills, 25 commands, 20 agents, 6 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 shipyard:mapper

README.md
[![agentmods](https://agentmods.dev/badge/agents/lgbarn/shipyard/shipyard-mapper/github.svg)](https://agentmods.dev/agents/lgbarn/shipyard/shipyard-mapper)
Your own site
<a href="https://agentmods.dev/agents/lgbarn/shipyard/shipyard-mapper"><img src="https://agentmods.dev/badge/agents/lgbarn/shipyard/shipyard-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 shipyard:mapper

Your own site · 80×15
<a href="https://agentmods.dev/agents/lgbarn/shipyard/shipyard-mapper"><img src="https://agentmods.dev/badge/agents/lgbarn/shipyard/shipyard-mapper.svg" alt="Reviewed on agentmods" width="80" 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 785 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.00035 $0.00785
Opus 5.5 $0.00014 $0.00314
Sonnet 5.5 $0.00007 $0.00157
Haiku 4.5 $0.00003 $0.00078

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

Security

Grade A, and why

shipyard: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 3mo 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.

.claude/agents/shipyard-mapper.md · 101 lines

How it starts

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

You will be assigned one of these focus areas:

technology

Produce STACK.md and INTEGRATIONS.md:

  • Languages, frameworks, and their versions
  • Build tools and package managers
  • External services and APIs
  • Database and storage systems
  • CI/CD tooling

architecture

Produce ARCHITECTURE.md and STRUCTURE.md:

  • System architecture and design patterns
  • Directory layout with annotations
  • Module boundaries and dependencies
  • Data flow between components
  • Entry points and critical paths

quality

Produce CONVENTIONS.md and TESTING.md:

  • Code style conventions (inferred from code, not assumed)
  • Naming patterns
  • Error handling patterns
  • Test framework and patterns
  • Test coverage and quality indicators

concerns

Produce CONCERNS.md:

  • Technical debt areas
  • Security concerns
  • Performance bottlenecks
  • Maintenance risks
  • Dependency health issues

Analysis Protocol

  1. Start with broad file structure analysis (ls, glob patterns)
  2. Sample 2-3 files per module (don't generalize from single files)
  3. Look for configuration files that reveal conventions
  4. Check package manifests for dependency information
  5. Examine test directories for testing patterns
  6. Look for CI/CD configuration
  7. Collect basic metrics for your focus area and include them in a "## Metrics" section:
    • technology: dependency count, language breakdown (files per language)
    • architecture: module count, entry point count, max dependency depth
    • quality: test count, test-to-source file ratio, lint rule count
    • concerns: total issues found, issues by severity

Evidence Requirements

  • Every finding must cite at least one file path as evidence
  • All file paths must be repo-relative (e.g., scripts/state-read.sh, not /Users/.../scripts/state-read.sh). Only use absolute paths for files outside the repository.
  • Flag uncertainty with [Inferred] marker
  • Each document must be independently useful (no forward references to other focus area docs)

Read the full file on GitHub · 101 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. 3mo ago First seen · 101 lines · 35 tokens per session scan A d4441d5b1540

Subscribe to this mod's changes

shipyard:mapper is an agent published in the GitHub repository lgbarn/shipyard (67 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 785 once invoked, about $0.0001 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-30.

Related

shipyard:mapper compared with agents from other repositories

shipyard:mapper next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shipyard:mapperlgbarn/shipyardAgent671mo agoMITA35Claude Code
specwright-architectObsidian-Owl/specwrightAgent97mo agoMITA31Claude Code
specwright-reviewerObsidian-Owl/specwrightAgent97mo agoMITA33Claude Code
code-reviewernyldn/claude-octopusAgent4.5ktodayMITA19Claude Code
edge-case-explorertestdouble/hanAgent36218d agoMITA135Claude Code
adversarial-validatortestdouble/hanAgent36218d agoMITA45Claude Code
code-reviewerNikiforovAll/claude-code-rulesAgent14329d agoApache-2.0A37Claude Code