generating-dataflow-pipeline

generating-dataflow-pipeline is a skill for Claude Code, Codex from OpenDCAI/Dataflow-LoopAI. It costs 20 tokens per session (5,720 once invoked), scanned A, original, Apache-2.0.

A planner that selects operators and writes standard DataFlow pipeline code from a task description and a small JSONL sample. JSONL is a text format with one JSON object per line.

In plain words
What is it for?
Planning pipelines for document processing, text transformation, and multi-field composition; selecting supported operators; validating dependencies; and generating code tied to the supplied sample file.
Why use it?
It uses the sample to infer fields and data types, helping choose compatible processing steps and avoid broken field dependencies.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/opendcai/dataflow-loopai/generating-dataflow-pipeline
Any agent
npx skills add OpenDCAI/Dataflow-LoopAI --skill generating-dataflow-pipeline
Clone the repo
git clone --depth 1 https://github.com/OpenDCAI/Dataflow-LoopAI

Made for: Claude Code, Codex.

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 generating-dataflow-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/opendcai/dataflow-loopai/generating-dataflow-pipeline.svg)](https://agentmods.dev/skills/opendcai/dataflow-loopai/generating-dataflow-pipeline)
Your own site
<a href="https://agentmods.dev/skills/opendcai/dataflow-loopai/generating-dataflow-pipeline"><img src="https://agentmods.dev/badge/skills/opendcai/dataflow-loopai/generating-dataflow-pipeline.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,720 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.05720
Opus 5 $0.00010 $0.02860
Sonnet 5 $0.00004 $0.01144
Haiku 4.5 $0.00002 $0.00572

Measured 3d ago against content hash 5f084f0329b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

generating-dataflow-pipeline 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/pipeline_template.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

loopai/agents/Obtainer/datamixer/assets/generating-dataflow-pipeline/SKILL.md · 431 lines

How it starts

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

DataFlow Pipeline Code Generator

Goal

This skill is used when users provide:

  • Target: What the pipeline should achieve
  • Sample Data File: Path to a JSONL file containing 1-5 representative data samples

The skill must:

  1. Read and analyze the JSONL file at the provided path
  2. Infer data structure, field types, and content characteristics
  3. Determine task type based on file content (document processing, text transformation, multi-field composition)
  4. Select appropriate operators from preferred primitives
  5. Validate field dependencies
  6. Output intermediate operator decision summary
  7. Generate standard DataFlow pipeline code with first_entry_file_name set to the user-provided file path

User Input Format

Users provide:

Target: [Clear task description]
Sample file: [Path to JSONL file, e.g., ./data/input.jsonl]

Important: The sample file is a JSONL file (one JSON object per line), not a JSON array.

Preferred Operator Strategy

Six Core Primitives (high-coverage operators for most data science tasks):

  1. PromptedGenerator - Single-field LLM generation
  2. FormatStrPromptedGenerator - Multi-field template generation
  3. Text2MultiHopQAGenerator - Multi-hop QA pair construction
  4. PromptedFilter - LLM-based quality filtering
  5. GeneralFilter - Rule-based filtering
  6. KBC trio (always used together in order): FileOrURLToMarkdownConverterFlashKBCChunkGeneratorKBCTextCleaner

These are preferred primitives, not fixed workflows. They can be used repeatedly and combined flexibly.

Operator Selection Priority Rule (MANDATORY)

When a specialized operator exists for the task, it MUST be used over generic operators. Do NOT use PromptedGenerator to replicate functionality that a dedicated operator already provides.

Decision table (check in order, use the first match):

Task / Scenario Required Operator Do NOT use
Generate QA pairs from text Text2MultiHopQAGenerator PromptedGenerator with QA prompt
Convert file path / URL to text KBC trio (FileOrURLToMarkdownConverterFlashKBCChunkGeneratorKBCTextCleaner) PromptedGenerator to summarize files
Score / evaluate using multiple fields FormatStrPromptedGenerator + GeneralFilter PromptedFilter (single input_key only)
Filter by deterministic rule on existing fields GeneralFilter PromptedFilter
Generate new content from a single field PromptedGenerator
Generate new content from multiple fields FormatStrPromptedGenerator Multiple PromptedGenerator steps

Read the full file on GitHub · 431 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. 3d ago First seen · 431 lines · 20 tokens per session scan A 5f084f0329b1

Subscribe to this mod's changes

generating-dataflow-pipeline is a skill published in the GitHub repository OpenDCAI/Dataflow-LoopAI (22 stars, last pushed 3d ago), licensed Apache-2.0. It adds 20 tokens to every session and 5,720 once invoked, about $0.0001 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

install-openviking-memory

Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…

volcengine/OpenViking · 191 tokens

llm-wiki

Compile heterogeneous knowledge sources—including documents, notes, web content, transcripts, research materials, and code repositories—into a Karpathy-style, evidence-grounded LLM Wiki with a maintained index; default entity and concept pages; and selective method, comparison, analysis, or reason-requested summary…

volcengine/OpenViking · 90 tokens

data-analysis

Analyze CSV/JSON data with statistics, filtering, and aggregation. Powered by pandas and numpy.

EXboys/skilllite · 22 tokens

enhance-prompt

Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

diodeme/Gold-Band · 41 tokens

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

ECNU-ICALK/AutoSkill · 61 tokens

full-output-enforcement

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

tinhtran24/maestro · 44 tokens