data-flow-diagram

data-flow-diagram is a skill for Claude Code from sethdford/claude-skills. It costs 37 tokens per session (619 once invoked), scanned A, original, MIT.

A guide for drawing how data moves between sources, processing steps, and storage systems. It covers batch processing, which handles groups of data, and stream processing, which handles data as it arrives.

In plain words
What is it for?
Planning API, database, event-stream, or upload integrations; documenting extraction, transformation, and loading steps; and deciding where to validate, store, or process data.
Why use it?
It makes hidden data transformations and storage points visible so teams can spot bottlenecks and choose an appropriate processing design.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the data-architecture plugin — 8 skills shipped together

Good fit Planning API, database, event-stream, or upload integrations; documenting extraction, transformation, and loading steps; and deciding where to validate, store, or process data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sethdford/claude-skills/data-flow-diagram
Install

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.

Any agent
npx skills add sethdford/claude-skills --skill data-flow-diagram
Clone the repo
git clone --depth 1 https://github.com/sethdford/claude-skills

Made for: Claude Code.

Or install data-architecture, the plugin that ships this one along with the rest of its 8 skills.

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 data-flow-diagram

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sethdford/claude-skills/data-flow-diagram"><img src="https://agentmods.dev/badge/skills/sethdford/claude-skills/data-flow-diagram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 619 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.
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.00037 $0.00619
Opus 5 $0.00018 $0.00309
Sonnet 5 $0.00007 $0.00124
Haiku 4.5 $0.00004 $0.00062

Measured 11d ago against content hash 82f228c47194, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

data-flow-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 11d 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.

architect/data-architecture/skills/data-flow-diagram/SKILL.md · 48 lines

How it starts

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

Data Flow Diagram

Visualize data movement, transformations, and storage across systems to identify bottlenecks and design efficient pipelines.

Context

You are designing how data flows between systems. Document data sources, transformations, sinks, and timing. Read existing architecture documents and data pipelines.

Domain Context

Based on enterprise data architecture patterns and streaming frameworks:

  • Batch Processing: High-latency, high-throughput; good for analytics and reports
  • Stream Processing: Low-latency, event-driven; good for realtime features and monitoring
  • Lambda Architecture: Batch + streaming for both completeness and speed
  • Transformation Stages: Extract, transform (business logic), load; validate at each stage
  • Data at Rest vs In Motion: Storage systems vs message queues and streams

Instructions

  1. Identify Data Sources: List all sources (APIs, databases, event streams, user uploads). For each, note volume, frequency, data format, and reliability.

  2. Map Transformations: What business logic applies? Normalize, enrich, aggregate, filter? Where does the transformation happen (source, pipeline, destination)? What's the latency requirement?

  3. Define Sinks and Destinations: Where does processed data land? Data warehouse for analytics? Cache for serving? Message queue for downstream consumers? API for external systems?

  4. Choose Processing Model: Batch (daily jobs) or streaming (realtime)? Hybrid (Lambda)? Consider latency, cost, operational complexity, and consistency needs.

  5. Diagram the Flow: Show sources, transformation stages, queues, storage, consumers. Mark synchronous vs asynchronous flows. Identify potential failure points and bottlenecks.

Anti-Patterns

  • Spaghetti Pipelines: Too many ad-hoc integrations between systems. Result: impossible to understand data lineage, hard to modify. Guard: Create canonical pipeline architecture; consolidate sources.
  • No Staging Environment: Transform data directly to production analytics. Result: bugs corrupt historical data. Guard: Stage transformations; validate data quality before final load.
  • Ignoring Failure Recovery: Assume pipelines always succeed. Result: gaps in data, silent failures. Guard: Implement idempotent transformations, track completion, replay on failure.
  • Tight Coupling Between Stages: Output of one transformation directly feeds next without buffering. Result: failure cascades. Guard: Use message queues; decouple producers and consumers.

Read the full file on GitHub · 48 lines

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. 11d ago First seen · 48 lines · 37 tokens per session scan A 82f228c47194

Subscribe to this mod's changes

data-flow-diagram is a skill published in the GitHub repository sethdford/claude-skills (40 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 619 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.

Related

Other skills, from other repositories