dochub-architect

dochub-architect is a skill for Claude Code, Codex from john7ross/dochub-architect-tool. It costs 136 tokens per session (7,516 once invoked), scanned A, original, MIT.

A tool-assisted workflow for creating and moving architecture diagrams into a DocHub YAML repository. It works with DrawIO and PlantUML diagrams using the C4 model, a way to describe systems at different levels of detail.

In plain words
What is it for?
Use it when documenting a service, creating an architecture diagram, or converting an existing DrawIO or PlantUML design into DocHub YAML.
Why use it?
It helps teams record service architecture in a shared repository instead of leaving diagrams in separate drawing files. The available description is incomplete, so its exact supported operations are not clear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it when documenting a service, creating an architecture diagram, or converting an existing DrawIO or PlantUML design into DocHub YAML.

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

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 dochub-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/john7ross/dochub-architect-tool/dochub-architect/github.svg)](https://agentmods.dev/skills/john7ross/dochub-architect-tool/dochub-architect)
Your own site
<a href="https://agentmods.dev/skills/john7ross/dochub-architect-tool/dochub-architect"><img src="https://agentmods.dev/badge/skills/john7ross/dochub-architect-tool/dochub-architect/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 dochub-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/john7ross/dochub-architect-tool/dochub-architect"><img src="https://agentmods.dev/badge/skills/john7ross/dochub-architect-tool/dochub-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,516 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.00136 $0.07516
Opus 5 $0.00068 $0.03758
Sonnet 5 $0.00027 $0.01503
Haiku 4.5 $0.00014 $0.00752

Measured 10d ago against content hash 98fa67590956, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

dochub-architect 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tools/install_mcp.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.

skills/dochub-architect/SKILL.md · 649 lines

How it starts

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

DocHub — перенос схем в архитектурный репозиторий

Работа идёт в architectural-repository — это YAML для DocHub, не код сервисов.

Отвечай пользователю на русском.

Инструменты: MCP-сервер dochub (см. tools/install-mcp.md). Справочник ошибок: reference.md · Шаблон: subdomain-template.yaml


Шаг 0. Прочитать накопленное и спросить недостающее

Первым делом — настройки и накопленные правила:

dochub_workspace()
dochub_lessons()

dochub_workspace хранит пути, которые не меняются от задачи к задаче: арх.репозиторий и доменную схему. Если они уже заданы — не спрашивай их, остальные инструменты подставят пути сами. Если чего-то не хватает, инструмент скажет чего именно: спроси только это и сохрани обратно с save=true, чтобы вопрос больше не возникал.

Там решения, подтверждённые пользователем на прошлых схемах: как принято называть сущности, чей поддомен владеет очередями, что выносят на диаграмму. Правила с высоким seen подтверждались не раз — им доверяй больше.

Не переспрашивай то, что уже записано. Смысл накопления в том, чтобы пользователь не объяснял одно и то же каждый раз.

Если накопленное правило противоречит тому, что видишь в текущей схеме — скажи об этом прямо и уточни, изменилось ли соглашение.

Ответ dochub_workspace показывает и режим automode. Если он включён — работай по разделу «Автоматический режим» в конце этого шага.

Предложи готовый сценарий, если он подходит

Вместе с проектом идут сценарии для инструмента Workflow (каталог workflows/). Пользователь про них знать не обязан — скажи сам и спроси, запускать ли:

Задача пользователя Сценарий Что даёт
несколько схем сразу dochub-batch по агенту на схему: черновик, проверка, общий отчёт
«отревьюй чужой MR» dochub-mr-review агент на изменённый файл, каждая находка проверяется скептиком

Правила простые:

Read the full file on GitHub · 649 lines

Files

What ships with it

4 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. 10d ago First seen · 649 lines · 136 tokens per session scan A 98fa67590956

Subscribe to this mod's changes

dochub-architect is a skill published in the GitHub repository john7ross/dochub-architect-tool (0 stars, last pushed 1mo ago), licensed MIT. It adds 136 tokens to every session and 7,516 once invoked, about $0.0007 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

archinsight

Create, edit, import, analyze, repair, validate, inspect, and render Archinsight Insight architecture-as-code models and custom views. Use when working with .ai models or .aiq queries, migrating architecture from another DSL or diagram, C4-style architecture models, system/container/component/code diagrams, deployment…

lonely-lockley/archinsight · 84 tokens

likec4-architecture

Build and maintain software architecture as code with LikeC4 DSL. Use when tasks mention architecture diagrams, C4/context/container/component views, system landscape, dependency/integration maps, or when the user wants architecture generated/evolved from code. Apply for creating new .c4/.likec4 models, updating…

timseriakov/likec4-architecture-skill · 87 tokens

diagram-design

Create branded architecture, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart (polar/radial lollipop), loop/flywheel, nested, tree, org chart, layer stack, Venn, pyramid/funnel, treemap, bar, waterfall, line, Gantt and scatter charts…

cathrynlavery/diagram-design · 201 tokens

drawio-skill

Create, edit, synchronize, inspect, test, and publish editable draw.io diagrams. Use when the user explicitly requests draw.io/diagrams.net, needs a polished architecture, ERD, UML, sequence, C4, SysML, BPMN, network, swimlane, ML, or infrastructure diagram, wants code/IaC/SQL/OpenAPI converted into a diagram, or…

Agents365-ai/drawio-skill · 127 tokens

pr-lens

WHAT: Draws a code change or part of a codebase as an animated architecture or data-flow diagram, on its own or in a pull request. WHEN: asked to diagram, visualise or explain a change or a system, or when a pull request should carry a diagram. KEYWORDS: PR Lens, diagram, architecture, data flow, visualise, visualize…

coldteadotai/pr-lens · 81 tokens

audit-scientific-figure

Review and score an existing scientific illustration in visible draw.io, Microsoft PowerPoint, or WPS Presentation without hiding defects through flattening. Use for reference-fidelity checks, layout cleanup, connector review, text-fit checks, deep editability and raster-atomicity inspection, local-region gates, or…

icebird1998/scientific-illustrator · 80 tokens