arch4-mcp

arch4-mcp is a skill for Claude Code, Codex from P451M/Arch4. It costs 23 tokens per session (153 once invoked), scanned A, original, no licence file.

Repository architecture maps are visual diagrams showing how a codebase is organised and how its parts relate. This add-on provides tools to create, change, build, and view those maps.

In plain words
What is it for?
Use it to document a repository’s structure, update its architecture map, build the map, and view the result.
Why use it?
It helps developers keep an overview of a repository as it changes, instead of relying on scattered notes or memory.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to document a repository’s structure, update its architecture map, build the map, and view the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/p451m/arch4/arch4-mcp
View source ↗ P451M/Arch4
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 P451M/Arch4 --skill arch4-mcp
Clone the repo
git clone --depth 1 https://github.com/P451M/Arch4

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 arch4-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/p451m/arch4/arch4-mcp.svg)](https://agentmods.dev/skills/p451m/arch4/arch4-mcp)
Your own site
<a href="https://agentmods.dev/skills/p451m/arch4/arch4-mcp"><img src="https://agentmods.dev/badge/skills/p451m/arch4/arch4-mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 153 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 unknown 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.00023 $0.00153
Opus 5 $0.00012 $0.00077
Sonnet 5 $0.00005 $0.00031
Haiku 4.5 $0.00002 $0.00015

Measured 8d ago against content hash 78444f6a2778, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

arch4-mcp 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 8d 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.

plugins/cursor/arch4-mcp/skills/arch4-mcp/SKILL.md · 22 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 8d ago First seen · 22 lines · 23 tokens per session scan A 78444f6a2778

Subscribe to this mod's changes

arch4-mcp is a skill published in the GitHub repository P451M/Arch4 (4 stars, last pushed 2mo ago), with no licence file. It adds 23 tokens to every session and 153 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

Architecture Diagrams Readiness

Ensure architecture diagrams are readable, consistent with text, and clear on scope, boundaries, and data flow.

s977043/river-review · 27 tokens

kroki-diagrams

Create clean, readable diagrams using Kroki with a use-case-first selector. Use when the user wants repository-local diagrams for architecture, runtime topology, request flows, dependency graphs, schemas, planning structures, or tree-like repository layouts from code, docs, or natural-language descriptions. Prefer…

smoldrago/kroki-diagrams · 111 tokens

architecture-diagram-creator

Create effective architecture diagrams following established diagramming standards (UML, C4, ArchiMate) with proper visual elements and presentation techniques. Use this skill whenever the user needs to create, review, or improve architecture diagrams, wants guidance on which diagramming standard to use, needs help…

bookforge-ai/bookforge-skills · 128 tokens

architecture-diagram

Dark-themed SVG architecture/cloud/infra diagrams as HTML.

mateaix/mateclaw · 15 tokens

editing-model-diagrams

Creates, edits, reviews, and regenerates C4 architecture diagrams written with goa.design/model and the mdl CLI. Use when changing Model DSL, model.go or views.go files, system landscape, context, container, component, dynamic, or deployment views, element relationships, boundaries, layout, or generated SVG diagrams.

goadesign/model · 69 tokens

openhop

Render an interactive step-by-step diagram of a specific system, feature, codebase, workflow, pipeline, user journey, architecture, idea, or proposed solution using OpenHop. Use this skill whenever the user wants to understand, explain, describe, walk through, trace, diagram, or visualize a sequence of named hops…

naorsabag/openhop · 214 tokens