docs-c4

docs-c4 is a skill for Claude Code, Codex from alexeyshishin/as-skill. It costs 172 tokens per session (2,032 once invoked), scanned A, original, MIT.

A placeholder for creating C4 model diagrams, which show a system at context, container, and component levels. It is not implemented and should not be used.

In plain words
What is it for?
It is reserved for future architecture-diagram work.
Why use it?
It currently removes no problem because it has no working functionality.

Skill for Claude CodeCodex

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

Good fit It is reserved for future architecture-diagram work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexeyshishin/as-skill/docs-c4
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 alexeyshishin/as-skill --skill docs-c4
Clone the repo
git clone --depth 1 https://github.com/alexeyshishin/as-skill

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 docs-c4

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexeyshishin/as-skill/docs-c4/github.svg)](https://agentmods.dev/skills/alexeyshishin/as-skill/docs-c4)
Your own site
<a href="https://agentmods.dev/skills/alexeyshishin/as-skill/docs-c4"><img src="https://agentmods.dev/badge/skills/alexeyshishin/as-skill/docs-c4/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 docs-c4

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexeyshishin/as-skill/docs-c4"><img src="https://agentmods.dev/badge/skills/alexeyshishin/as-skill/docs-c4.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,032 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.00172 $0.02032
Opus 5.5 $0.00069 $0.00813
Sonnet 5.5 $0.00034 $0.00406
Haiku 4.5 $0.00017 $0.00203

Measured 12d ago against content hash 0b4032f0cc2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docs-c4 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check-c4.py, scripts/render.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

domains/docs/skills/docs-c4/SKILL.md · 136 lines

How it starts

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

docs-c4 — C4 diagrams from the code

Goal: a diagram where a newcomer sees in a minute which parts exist, who calls whom and over what — and every box and arrow traces to the code.

Before starting, read references/rules/docs-conventions.md — section C4 diagrams.

Assets:

Both scripts need only python3 3.8+; --png needs Chrome or Chromium (CHROME_BIN to override).

Step 1. Pick level, scope and mode

level shows scope
context the system as one box, the people who use it, the external systems around it the whole system
container (default) deployable units and stores inside the system, plus the people and external systems they talk to the whole system
component parts inside one container and what they call one container
situation mode
no model for this level and scope new
model exists, the code moved on update — edit the model, re-render
model fine, SVG stale or layout poor re-render — Step 6 only
the doc that embeds the diagram has a _RUS version pair — also Step 6.5

Files: docs/architecture/c4-<level>.json + .svg next to it; component level adds the scope: c4-component-api.json. An existing location in the project wins. Ask only when the user's words don't settle level or scope.

For update read the model and git log -3 --format='%h %cs %s' -- <model> first.

Step 2. Gather facts from the code

Everything on the diagram must trace to a file. Read:

Read the full file on GitHub · 136 lines

Files

What ships with it

6 files 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. 12d ago Changed · +125 lines · +147 tokens per session 0b4032f0cc2f
  2. 13d ago First seen · 11 lines · 25 tokens per session scan A 7c39eb6e82f9

Subscribe to this mod's changes

docs-c4 is a skill published in the GitHub repository alexeyshishin/as-skill (6 stars, last pushed yesterday), licensed MIT. It adds 172 tokens to every session and 2,032 once invoked, about $0.0007 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-11-17.

Related

docs-c4 compared with skills from other repositories

docs-c4 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-c4alexeyshishin/as-skillSkill6yesterdayMITA172Claude Code, Codex
obsidiangapmiss/obsidian-plugin-skillSkill20415d agoMITA105Claude Code, Codex
guidealeksander-dytko/ai-pm-workspaceSkill345d agoMITA16Claude Code
personalizealeksander-dytko/ai-pm-workspaceSkill345d agoMITA26Claude Code
todayaleksander-dytko/ai-pm-workspaceSkill345d agoMITA22Claude Code
weekly-planaleksander-dytko/ai-pm-workspaceSkill345d agoMITA19Claude Code
create-epicaleksander-dytko/ai-pm-workspaceSkill345d agoMITA20Claude Code