graflow

graflow is a skill for Claude Code from treasure-data/td-skills. It costs 169 tokens per session (3,876 once invoked), scanned A, original, Apache-2.0.

A guide for creating agentic workflows in Graflow, a Python system for connecting automated tasks into a process. It covers sequential and parallel workflow steps and temporary per-task environments.

In plain words
What is it for?
Use it to create, edit, or debug Graflow workflows, agent pipelines, and automated multi-step business processes.
Why use it?
It helps organize multi-step automated work without manually coordinating every step. It also provides patterns for combining tasks that run one after another or at the same time.

Skill for Claude Code

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

Part of the studio-skills plugin — 9 skills shipped together

Good fit Use it to create, edit, or debug Graflow workflows, agent pipelines, and automated multi-step business processes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/treasure-data/td-skills/graflow
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 treasure-data/td-skills --skill graflow
Clone the repo
git clone --depth 1 https://github.com/treasure-data/td-skills

Made for: Claude Code.

Or install studio-skills, the plugin that ships this one along with the rest of its 9 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 graflow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/treasure-data/td-skills/graflow"><img src="https://agentmods.dev/badge/skills/treasure-data/td-skills/graflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,876 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 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.00169 $0.03876
Opus 5.5 $0.00068 $0.01550
Sonnet 5.5 $0.00034 $0.00775
Haiku 4.5 $0.00017 $0.00388

Measured 3mo ago against content hash 0f3bb1699282, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

graflow scanned grade A with 2 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 3mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (templates/cs-health-check.py, templates/hitl-approval.py, templates/parallel-enrichment.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| **Subprocess** (CLI tools) | Call external CLIs directly — faster and more reliable than routing through an agent | `gh`, `tdx`, `curl`, `jq` |

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

The subprocess type is important because spawning an agent session just to run a single CLI command adds significant latency and token cost. If the task is "fetch data from a CLI tool," `subprocess.run()` is the right ch
studio-skills/graflow/SKILL.md · 389 lines

How it starts

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

Graflow Agentic Workflow

Build Python workflow pipelines combining deterministic flow control (branching, loops, parallelism) with AI reasoning (Studio Agent + MCP tools).

Docs: https://graflow.ai/

Task Guide
Build a new workflow Follow the 3-phase process below
Add Studio Agent to a task See Studio Agent Integration
Use CLI tools without agent overhead See Subprocess Tasks
Add branching or loops See Dynamic Control Flow
Add human approval gates See HITL Patterns
Configure triggers and tool permissions See manifest.yml Reference
Browse templates See templates/

When to Use Graflow

Use Case Tool
Multi-step process with branching, parallelism, HITL Graflow
Open-ended AI reasoning (research, analysis) Scheduled Task (TASK.md)
Data pipeline on TD platform TD Workflow (digdag)

Core Concepts

Three Types of Tasks

Every task in a Graflow workflow falls into one of three categories. Choosing the right type for each step is the most important design decision — it affects performance, cost, and reliability.

Type When to Use Example
Deterministic (pure Python) Scoring, filtering, classification, data transforms Categorize items by keyword, compute risk scores
Studio Agent (AI reasoning) Need MCP tools, natural language analysis, content generation Summarize data, draft reports, post to Slack
Subprocess (CLI tools) Call external CLIs directly — faster and more reliable than routing through an agent gh, tdx, curl, jq

The subprocess type is important because spawning an agent session just to run a single CLI command adds significant latency and token cost. If the task is "fetch data from a CLI tool," subprocess.run() is the right choice.

Read the full file on GitHub · 389 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. 3mo ago First seen · 389 lines · 169 tokens per session scan A 0f3bb1699282

Subscribe to this mod's changes

graflow is a skill published in the GitHub repository treasure-data/td-skills (23 stars, last pushed today), licensed Apache-2.0. It adds 169 tokens to every session and 3,876 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

graflow compared with skills from other repositories

graflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
graflowtreasure-data/td-skillsSkill23todayApache-2.0A169Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA44Claude Code
pennylaneK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA74Claude Code
holoscan-install-wheelNVIDIA/skillsSkill4.3kyesterdayApache-2.0A34Claude Code, Codex
python-engineering-guidelinesanywhere-labs/Agents-AnywhereSkill3.9kyesterdayApache-2.0A75Codex
future-self-liteTHU-MAIC/OpenMAICSkill46ktodayMITA20Claude Code, Codex
rocm-kernelshuggingface/kernelsSkill803yesterdayApache-2.0A93Claude Code