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 andregusman-raiz/a-gusman-claude --skill diagramgit clone --depth 1 https://github.com/andregusman-raiz/a-gusman-claudeWrote 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/andregusman-raiz/a-gusman-claude/diagram)<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/diagram"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/diagram/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/andregusman-raiz/a-gusman-claude/diagram"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 4 Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00049 | $0.02004 |
| Opus 5 | $0.00024 | $0.01002 |
| Sonnet 5 | $0.00010 | $0.00401 |
| Haiku 4.5 | $0.00005 | $0.00200 |
Grade A, and why
diagram 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagram Skill
Gerar diagramas tecnicos com Mermaid (preferido), PlantUML ou D2.
Decision Matrix
| Diagram Type | Best Tool | Reason |
|---|---|---|
| Flowchart | Mermaid | Simples, renderiza direto |
| Sequence | Mermaid | Excelente suporte |
| ER / Data Model | Mermaid | erDiagram nativo |
| Class | Mermaid | classDiagram nativo |
| Gantt | Mermaid | gantt nativo |
| State Machine | Mermaid | stateDiagram-v2 |
| Architecture (complex) | D2 | Melhor layout para diagramas grandes |
| Deployment | PlantUML | Mais icons de infra |
| C4 Model | PlantUML | Plugin C4 dedicado |
Rendering
Usar o MCP tool mcp__mermaid__generate para renderizar diagramas como PNG/SVG:
mcp__mermaid__generate({
code: "flowchart LR\n A --> B",
name: "my-diagram",
outputFormat: "png",
theme: "default",
folder: "/tmp"
})
Temas disponiveis: default, forest, dark, neutral
Mermaid Syntax
Flowchart
flowchart LR
A[Start] --> B{Decision?}
B -->|Yes| C[Process A]
B -->|No| D[Process B]
C --> E[End]
D --> E
style A fill:#4361ee,color:#fff
style E fill:#2d6a4f,color:#fff
style B fill:#f4845f,color:#fff
Direcoes: TB (top-bottom), BT, LR (left-right), RL
Shapes: [rect], (rounded), {diamond}, ([stadium]), [[subroutine]], [(cylinder)], ((circle)), >flag], {hexagon}
Sequence Diagram
sequenceDiagram
actor U as User
participant F as Frontend
participant A as API
participant D as Database
U->>F: Click login
F->>A: POST /auth/login
A->>D: SELECT user
D-->>A: User data
A-->>F: JWT token
F-->>U: Redirect to dashboard
Note over A,D: Auth flow
rect rgb(200, 220, 255)
A->>D: Log access
D-->>A: OK
end
Arrows: ->> (solid), -->> (dashed), -x (cross), -) (async)
Class Diagram
classDiagram
class User {
+String id
+String name
+String email
+login() bool
+logout() void
}
class Order {
+String id
+Date createdAt
+Float total
+addItem(item) void
+checkout() bool
}
class Product {
+String id
+String name
+Float price
}
User "1" --> "*" Order : places
Order "*" --> "*" Product : contains
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.
- 9d ago First seen · 286 lines · 49 tokens per session scan A 52097f2a9052
diagram is a skill published in the GitHub repository andregusman-raiz/a-gusman-claude (19 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 2,004 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-09-03.
Other skills, from other repositories
architecture-diagram-creator
Create comprehensive HTML architecture diagrams showing data flows, business objectives, features, technical architecture, and deployment. Use when users request system architecture, project documentation, high-level overviews, or technical specifications.
minimax-pdf
Use this skill when visual quality and design identity matter for a PDF. CREATE (generate from scratch): "make a PDF", "generate a report", "write a proposal", "create a resume", "beautiful PDF", "professional document", "cover page", "polished PDF", "client-ready document". FILL (complete form fields): "fill in the…
taiyi-ui-design
A design-planning guide for describing how an application's user interface should look and behave. It produces a UI-DESIGN.md document covering layouts, components, interactions, accessibility, and error states.
taiyi-diagram-arch
A workflow for turning written system or product architecture into readable, version-controlled diagrams using Mermaid or exported SVG and PNG files. Architecture diagrams show components, boundaries, data flows, and deployment relationships.
taiyi-restyle
A planning guide for breaking a large user-interface redesign into smaller, independently reviewable tasks. A user interface is the part of an application that people see and use.
taiyi-diagram-pipeline
A pipeline that creates and updates architecture diagrams in three stages: a C4 model from the code, an engineering architecture diagram, and an exported PNG image. C4 is a way to describe software architecture at several levels of detail.