Xpersona
D

data-flow

CLAWHUB · Unverified

Generates a Mermaid sequence diagram showing how data moves between components Skill: data-flow Owner: athola Summary: Generates a Mermaid sequence diagram showing how data moves between components Tags: latest:1.9.19 Version history: v1.9.19 | 2026-08-26T13:08:21.674Z | user Release v1.9.19 v1.9.17 | 2026-07-30T05:31:15.489Z | user Release v1.9.17 v1.9.16 | 2026-07-14T19:48:08.666Z | user Release v1.9.16 v1.9.15 | 2026-07-04T21:21:49.373Z | user Release v1.9.15 v1.9.14 | 2026-06-30T17:52:28.54

62
Rank
84
Safety
1.7k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-cartograph-data-flow
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-cartograph-data-flow/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

49,817 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: data-flow
description: Generates a Mermaid sequence diagram showing how data moves between components
version: 1.9.8
triggers:
  - tracing request flows or documenting data transformation pipelines
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/cartograph", "emoji": "\ud83e\udd9e"}}
source: claude-night-market
source_plugin: cartograph
---

> **Night Market Skill** — ported from [claude-night-market/cartograph](https://github.com/athola/claude-night-market/tree/master/plugins/cartograph). For the full experience with agents, hooks, and commands, install the Claude Code plugin.


# Data Flow Diagram

Generate a Mermaid sequence diagram showing how data moves
between components in a codebase.

## When To Use

- Tracing how a request flows through the system
- Understanding data transformation pipelines
- Documenting API call chains
- Answering "what happens when X is called?"

## Workflow

### Step 1: Explore the Codebase

Dispatch the codebase explorer agent:

```
Agent(cartograph:codebase-explorer)
Prompt: Explore [scope] and return a structural model.
Focus on function calls, data transformations, and
inter-module communication for a data flow diagram.
```

### Step 2: Generate Mermaid Syntax

Transform the structural model into a Mermaid sequence
diagram.

**Rules for data flow diagrams**:

- Use `sequenceDiagram` for request/response flows
- Participants are modules or components (not functions)
- Arrows show data direction: `->>` for calls,
  `-->>` for returns
- Use `activate`/`deactivate` for long-running operations
- Add `Note over` for data transformations
- Limit to 8-10 participants maximum
- Use `alt`/`else` for conditional flows
- Handle circular calls by showing them once with a note

**Example output**:

```mermaid
sequenceDiagram
    participant User
    participant Command as /commit
    participant Sanctum as sanctum.commit
    participant Leyline as leyline.git_platform
    participant Git

    User->>Command: /commit
    Command->>Sanctum: generate_message()
    Sanctum->>Leyline: get_staged_changes()
    Leyline->>Git: git diff --cached
    Git-->>Leyline: diff output
    Leyline-->>Sanctum: structured changes
    Note over Sanctum: Classify change type
    Sanctum-->>Command: commit message
    Command->>Git: git commit -m "..."
```

### Step 3: Render via MCP

Call the Mermaid Chart MCP to render:

```
mcp__claude_ai_Mermaid_Chart__validate_and_render_mermaid_diagram
  prompt: "Data flow diagram of [scope/feature]"
  mermaidCode: [generated syntax]
  diagramType: "sequenceDiagram"
  clientName: "claude-code"
```

If rendering fails, fix syntax and retry (max 2 retries).

### Step 4: Present Results

Show the rendered diagram with a brief description of the
flow depicted (2-3 sentences).

_meta.json

{
  "ownerId": "kn7d107jg9jv602h9ytsegydq184a42s",
  "slug": "nm-cartograph-data-flow",
  "version": "1.9.19",
  "publishedAt": 1787749701674
}

skill-card.md

## Description:

Generates a Mermaid sequence diagram showing how data moves between components.

This skill is ready for commercial/non-commercial use.

## Publisher:

[athola](https://clawhub.ai/user/athola)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to trace request flows, understand data transformations, document API call chains, and explain what happens when a scoped feature or call is invoked.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Rendered diagrams may expose internal component names, request paths, or data-flow details.

Mitigation: Provide a specific scope and review the generated diagram before sharing it outside the intended audience.

Risk: The generated Mermaid sequence diagram may be incomplete or misleading if the codebase exploration misses relevant calls or transformations.

Mitigation: Review the diagram against the scoped code path and validate rendered Mermaid output before relying on it for documentation or decisions.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/athola/skills/nm-cartograph-data-flow)
- [Publisher profile](https://clawhub.ai/user/athola)
- [OpenClaw homepage](https://github.com/athola/claude-night-market/tree/master/plugins/cartograph)

## Skill Output:

**Output Type(s):** [markdown, code, guidance]

**Output Format:** [Markdown containing Mermaid sequence-diagram code and a brief flow description.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May call a Mermaid rendering MCP and retry syntax fixes up to two times when rendering fails.]

## Skill Version(s):

1.9.19 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to data-flow and adjacent AI workflows.