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.
git clone --depth 1 https://github.com/ruslan-korneev/claude-pluginsWrote 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/commands/ruslan-korneev/claude-plugins/diagram)<a href="https://agentmods.dev/commands/ruslan-korneev/claude-plugins/diagram"><img src="https://agentmods.dev/badge/commands/ruslan-korneev/claude-plugins/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/commands/ruslan-korneev/claude-plugins/diagram"><img src="https://agentmods.dev/badge/commands/ruslan-korneev/claude-plugins/diagram.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.00011 | $0.01445 |
| Opus 5.5 | $0.00004 | $0.00578 |
| Sonnet 5.5 | $0.00002 | $0.00289 |
| Haiku 4.5 | $0.00001 | $0.00145 |
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 3mo 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 — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Command /architect:diagram
Generate architecture diagrams in Mermaid format based on codebase analysis.
Diagram Types
1. Component Diagram
Shows high-level system components and their relationships.
graph TD
subgraph Presentation
R[Routers]
DTO[DTOs]
end
subgraph Application
S[Services]
E[Events]
end
subgraph Domain
M[Models]
VO[Value Objects]
end
subgraph Infrastructure
REPO[Repositories]
EXT[External APIs]
CACHE[Cache]
end
R --> S
S --> REPO
S --> E
REPO --> M
S --> EXT
S --> CACHE
2. Data Flow Diagram
Shows how data flows through the system.
flowchart LR
Client([Client])
API[FastAPI]
Auth{Auth}
Service[Service]
DB[(Database)]
Cache[(Redis)]
Queue[Message Queue]
Client -->|HTTP Request| API
API --> Auth
Auth -->|Valid| Service
Auth -->|Invalid| Client
Service -->|Query| DB
Service -->|Cache| Cache
Service -->|Event| Queue
Service -->|Response| API
API -->|HTTP Response| Client
3. Sequence Diagram
Shows interaction between components for a specific use case.
sequenceDiagram
participant C as Client
participant R as Router
participant S as Service
participant REPO as Repository
participant DB as Database
C->>R: POST /orders
R->>R: Validate DTO
R->>S: create_order(data)
S->>S: Apply business rules
S->>REPO: save(order)
REPO->>DB: INSERT
DB-->>REPO: order_id
REPO-->>S: Order
S->>S: Publish OrderCreated event
S-->>R: OrderReadDTO
R-->>C: 201 Created
4. ER Diagram
Shows database entity relationships.
erDiagram
users {
int id PK
string email UK
string name
string password_hash
boolean is_active
datetime created_at
}
orders {
int id PK
int user_id FK
string status
decimal total
datetime created_at
}
order_items {
int order_id PK,FK
int product_id PK,FK
int quantity
decimal unit_price
}
products {
int id PK
string name
string sku UK
decimal price
int stock
}
users ||--o{ orders : places
orders ||--|{ order_items : contains
products ||--o{ order_items : "included in"
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.
- 3mo ago First seen · 297 lines · 11 tokens per session scan A 915db07fada2
diagram is a command published in the GitHub repository ruslan-korneev/claude-plugins (5 stars, last pushed 9mo ago), licensed MIT. It adds 11 tokens to every session and 1,445 once invoked, about $0.0000 per session on Opus 5.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-31.
diagram compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagramruslan-korneev/claude-plugins | Command | 5 | 9mo ago | MIT | A | 11 | Claude Code |
| verifyManavarya09/design-extract | Command | 5.3k | 3d ago | MIT | A | 31 | Claude Code |
| design-tutorialAdityaraj0421/naksha-studio | Command | 359 | 1mo ago | MIT | A | 28 | Claude Code |
| ux-auditAdityaraj0421/naksha-studio | Command | 359 | 1mo ago | MIT | A | 27 | Claude Code |
| design-criticimsaif/design-with-claude | Command | 11 | yesterday | MIT | A | 41 | Claude Code |
| form-designerimsaif/design-with-claude | Command | 11 | yesterday | MIT | A | 37 | Claude Code |
| cmd-svgAgentsORG/design-engineering | Command | 57 | 21d ago | MIT | A | 0 | Claude Code |