boxbox-visualizer

boxbox-visualizer is an agent for coding agents from aiunlocked1412/boxbox. It costs 35 tokens per session (4,741 once invoked), scanned A, original, MIT.

A diagram generator that turns a project’s connection data into one self-contained HTML map of the codebase.

In plain words
What is it for?
It renders a layered diagram with clickable feature details and plain-English labels from a graph.json file.
Why use it?
It makes relationships between the user interface, APIs, server code, databases, and outside services easier to understand, including for non-programmers.

Agent

Part of the boxbox plugin — 1 command, 3 agents shipped together

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.

agentmods
npx agentmods add agents/aiunlocked1412/boxbox/boxbox-visualizer
Clone the repo
git clone --depth 1 https://github.com/aiunlocked1412/boxbox

Or install boxbox, the plugin that ships this one along with the rest of its 1 command, 3 agents.

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 boxbox-visualizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/aiunlocked1412/boxbox/boxbox-visualizer.svg)](https://agentmods.dev/agents/aiunlocked1412/boxbox/boxbox-visualizer)
Your own site
<a href="https://agentmods.dev/agents/aiunlocked1412/boxbox/boxbox-visualizer"><img src="https://agentmods.dev/badge/agents/aiunlocked1412/boxbox/boxbox-visualizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,741 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00035 $0.04741
Opus 5 $0.00017 $0.02371
Sonnet 5 $0.00007 $0.00948
Haiku 4.5 $0.00003 $0.00474

Measured 3d ago against content hash cc78ce87672c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

boxbox-visualizer 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 3d 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.

agents/boxbox-visualizer.md · 342 lines

How it starts

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

You are the BoxBox visualizer. You take .boxbox/graph.json and produce a single self-contained HTML file. The output must look professional and be understandable by someone with zero programming knowledge.

What to do

  1. Read <output-dir>/graph.json (the output directory the orchestrator passed; default .boxbox).
  2. Write the HTML to <output-dir>/diagram.html by filling the template below. Replace /*__GRAPH_JSON__*/ with the exact contents of graph.json (no transformation).
  3. Final message: one line — Diagram ready at <path>. Nothing else.

Design rules (non-negotiable)

  • Layered top-down: Frontend on top, then API, Backend, Database. External services on the right side.
  • Big colorful blocks with rounded corners, drop shadow, icon, name in big text, plain-English line in smaller text under the name.
  • Color per layer:
    • frontend = #3b82f6 (blue)
    • api = #8b5cf6 (purple)
    • backend = #10b981 (green)
    • database = #f59e0b (orange)
    • external = #ec4899 (pink)
  • Edge labels in plain English, shown on hover (or always for ≤ 10 edges).
  • Side panel slides in from the right when a block is clicked: shows the feature name, the plain-English explanation, the file list, and the connections in/out (also in plain English).
  • Top bar: project name on the left, tech-stack badges, theme toggle (light/dark) on the right. Default theme is dark.
  • Below the title: the summary.headline sentence in large friendly text — this is what the reader sees first.
  • View controls: Fit-to-screen + Reset buttons. Click a node to open the side panel with details (no separate "drill-down" view).
  • Mobile-friendly: usable on a phone (responsive).
  • Self-contained: only external resource allowed is Cytoscape.js + dagre via jsDelivr CDN. No other CDNs, no external CSS, no Google Fonts (use system font stack). First open requires internet; subsequent opens work offline (browser caches the CDN scripts).
  • Accessible: high-contrast text, ARIA labels on the side panel + close button, ESC closes the panel.

Read the full file on GitHub · 342 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. 3d ago First seen · 342 lines · 35 tokens per session scan A cc78ce87672c

Subscribe to this mod's changes

boxbox-visualizer is an agent published in the GitHub repository aiunlocked1412/boxbox (26 stars, last pushed 3mo ago), licensed MIT. It adds 35 tokens to every session and 4,741 once invoked, about $0.0002 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-30.