Borrowing it
Nothing to install: this file belongs to tam159/next-role. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tam159/next-role/main/.agents/skills/archify/SKILL.mdgit clone --depth 1 https://github.com/tam159/next-roleWrote 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.
[](https://agentmods.dev/skills/tam159/next-role/archify)<a href="https://agentmods.dev/skills/tam159/next-role/archify"><img src="https://agentmods.dev/badge/skills/tam159/next-role/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.
<a href="https://agentmods.dev/skills/tam159/next-role/archify"><img src="https://agentmods.dev/badge/skills/tam159/next-role/archify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00130 | $0.02240 |
| Opus 5.5 | $0.00052 | $0.00896 |
| Sonnet 5.5 | $0.00026 | $0.00448 |
| Haiku 4.5 | $0.00013 | $0.00224 |
Grade A, and why
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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Archify
Create an interactive HTML diagram from typed JSON. Static output is the default; enable motion only when requested.
Run commands from your working directory. Unless the user names another location, give each new diagram request its own folder .archify/<type>-<slug>-<YYYYMMDD-HHMMSS>/ there (local time, chosen once when the request starts): keep candidate.json and <slug>.html in it, set meta.output to that relative HTML path, and reuse the folder for every repair rerun. A later request gets a new folder, so earlier versions stay intact. Replace bin/archify.mjs in the commands below with the installed package's absolute path, or its path relative to your working directory; input and output paths resolve from that working directory.
For a real codebase, read Repository authoring while tracing the requested behavior. A system description uses the steps below; an existing JSON uses the handoff path.
Existing candidate handoff
When the user supplies a frozen candidate, run finalize first as one CLI invocation. Its passing receipt completes the automated gates; follow any visual review recommendation under Delivery before claiming visual quality. For repair, follow step 5.
finalize includes a bounded update check in its delivery receipt; see Update awareness.
Fast authoring path
Use this path for ordinary generation. Read branch references only when their stated trigger applies.
- Choose
architecture,workflow,sequence,dataflow, orlifecyclefrom the question. - Use the exact schema and example paths in the Type router without listing their directories. Read Authoring defaults and the mode's example in a bounded batch separate from project documents and complete schemas so neither is truncated; recover any missing section before writing. For Architecture, use the matching showcase example. For Sequence, Dataflow, and Lifecycle, also read the mode and common schemas. Read the relevant schema definition before choosing any new field, enum, or constrained text, especially boundary kinds. Examples teach shape, not facts. Use fresh IDs, wording, and layout. Go directly to the candidate without preliminary help, doctor, starter validation, temporary diagrams, or output-path listing. Query brands only for an explicitly requested mark; read Brand marks for an unknown mark with a user-provided URL.
- Once the requested scope and, for a real codebase, source evidence are covered, write the complete candidate directly without planning coordinates in prose. Choose Architecture abstraction and connected placement using Authoring defaults before coordinates: show the main user journey and necessary branches, preserve control roles and behavior-changing conditions, and leave enough room for actual relationship labels. No node, relationship, source, view, card, or boundary count is a target or ceiling. Use automatic routes first; add explicit routing only for necessary branch, return, supplied geometry, or measured repair. Set
meta.quality_profileto"showcase"unless the user requests densestandard. - Once the complete first candidate is written, run
finalizedirectly. Its first gate is showcase validation; successful first drafts need no separate pre-validation. Keep the candidate unchanged while the command runs:
What ships with it
60 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.
- assets/JetBrainsMono-OFL.txt 4.3 KB
- assets/template.html 711 KB
- bin/archify.mjs 261 KB runs code
- bin/delivery-update.mjs 3.6 KB runs code
- bin/finalize.mjs 39 KB runs code
- bin/open-artifact.mjs 4.0 KB runs code
- bin/preview.mjs 36 KB runs code
- bin/recover-output.mjs 1.3 KB runs code
- bin/visual-check.mjs 110 KB runs code
- brand-marks/catalog.json 14 KB
- brand-marks/README.md 1.4 KB
- delta/architecture-delta.mjs 77 KB runs code
- examples/agent-run.lifecycle.json 3.3 KB
- examples/agent-tool-call.workflow.json 4.8 KB
- examples/async-job-roundtrip.sequence.json 3.7 KB
- examples/brand-aware-delivery.architecture.json 2.7 KB
- examples/cache-miss-request.sequence.json 3.7 KB
- examples/checkout-platform.base.architecture.json 2.2 KB
- examples/checkout-platform.head.architecture.json 2.4 KB
- examples/dataflow-product-analytics.html 747 KB
- examples/deployment-release.lifecycle.json 3.4 KB
- examples/event-stream.dataflow.json 4.7 KB
- examples/holiday-planning.workflow.json 2.9 KB
- examples/incident-response.workflow.json 4.6 KB
- examples/lifecycle-agent-run.html 741 KB
- examples/locales/de.json 26 KB
- examples/locales/es.json 27 KB
- examples/locales/fr.json 27 KB
- examples/locales/fr.partial.json 959 B
- examples/locales/it.json 26 KB
- examples/locales/ja.json 30 KB
- examples/locales/ko.json 28 KB
- examples/locales/pt.json 26 KB
- examples/locales/ru.json 34 KB
- examples/product-analytics.dataflow.json 4.9 KB
- examples/production-deployment.architecture.json 4.6 KB
- examples/release-delivery.workflow.json 4.4 KB
- examples/sequence-cache-miss-request.html 744 KB
- examples/web-app-rendered.html 744 KB
- examples/web-app.architecture.json 3.1 KB
- examples/workflow-agent-tool-call-rendered.html 750 KB
- LICENSE 1.1 KB
- migrations/workflow-v2.mjs 9.0 KB runs code
- package-lock.json 4.8 KB
- package.json 1.6 KB
- recipes/scenarios.mjs 37 KB runs code
- references/architecture-layout-repair.md 4.3 KB
- references/authoring-contract.md 26 KB
- references/authoring-defaults.md 7.6 KB
- references/brand-marks.md 3.3 KB
- references/delivery-contract.md 41 KB
- references/repository-authoring.md 6.4 KB
- references/update-awareness.md 1.3 KB
- references/viewer-runtime.md 3.2 KB
- renderers/architecture/grid.mjs 2.0 KB runs code
- renderers/architecture/labels.mjs 10 KB runs code
- renderers/architecture/render-architecture.mjs 47 KB runs code
- renderers/architecture/routing.mjs 54 KB runs code
- renderers/dataflow/README.md 4.1 KB
- renderers/dataflow/render-dataflow.mjs 24 KB runs code
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.
- 1mo ago First seen · 108 lines · 130 tokens per session scan A 66dfe99b35d7
archify is a skill published in the GitHub repository tam159/next-role (65 stars, last pushed 2d ago), licensed MIT. It adds 130 tokens to every session and 2,240 once invoked, about $0.0005 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-05.
archify compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| archifytam159/next-role | Skill | 65 | 2d ago | MIT | A | 130 | Claude Code, Codex |
| huashu-slidesnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 46 | Claude Code, Codex |
| gsd-sketchopen-gsd/gsd-core | Skill | 11k | yesterday | MIT | A | 27 | Claude Code |
| gsd-ui-phaseopen-gsd/gsd-core | Skill | 11k | yesterday | MIT | A | 18 | Claude Code |
| gsd-ui-reviewopen-gsd/gsd-core | Skill | 11k | yesterday | MIT | A | 17 | Claude Code |
| design-an-interfaceopen-gsd/gsd-pi | Skill | 1.4k | yesterday | MIT | A | 99 | Claude Code, Codex |
| 01-planai-driven-dev/framework | Skill | 550 | today | MIT | A | 42 | Claude Code |