visualize

visualize is a command for Claude Code from atretyak1985/swarmery. It costs 64 tokens per session (1,308 once invoked), scanned A, original, Apache-2.0.

A command that passes a document or topic to the visual-explainer workflow and accepts output, language, and publishing options. It checks the command shape but does not itself read the source, create the page, or publish it.

In plain words
What is it for?
Use it to start an explanation from one or more files or a topic, choose an output HTML file and language, and request or disable publishing.
Why use it?
It provides a consistent entry point for making interactive explanations without putting the full generation process in the command. It also makes scripted or scheduled use easier.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the architecture-pack plugin — 2 skills, 1 command shipped together

Good fit Use it to start an explanation from one or more files or a topic, choose an output HTML file and language, and request or disable publishing.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/atretyak1985/swarmery/visualize
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.

Clone the repo
git clone --depth 1 https://github.com/atretyak1985/swarmery

Made for: Claude Code.

Or install architecture-pack, the plugin that ships this one along with the rest of its 2 skills, 1 command.

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 visualize

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/atretyak1985/swarmery/visualize"><img src="https://agentmods.dev/badge/commands/atretyak1985/swarmery/visualize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,308 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.00064 $0.01308
Opus 5.5 $0.00026 $0.00523
Sonnet 5.5 $0.00013 $0.00262
Haiku 4.5 $0.00006 $0.00131

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

Security

Grade A, and why

visualize 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 15d 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/architecture-pack/commands/visualize.md · 113 lines

How it starts

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

/visualize — explain a document or a topic as an interactive page

Usage

/visualize <source…|"topic"> [--out <file.html>] [--lang <code>] [--publish|--no-publish]

Examples:

  • /visualize docs/design/investigation.md
  • /visualize docs/spec.md docs/adr/0007-storage.md --out docs/storage-explainer.html
  • /visualize "how the release pipeline promotes a build" --lang en
  • /visualize notes/retro.md --publish

The command exists so a headless run or a scheduled routine has a stable entry point that does not depend on the skill being picked from free text.

What it does — and does not do

This is a thin proxy. It parses $ARGUMENTS, checks the shape of the sources and flags, and delegates everything else to the visual-explainer skill (plugins/architecture-pack/skills/visual-explainer/SKILL.md), which owns reading the source, the page plan, building from the shell, verification and delivery.

It does not read the sources' content, choose visuals, write HTML, start a browser or publish anything. If guidance on how a page should look or how to verify it ever appears here, it leaked out of the skill and belongs back there.

Argument parsing failure → print the usage error and stop. Never start the skill on an unparseable argument.

Argument parsing

  1. <source…|"topic"> (required, one or more) — each positional is either an existing file (.md, .markdown, .txt, .rst, .adoc, .html) or, when it is a single quoted string that is not a path, a topic to explain from the conversation and the repository. A path that does not exist → error naming it, and stop.
  2. --out <file.html> — optional; must end in .html. Omitted → the skill writes <first-source-stem>.explainer.html next to the first source (for a topic: the current directory, slugged from the topic).
  3. --lang <code> — optional; must match ^[a-z]{2}(-[A-Za-z]{2})?$. Omitted → the language of the source.
  4. --publish / --no-publish — optional and mutually exclusive. Omitted → the skill asks whether to publish once the page is verified, and only when a publishing tool is available.

Read the full file on GitHub · 113 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. 15d ago First seen · 113 lines · 64 tokens per session scan A b427fdca54bf

Subscribe to this mod's changes

visualize is a command published in the GitHub repository atretyak1985/swarmery (7 stars, last pushed 3d ago), licensed Apache-2.0. It adds 64 tokens to every session and 1,308 once invoked, about $0.0003 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-03.