SRA: Skill for Claude Code

.agent/skills/diagram/SKILL.md

diagram is a skill for Claude Code from Aniket-a14/SRA. It costs 33 tokens per session (2,206 once invoked), scanned A, original, Apache-2.0.

A documentation skill for Unified Impact Diagrams, which show how a user's experience connects to the technical parts of a system. It uses Diagram Driven Development, a method that keeps diagrams aligned with software work.

In plain words
What is it for?
Create, update, review, organize, and index diagrams for features, system architecture, user journeys, tests, and refactoring work.
Why use it?
It helps prevent diagrams from becoming outdated or disconnected from the code. It keeps the ai/diagrams directory organized as a shared reference for understanding the system.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is Aniket-a14/SRA's own configuration. It tells Claude Code how to work on SRA itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SRA configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Aniket-a14/SRA. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Aniket-a14/SRA/main/.agent/skills/diagram/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Aniket-a14/SRA

Made for: Claude Code.

Wrote 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.

agentmods badge for diagram

README.md
[![agentmods](https://agentmods.dev/badge/skills/aniket-a14/sra/diagram/github.svg)](https://agentmods.dev/skills/aniket-a14/sra/diagram)
Your own site
<a href="https://agentmods.dev/skills/aniket-a14/sra/diagram"><img src="https://agentmods.dev/badge/skills/aniket-a14/sra/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.

agentmods 80×15 button for diagram

Your own site · 80×15
<a href="https://agentmods.dev/skills/aniket-a14/sra/diagram"><img src="https://agentmods.dev/badge/skills/aniket-a14/sra/diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,206 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.02206
Opus 5 $0.00016 $0.01103
Sonnet 5 $0.00007 $0.00441
Haiku 4.5 $0.00003 $0.00221

Measured 12d ago against content hash 1700068e6f15, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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 12d 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.

.agent/skills/diagram/SKILL.md · 255 lines

How it starts

The opening of the file, as written. The whole thing — 255 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Diagram Driven Development (DDD) Skill

Maintain the ai/diagrams directory as the single source of truth for system understanding. All diagrams follow DDD principles, connecting Front-Stage (user experience) to Back-Stage (technical implementation) with clear impact annotations.

Capabilities

  1. Create Diagrams - Generate new diagrams for features, architectures, journeys, tests, and refactorings
  2. Update Diagrams - Synchronize existing diagrams with code changes
  3. Audit Diagrams - Identify outdated, missing, or low-quality diagrams
  4. Organize Diagrams - Maintain consistent structure and naming conventions
  5. Index Management - Keep README.md index up-to-date with all diagrams
  6. Quality Validation - Ensure all diagrams follow DDD principles

Quick Reference

For detailed instructions on each operation, see:

Directory Structure

ai/diagrams/
├── README.md                    # Index of all diagrams
├── features/                    # Feature-specific diagrams
├── architecture/                # System architecture diagrams
├── journeys/                    # User journey diagrams
├── tests/                       # Test coverage diagrams
└── refactoring/                 # Before/After improvement diagrams

Common Workflows

Initial Setup Workflow

  1. User starts new project or adds DDD to existing project
  2. Create ai/diagrams/ directory structure
  3. Generate initial system architecture diagram
  4. Create README.md index
  5. Document key user journeys

New Feature Workflow

  1. User requests new feature
  2. Create feature diagram showing user value
  3. Connect Front-Stage (UX) to Back-Stage (implementation)
  4. Document related files and components
  5. Update README.md index

Read the full file on GitHub · 255 lines

Files

What ships with it

6 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.

Changes

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.

  1. 12d ago First seen · 255 lines · 33 tokens per session scan A 1700068e6f15

Subscribe to this mod's changes

diagram is a skill published in the GitHub repository Aniket-a14/SRA (23 stars, last pushed 13d ago), licensed Apache-2.0. It adds 33 tokens to every session and 2,206 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-08-30.