katashiro-archify

katashiro-archify is a skill for Claude Code, Codex from brettchien/katashiro. It costs 153 tokens per session (1,002 once invoked), scanned A, original, MIT.

A skill for turning structured descriptions into interactive architecture and workflow diagrams or explainer pages, then displaying them in a Katashiro HTML canvas. Katashiro is the connected chat interface that shows the generated page.

In plain words
What is it for?
Use it for architecture, sequence, data-flow, lifecycle, ERD, class, tree, timeline, and similar diagrams.
Why use it?
It provides a defined process for creating diagrams and delivering them where the user can pan, zoom, and inspect them.

Skill for Claude CodeCodex

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

Good fit Use it for architecture, sequence, data-flow, lifecycle, ERD, class, tree, timeline, and similar diagrams.

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

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 katashiro-archify

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/brettchien/katashiro/katashiro-archify"><img src="https://agentmods.dev/badge/skills/brettchien/katashiro/katashiro-archify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,002 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.00153 $0.01002
Opus 5.5 $0.00061 $0.00401
Sonnet 5.5 $0.00031 $0.00200
Haiku 4.5 $0.00015 $0.00100

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

Security

Grade A, and why

katashiro-archify 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 29d 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.

skills/katashiro-archify/SKILL.md · 59 lines

How it starts

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

katashiro-archify

Archify turns a typed JSON description into one standalone interactive HTML file. Katashiro shows that file as an html canvas (canvas-html ADR §2.5). This skill sits on top of Archify's own skill: author and render the way Archify's skill says, then deliver the file into a canvas the way this one says.

Requirements

  • Archify's skill, installed where you run: npx skills add tt-a1i/archify (Katashiro does not vendor Archify), and Node ≥ 18.
  • The katashiro-canvas-file skill (its scripts/canvas-file.sh), and a Katashiro chat with html canvases on.

Steps

  1. Author and render as Archify's skill says, in a scratch folder: /tmp/archify/<slug>-<timestamp>/ (<slug>.json → <slug>.html). Pick the diagram type from what the user asked for; ask only if it is really unclear.
  2. Finalize: archify finalize <type> <slug>.json <slug>.html.
    • On a host with no Chrome, a run whose only failure is browser-check with viewer/chrome-unavailable — validate, deliver and check passing — is accepted. Your reply then says that Archify's browser check did not run.
    • Any other failure: repair it as Archify's skill says, and finalize again.
  3. Upload: <canvas-file-skill>/scripts/canvas-file.sh <slug>.html --kind html --title "<what it shows>". For a new revision of a diagram you already showed, add --id <canvasId>. Never read the HTML into your context or pass it as tool arguments: it is ~0.5–2.4 MB.
  4. Optional visual check: katashiro.screenshot of the canvas tab (katashiro.switch_tab to it first, then back). Before Run scripts it shows the diagram's own pre-rendered SVG — enough to check the layout. Report it as an automated check, not as the user's review. It stands in for Archify's browser check.
  5. Tell the user what the diagram shows, and that ▶ Run scripts in the canvas header makes it interactive (pan / zoom, trace a route, focus a node, themes); once pressed, it holds for this canvas. Exports (PNG / SVG / WebM) work after that; Archify's Copy button does not (the clipboard stays closed). Do not add "press Run scripts" text to the page: Katashiro shows its own hint.

Read the full file on GitHub · 59 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. 29d ago Changed · +2 lines 3ac97719f246
  2. 1mo ago First seen · 57 lines · 153 tokens per session scan A fb436eae6506

Subscribe to this mod's changes

katashiro-archify is a skill published in the GitHub repository brettchien/katashiro (10 stars, last pushed 14d ago), licensed MIT. It adds 153 tokens to every session and 1,002 once invoked, about $0.0006 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-10-29.

Related

katashiro-archify compared with skills from other repositories

katashiro-archify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
katashiro-archifybrettchien/katashiroSkill1014d agoMITA153Claude Code, Codex
cloneCrawlio-app/crawlio-browserSkill83mo agoApache-2.0A21Claude Code
wcag22-a11y-auditAIPexStudio/AIPexSkill1.3k3mo agoMITA111Claude Code, Codex
ux-audit-walkthroughAIPexStudio/AIPexSkill1.3k3mo agoMITA73Claude Code, Codex
browser-automationCrawlio-app/crawlio-browserSkill83mo agoApache-2.0A68Claude Code
web-researchCrawlio-app/crawlio-browserSkill83mo agoApache-2.0A26Claude Code
investigateCrawlio-app/crawlio-browserSkill83mo agoApache-2.0A32Claude Code