# Data flow trace

> Data flow trace is an open-source agent skill for security. Maps how personal data moves through a system to surface privacy gaps. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/data-flow-trace
- **Repository:** https://github.com/mtarcure/claude-vibe-squad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** data-flow-trace
- **Collection:** https://github.com/mtarcure/claude-vibe-squad
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through a privacy review of a system's handling of sensitive or personal data. It takes each data class and follows it through collection, storage, processing, sharing, retention and deletion, noting the purpose, access principal, encryption state and retention behavior at every step.

The method asks the agent to classify fields by sensitivity and the person they describe, then trace transformations and transfers, especially those that cross trust or jurisdiction boundaries. Inferred connections are kept separate from confirmed ones, with the evidence needed to verify them named. Observed flows are then compared against any stated notice, consent, minimization or deletion commitments.

The skill expects evidence such as code, configuration files, schemas, logs and any diagrams the operator supplies, along with system boundaries, actors and stated legal or policy constraints. Its acceptance checks require every source to end at a store, processor, recipient or explicit unknown, and findings to separate verified evidence from assumptions and rank remediation by exposure. It ships as a single markdown file with no scripts.

## When your agent uses it

> Use when reviewing how a system handles sensitive or personal data: trace each data class through collection, storage, processing, sharing, retention, and deletion to surface privacy gaps, over-retention, or undisclosed sharing. Triggers on privacy review, DPIA, data-handling audit, or a schema/log that carries PII.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/data-flow-trace)
- [License: MIT](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/data-flow-trace)

## Features

- **Data class classification:** Sorts fields by sensitivity and by the person whose data they describe.
- **End-to-end flow tracing:** Follows each data source through transformations, transfers and terminal stores.
- **Cross-boundary transfer review:** Records sender, receiver, protocol and protection state for transfers between trust zones.
- **Retention and deletion checks:** Includes retention and deletion paths rather than only collection and use.
- **Commitment comparison:** Compares observed flows against stated notice, consent and minimization promises.
- **Evidence-ranked findings:** Separates verified evidence from assumptions and ranks remediation by exposure.

## Good for

- Run a privacy review of a new customer data pipeline
- Audit where PII in application logs ends up and how long it persists
- Prepare the data-flow section of a DPIA for a new feature
- Check whether a database schema shares personal data with undisclosed third parties
- Identify over-retention in a system's storage and deletion paths

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/data-flow-trace` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/data-flow-trace &&
cp -R "$tmp/.agents/skills/data-flow-trace" ~/.claude/skills/data-flow-trace &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/data-flow-trace` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/data-flow-trace` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/data-flow-trace &&
cp -R "$tmp/.agents/skills/data-flow-trace" ~/.agents/skills/data-flow-trace &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/data-flow-trace` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/data-flow-trace` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/data-flow-trace &&
cp -R "$tmp/.agents/skills/data-flow-trace" ~/.cursor/skills/data-flow-trace &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/data-flow-trace` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/data-flow-trace
```

Or copy the folder to `~/.gemini/skills/data-flow-trace` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/data-flow-trace`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/data-flow-trace &&
cp -R "$tmp/.agents/skills/data-flow-trace" ~/.copilot/skills/data-flow-trace &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/data-flow-trace` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git
```

Then copy `claude-vibe-squad/.agents/skills/data-flow-trace` into your agent's skills folder as `data-flow-trace`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Data flow trace trigger?

It is meant for reviewing how a system handles sensitive or personal data, such as privacy reviews, DPIAs, data-handling audits, or a schema or log that carries PII.

### What inputs does Data flow trace need?

It expects system boundaries, actors, data stores, processors and trust zones, data classes with their purposes and retention promises, and evidence from code, configuration, schemas, logs or operator-provided diagrams.

### Does Data flow trace run any scripts or change files?

The skill folder contains only its SKILL.md file and no scripts. Its instructions describe an analysis method for the agent to follow.

### What does the output look like?

Findings are expected to separate verified evidence from assumptions and rank remediation by exposure, with inferred data flows marked separately.

### How do I install Data flow trace in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/data-flow-trace to use it in all your projects, or to .claude/skills/data-flow-trace in one project.

### Does Data flow trace run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Data flow trace?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Data flow trace?

The closest alternatives to Data flow trace are Security compliance check, Implementing gdpr data protection controls, Pattern of life from socials, Gdpr compliant and API compliance checker.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Security compliance check](https://ai-powered.com/skills/security-compliance-check): Security compliance check is an open-source agent skill for security.
- [Implementing gdpr data protection controls](https://ai-powered.com/skills/implementing-gdpr-data-protection-controls): Implementing gdpr data protection controls is an open-source agent skill for legal and government.
- [Pattern of life from socials](https://ai-powered.com/skills/pattern-of-life-from-socials): Pattern of life from socials is an open-source agent skill for security.
- [Gdpr compliant](https://ai-powered.com/skills/gdpr-compliant): Gdpr compliant is an open-source agent skill for security.
- [API compliance checker](https://ai-powered.com/skills/api-compliance-checker): API compliance checker is an open-source agent skill for security.
- [Data breach blast radius](https://ai-powered.com/skills/data-breach-blast-radius): Data breach blast radius is an open-source agent skill for legal and government.
- [Follow the crypto](https://ai-powered.com/skills/follow-the-crypto): Follow the crypto is an open-source agent skill for security.
- [Investigate without getting made](https://ai-powered.com/skills/investigate-without-getting-made): Investigate without getting made is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/data-flow-trace
