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 bex-co/bex-security --skill threat-model-visualizegit clone --depth 1 https://github.com/bex-co/bex-securityWrote 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/bex-co/bex-security/threat-model-visualize)<a href="https://agentmods.dev/skills/bex-co/bex-security/threat-model-visualize"><img src="https://agentmods.dev/badge/skills/bex-co/bex-security/threat-model-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.
<a href="https://agentmods.dev/skills/bex-co/bex-security/threat-model-visualize"><img src="https://agentmods.dev/badge/skills/bex-co/bex-security/threat-model-visualize.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.00038 | $0.03332 |
| Opus 5.5 | $0.00015 | $0.01333 |
| Sonnet 5.5 | $0.00008 | $0.00666 |
| Haiku 4.5 | $0.00004 | $0.00333 |
Grade A, and why
threat-model-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 7d 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.
This is a copy
100% identical to threat-model-visualize — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Threat Model Visualize
Create a standalone explorer that shows application teams and leadership what can go wrong, how it could happen, why it matters, and where controls would stop or limit it. Use the shared workbench and role palette; do not use Mermaid or run a new scan.
A request such as “Visualize the threat model generated in the last scan of X” is sufficient. Resolve the target, latest assessment and snapshot. If the latest artifact is missing, disclose that before using an older fallback. The default input is the existing threat-model artifact, not an automatic import of a complete scan. Keep inputs immutable and do not silently combine snapshots. Do not inspect application code or invent topology, authority, controls, reachability or validation.
Capture source-supported deployment context: exposure, trust, tenant and process boundaries, identities, and conditional deployment assumptions. Do not treat repository defaults as proof of deployed configuration. Preserve uncertainty and the distinction between hypotheses, findings, declared controls and observed enforcement. For several explicitly supplied artifacts, pass one derived document to --assessment. Label verbatim excerpts with each source’s identity, snapshot and original finding status. Distinguish findings from hypotheses, identify local IDs, and preserve conflicting accounts and the original artifacts.
For a fresh candidate or regeneration, author a new view model; do not patch or copy a previous candidate model or HTML. Ordinary edits may reuse the existing model. Renderer-only polishing is a display update, not fresh generation.
1. Enumerate and validate the source
Complete this phase before planning any visualization, choosing display groupings or routes, assigning geometry, or authoring the explorer JSON. Save source-inventory.md in the workspace. Validate fidelity to the supplied assessment, not the application implementation; do not run a new assessment to fill gaps.
Record the assessment identity, exact file hash and scope. Give inventory rows semantic IDs and supporting source spans or exact quotations, without assigning visual node or edge IDs. Enumerate:
What ships with it
13 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.
- agents/openai.yaml 259 B
- assets/context-reference-overview.svg 36 KB
- assets/context-reference-path.svg 59 KB
- assets/control-effects.js 3.9 KB runs code
- assets/explorer.css 12 KB
- assets/explorer.html 2.6 KB
- assets/explorer.js 41 KB runs code
- assets/route-paths.js 3.6 KB runs code
- assets/source-roles.js 2.7 KB runs code
- assets/svg-layout.js 11 KB runs code
- references/context-explorer.md 5.5 KB
- references/view-model.md 12 KB
- scripts/build_explorer.py 27 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.
- 7d ago First seen · 84 lines · 38 tokens per session scan A 96e1a7517575
threat-model-visualize is a skill published in the GitHub repository bex-co/bex-security (53 stars, last pushed 2d ago), licensed Apache-2.0. It adds 38 tokens to every session and 3,332 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to threat-model-visualize, differing in 0 lines, and is treated as a copy.
threat-model-visualize compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| threat-model-visualizebex-co/bex-security | Skill | 53 | 2d ago | Apache-2.0 | A | 38 | Codex |
| remotion-interactivitycompozy/compozy | Skill | 2.9k | today | MIT | A | 12 | Codex |
| open-design-setupcompozy/compozy | Skill | 2.9k | today | MIT | A | 67 | Claude Code, Codex |
| web-prototypecompozy/compozy | Skill | 2.9k | today | MIT | A | 59 | Claude Code, Codex |
| web-prototypecompozy/compozy | Skill | 2.9k | today | MIT | A | 59 | Claude Code, Codex |
| open-design-reviewcompozy/compozy | Skill | 2.9k | today | MIT | A | 55 | Claude Code, Codex |
| favicon-gencompozy/compozy | Skill | 2.9k | today | MIT | A | 44 | Claude Code, Codex |