architecture-analyzer

architecture-analyzer is an agent for coding agents from Vimalk0703/shipworthy. It costs 0 tokens per session (431 once invoked), scanned A, original, MIT.

An analysis agent that examines a codebase and writes an architecture specification. It identifies the technology stack, project structure, coding patterns, configuration, infrastructure, and possible inconsistencies.

In plain words
What is it for?
Use it to inspect directories, manifests, CI/CD files, Docker settings, database tools, naming, imports, error handling, and state management before planning or reviewing changes.
Why use it?
Understanding an unfamiliar codebase takes time, especially when its conventions and major components are not documented.

Agent

Part of the shipworthy plugin — 41 skills, 7 commands, 6 agents, 3 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/vimalk0703/shipworthy/architecture-analyzer
Clone the repo
git clone --depth 1 https://github.com/Vimalk0703/shipworthy

Or install shipworthy, the plugin that ships this one along with the rest of its 41 skills, 7 commands, 6 agents, 3 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 architecture-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/vimalk0703/shipworthy/architecture-analyzer.svg)](https://agentmods.dev/agents/vimalk0703/shipworthy/architecture-analyzer)
Your own site
<a href="https://agentmods.dev/agents/vimalk0703/shipworthy/architecture-analyzer"><img src="https://agentmods.dev/badge/agents/vimalk0703/shipworthy/architecture-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00431
Opus 5 $0.00000 $0.00216
Sonnet 5 $0.00000 $0.00086
Haiku 4.5 $0.00000 $0.00043

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

Security

Grade A, and why

architecture-analyzer 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 4d 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.

agents/architecture-analyzer.md · 53 lines

What it actually says

Architecture Analyzer Agent

When you begin work, output:

shipworthy › agent: architecture-analyzer dispatched — analyzing project architecture

You are an architecture analysis specialist. Your job is to analyze a project's codebase and produce an architecture specification.

Process

  1. Examine the project structure (directories, config files, package manifests)
  2. Identify the technology stack (language, framework, runtime, ORM, test framework)
  3. Analyze existing code patterns (naming, imports, error handling, state management)
  4. Detect anti-patterns or inconsistencies
  5. Generate an architecture specification

What to Analyze

Project Detection

  • package.json → Node.js ecosystem (check for Next.js, Express, React, Vue)
  • tsconfig.json → TypeScript configuration (strict mode, target, module)
  • requirements.txt / pyproject.toml → Python (FastAPI, Django, Flask)
  • go.mod → Go
  • Cargo.toml → Rust
  • CI/CD config files
  • Docker configuration
  • Database configuration (Prisma, Drizzle, SQLAlchemy, etc.)

Pattern Analysis

  • How are files named? (camelCase, PascalCase, kebab-case, snake_case)
  • How are imports structured? (relative, absolute, aliases)
  • How is state managed? (Context, Redux, Zustand, etc.)
  • How are errors handled? (try/catch patterns, error types)
  • How are tests organized? (co-located, separate directory, naming)
  • How is the project deployed?

Output

Produce a complete .shipworthy/architecture.md following the template structure with:

  • Project Identity
  • Mandatory Rules (5-15 inviolable constraints)
  • Directory Structure
  • Naming Conventions
  • Type System
  • Testing Strategy
  • Error Handling
  • Security Baseline
  • Performance Budgets
  • Quality Gate Levels
  • Common Mistakes

For brownfield projects: describe what IS, not what SHOULD BE. For greenfield projects: prescribe best practices for the detected stack.

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. 4d ago First seen · 53 lines · 0 tokens per session scan A 834b8e59cdfa

Subscribe to this mod's changes

architecture-analyzer is an agent published in the GitHub repository Vimalk0703/shipworthy (7 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 431 tokens. 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

Other agents, from other repositories

planner

Use for planning intake (core selection, then scope boundary + domain vocabulary or Chain Method brief, depending on core) at the start of a project, and for re-entry when new scope enters play on a project already built or mid-build — including after a build has reached its Stop Condition, where it is the exit…

skyf0xx/hedgehog · 114 tokens

tweaker

Use when a change request lands on a project that already has a build graph and nothing in flight (hedgehog status --brief names no task) — a finished build being adjusted, or an adopted repo's next piece of work — and the user is offered a fresh-context session to iterate. Takes change requests one at a time from a…

skyf0xx/hedgehog · 177 tokens

reviewer

Use at a phase or layer transition the core's own loop skill defines, or when the Correction Protocol is invoked. Also use when the user asks for a review, audit, or "look over this". Not a per-commit gate — the commit gate (the layer's own verify command) already owns that.

skyf0xx/hedgehog · 66 tokens

inbound-triage

Maintainer-only. Use when triaging inbound GitHub issues and pull requests on skyf0xx/hedgehog — "triage the inbound queue", "check the open issues", "review the PRs", "work the queue". Reads every item read-only, judges it for security and for merit, then fixes and closes or comments and closes. Never checks out a…

skyf0xx/hedgehog · 100 tokens

bootstrap

Use once per invocation, at the start of a new Hedgehog project, to land the workspace for whichever core planner selected at Phase 0 — the first real workspace this project gets, since init with no explicit core flag lands the shared agents/skills/build-graph payload and leaves the workspace to bootstrap. Reads the…

skyf0xx/hedgehog · 0 tokens

artifact-analyzer

You are a research analyst. Your job is to scan project documents and extract information relevant to a product concept being stress-tested through the PRFAQ process.

skyf0xx/hedgehog · 0 tokens