Borrowing it
Nothing to install: this file belongs to bex-co/beancount-io. 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/bex-co/beancount-io/main/.agents/skills/mermaid/SKILL.mdgit clone --depth 1 https://github.com/bex-co/beancount-ioWrote 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/beancount-io/mermaid)<a href="https://agentmods.dev/skills/bex-co/beancount-io/mermaid"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/mermaid/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/beancount-io/mermaid"><img src="https://agentmods.dev/badge/skills/bex-co/beancount-io/mermaid.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.00037 | $0.00795 |
| Opus 5.5 | $0.00015 | $0.00318 |
| Sonnet 5.5 | $0.00007 | $0.00159 |
| Haiku 4.5 | $0.00004 | $0.00080 |
Grade A, and why
mermaid 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 yesterday.
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
89% identical to mermaid — 9 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 — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Draw a mermaid architecture diagram in markdown for: $ARGUMENTS
Conventions
- Boxes are services/components:
svc[bex-api]. Use[(...)]for datastores. Humans (user, developer, operator) are triangles:user@{ shape: tri, label: "user" }. - A box that is not a long-running service must say so in its label — readers assume boxes are services and ask "where is this running?". Mark scheduled/ephemeral work (
cron["backup pod (spawned nightly, exits when done)"]) and inert config objects (secret["Secret foo (k8s object, created once)"]). Draw humans as triangles:operator@{ shape: tri, label: "operator" }. Never draw a manual procedure as a peer box of running infrastructure: give runbook/recovery flows their own subgraph whose title says it's manual and where it runs (subgraph "disaster recovery — manual runbook, any docker host"), with the human actor inside. - Arrows are dependency direction:
A --> Bmeans A depends on (calls, reads, deploys to) B — never the reverse. - Concise but to the point: only load-bearing services and edges. No styling, no colors, no legend. Label an edge (
A -->|gRPC| B) only when the relationship isn't obvious. Default toflowchart TB; useLRonly if the graph is much wider than deep. Usesubgraphonly for real boundaries (cluster, node, network, trust zone, automated vs. manual) — subgraphs are how the diagram answers "where does this run?". An edge may target a whole subgraph by id (subgraph cluster["app cluster"]…op --> cluster). - If $ARGUMENTS refers to this repo, read the relevant docs/code first — start with the root
AGENTS.mdfor the package map, the scoped<package>/AGENTS.mdfor the package's architecture, anddocs/adrs/for recorded decisions. Don't diagram from guesswork.
Syntax gotchas that break rendering: quote labels containing (, ), [, {, or -->-like text (a["Queue (SQS)"]); never name a node bare end or graph; subgraph titles with spaces need quotes.
Verify (mandatory, before answering)
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.
- yesterday First seen · 32 lines · 37 tokens per session scan A 4d8f7f8993ae
mermaid is a skill published in the GitHub repository bex-co/beancount-io (808 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 795 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to mermaid, differing in 9 lines, and is treated as a copy.
mermaid compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mermaidbex-co/beancount-io | Skill | 808 | yesterday | MIT | A | 37 | Claude Code |
| bookkeepingericrisco/rsc-harness | Skill | 695 | yesterday | MIT | A | 84 | Claude Code, Codex |
| rledgerrustledger/rustledger | Skill | 442 | today | GPL-3.0 | A | 117 | Claude Code, Codex |
| countbean-accountingCPUtester5465/countbean-plugin | Skill | 21 | 1mo ago | MIT | A | 54 | Claude Code |
| full-engagement-pipelinecynco-labs/ai-accounting-skills | Skill | 6 | 4mo ago | MIT | A | 56 | Claude Code |
| smart-intakecynco-labs/ai-accounting-skills | Skill | 6 | 4mo ago | MIT | A | 47 | Claude Code |
| classify-transactionscynco-labs/ai-accounting-skills | Skill | 6 | 4mo ago | MIT | A | 55 | Claude Code |