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.
npx skills add mayank-io/mstack --skill explain-flowsgit clone --depth 1 https://github.com/mayank-io/mstackWrote 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/mayank-io/mstack/explain-flows)<a href="https://agentmods.dev/skills/mayank-io/mstack/explain-flows"><img src="https://agentmods.dev/badge/skills/mayank-io/mstack/explain-flows/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/mayank-io/mstack/explain-flows"><img src="https://agentmods.dev/badge/skills/mayank-io/mstack/explain-flows.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.00160 | $0.03640 |
| Opus 5.5 | $0.00064 | $0.01456 |
| Sonnet 5.5 | $0.00032 | $0.00728 |
| Haiku 4.5 | $0.00016 | $0.00364 |
Grade A, and why
explain-flows scanned grade A with 1 finding 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 19d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **plugin** — Make the deterministic/non-deterministic boundary visible: `hook` and `tool-call` → `script` edges are deterministic; skill selection and most branching are `model-decision`. Show every `prompt` edge that How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Explain Flows
Produce two artifacts for the current repository:
flows.json— the source of truth: every component and every documented workflow, each step backed by a code reference.index.html— a single self-contained page that rendersflows.json. All components are always on screen; choosing a flow highlights the participating components, draws the path, and annotates each hop with what is passed.
Default location is docs/flows/ (use the repo's existing docs folder if it has a different name). If flows.json already exists, run in update mode (§6).
1. Detect the application kind
Classify the repo before inventorying anything. A repo can be more than one kind (a monorepo with a web app and a public REST API and a CLI); record every kind that applies in app.kinds.
| Kind | Signals | What a "flow" is |
|---|---|---|
ui-app |
package.json workspaces, pnpm-workspace.yaml, turbo.json, nx.json, apps/ + packages/, Electron / ToDesktop / Tauri / React Native config |
A user action in the UI ("Invite new user"), or a build/release pipeline ("todesktop build", "deploy web") |
api |
OpenAPI/Swagger spec, route registrations (Express/Fastify/FastAPI/Rails/axum), CLI parser definitions (clap, click/typer, cobra, commander, argparse), [project.scripts] / bin entries |
One endpoint (POST /v1/invites) or one CLI command (acme invite --email) end to end, including its error paths |
plugin |
.claude-plugin/plugin.json, marketplace.json, skills/*/SKILL.md, commands/, agents/, hooks/hooks.json, .mcp.json |
One slash command, one skill trigger phrase, or one hook event, from the user's prompt to the final output |
2. Inventory the components (nodes)
Read manifests first, then code. Every node gets a path that exists in the repo.
- ui-app — node types:
app,package,component,worker,build-tool,datastore,external. Layers, in order:client→server→shared→data→external, plusbuildwhen build/release flows exist. Pick the granularity that makes flows legible: packages by default; promote a component (a modal, a store, a route handler) to its own node only when a flow needs to show it. - api — node types:
entrypoint(HTTP router, CLI parser),middleware(auth, validation, rate limiting),handler,service,datastore,queue,worker,external. Layers:entry→middleware→domain→data→external. When REST and CLI front the same service layer, give each its ownentrypointnode so their convergence is visible. - plugin — node types:
actor(the user),host(Claude Code),plugin,command,skill,agent,hook,mcp-server,script,config(e.g.~/.mstack/<plugin>/*.json),external(web services, other CLIs, the vault/filesystem). Layers:user→host→plugin(skills, commands, agents, hooks) →runtime(scripts, MCP servers, tools) →external. Cross-plugin calls (one skill invoking another plugin's skill) are edges betweenskillnodes in different plugins; group nodes by plugin withgroup.
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.
- 19d ago First seen · 187 lines · 160 tokens per session scan A 098e337359eb
explain-flows is a skill published in the GitHub repository mayank-io/mstack (6 stars, last pushed 3d ago), licensed MIT. It adds 160 tokens to every session and 3,640 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-13.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
glance-canonical-layouts
Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).
accessibility
Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.