Agent skill

Piflow Skill Generator

by cas-bigdatalab in cas-bigdatalab/piflow

PiFlow 技能生成器。当用户完成了一次完整并成功的数据处理任务时调用,根据当前 skills/generated 的本地约定和 references/piflowskilltemplate.md 通用模板创建、更新或校验 PiFlow-compatible skill,包括 UTF-8 编码的 SKILL.md、DAG 可读的…

No licenceAuto-check passedAgent Workflows

Install Piflow Skill Generator

skills CLI
$ npx skills add cas-bigdatalab/piflow --skill piflow-skill-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cas-bigdatalab/piflow piflow-skill-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cas-bigdatalab/piflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workspace/skills/piflow-skill-generator .claude/skills/piflow-skill-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
piflow-skill-generator
GitHub stars
541
Token cost
~3.6k tokens
SKILL.md length
558 words
Files
17 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

PiFlow 技能生成器。当用户完成了一次完整并成功的数据处理任务时调用,根据当前 skills/generated 的本地约定和 references/piflowskilltemplate.md 通用模板创建、更新或校验 PiFlow-compatible skill,包括 UTF-8 编码的 SKILL.md、DAG 可读的…

  • Works in 3 steps: 手动生成链路 → 回调式沉淀链路 → 生成后改写链路
  • Tasks that involve Skill authoring
  • SKILL.md covers 核心规则, 路径规则, PiFlow 技能结构 and 生成流程, plus 7 more sections
  • Runs Python scripts from its folder; calls python

What it does

Piflow Skill Generator is an agent skill from cas-bigdatalab/piflow. PiFlow 技能生成器。当用户完成了一次完整并成功的数据处理任务时调用,根据当前 skills/generated 的本地约定和 references/piflowskilltemplate.md 通用模板创建、更新或校验 PiFlow-compatible skill,包括 UTF-8 编码的 SKILL.md、DAG 可读的 inputparams/outputparams、version/tag 元数据、skill.json、scripts/references/assets 资源目录,以及本地校验脚本。仅在用户明确要求生成或保存 skill,或某次数据处理任务已经完成并需要把已验证成功的操作流程沉淀为 skill 时使用;默认不要因为“可能需要 skill”或“当前能力不足”而优先触发此 skill。

Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 19 other files, including scripts, reference files and assets (for example `references/piflow_skill_template.md`, `references/rewrite_followup_internal.md` and `scripts/example_flow_summary.json`).

It sits in Agent Workflows, covering Skill authoring. The repository describes itself as: πflow is a big data flow engine with spark support.

When your agent uses it

  • Tasks that involve Skill authoring

Example prompts

  • “可能需要 skill”
  • “当前能力不足”
  • “/piflow-skill-generator”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): process

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 手动生成链路
  2. 回调式沉淀链路
  3. 生成后改写链路

What it can do on your machine

Read from SKILL.md and the folder at commit ad8d010. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • process

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 12 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Piflow Skill Generator loads about 3.6k tokens when it runs, and up to ~6.2k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 558 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~3.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 558 words (~3,625 tokens).

name
piflow-skill-generator
allowed-tools
process
name_zh
PiFlow 算子生成器
version
1.1.2
tag
AI处理
publisher
COMMUNITY

Read the full SKILL.md on GitHub

Files

SKILL.md and 16 other files (scripts, references, assets) in workspace/skills/piflow-skill-generator of cas-bigdatalab/piflow.

  • SKILL.md
  • assets/icon.png
  • references/piflow_skill_template.md
  • references/rewrite_followup_internal.md
  • scripts/example_flow_summary.json
  • scripts/example_spec.json
  • scripts/generate_piflow_skill.py
  • scripts/generate_skill_files.py
  • scripts/register_skill_artifacts.py
  • scripts/restore_flow_to_spec.py
  • scripts/rewrite_piflow_skill.py
  • scripts/test_generate_followup.py
  • scripts/test_generate_skill_files.py
  • scripts/test_restore_flow_spec.py
  • scripts/test_rewrite_flow_spec.py
  • scripts/validate_piflow_skill.py
  • skill.json

Open the folder on GitHubat commit ad8d010

Compare with similar skills

Piflow Skill Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Piflow Skill Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Piflow Skill Generator this skillcas-bigdatalab/piflow541—~3.6kAutomated safety check: PassNone
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official38k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official38k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    66k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed

Categories

Questions about Piflow Skill Generator

What does Piflow Skill Generator do?

PiFlow 技能生成器。当用户完成了一次完整并成功的数据处理任务时调用,根据当前 skills/generated 的本地约定和 references/piflowskilltemplate.md 通用模板创建、更新或校验 PiFlow-compatible skill,包括 UTF-8 编码的 SKILL.md、DAG 可读的…. Piflow Skill Generator is an agent skill from cas-bigdatalab/piflow.

When should I use Piflow Skill Generator?

Piflow Skill Generator fits situations like: tasks that involve Skill authoring.

How do I install Piflow Skill Generator in Claude Code?

Run `npx skills add cas-bigdatalab/piflow --skill piflow-skill-generator -a claude-code`. Or copy the skill folder (workspace/skills/piflow-skill-generator in cas-bigdatalab/piflow) into .claude/skills/piflow-skill-generator in your project. Claude Code loads it when a task matches its description.

How do I install Piflow Skill Generator in Codex?

Run `npx skills add cas-bigdatalab/piflow --skill piflow-skill-generator -a codex`. Or copy the skill folder (workspace/skills/piflow-skill-generator in cas-bigdatalab/piflow) into .agents/skills/piflow-skill-generator in your project. Codex loads it when a task matches its description.

Can I use Piflow Skill Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cas-bigdatalab/piflow --skill piflow-skill-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/piflow-skill-generator, .gemini/skills/piflow-skill-generator, .github/skills/piflow-skill-generator and .opencode/skills/piflow-skill-generator in your project.

What does Piflow Skill Generator need to run?

Going by SKILL.md and its folder, Piflow Skill Generator needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: process.

Does Piflow Skill Generator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Piflow Skill Generator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Piflow Skill Generator use?

No licence was found for Piflow Skill Generator or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Piflow Skill Generator use?

About 3.6k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.6k tokens, read only when the agent opens those files.

What are the alternatives to Piflow Skill Generator?

Skills that share tags, products or a category with Piflow Skill Generator: Skill Creator (Azure/azqr, 796 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Piflow Skill Generator?

cas-bigdatalab (a GitHub organization) maintains it in cas-bigdatalab/piflow, which has 541 GitHub stars. The repository was last updated on September 22, 2026.

Source: cas-bigdatalab/piflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.