transform-workflow-to-pi

Convert Claude Code workflows into pi agent-compatible format.

103|1|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/blueif16/PiFlow --skill transform-workflow-to-pi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: transform-workflow-to-pi
Source: https://github.com/blueif16/PiFlow/tree/main/.claude/worktrees/runscope-wiring
Command: npx skills add https://github.com/blueif16/PiFlow --skill transform-workflow-to-pi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pi runner, and includes scripts (resource) components.

What problem does it solve?

This Skill transforms Claude Code workflows into a format that can be executed on a fleet of pi agents, providing a more efficient and scalable way to run workflows without rewriting them.

Core Features & Use Cases

  • Workflow Transformation: Converts Claude Code workflows into a format compatible with pi agents.
  • Efficient Execution: Enables the execution of workflows on a pi agent fleet, leveraging non-Claude models for lower cost and higher performance.
  • Seamless Integration: Maintains the same workflow logic and outputs, ensuring a consistent experience across different execution environments.
  • Use Case: Suppose you have a complex workflow that you've proven on Claude Code and now want to run it at scale. This Skill allows you to transform the workflow and run it on a pi agent fleet without any changes to the workflow logic.

Quick Start

Run the following command to transform your Claude Code workflow into a format compatible with pi agents:

node pi-runner/extract.mjs workflow.js

Frequently Asked Questions about transform-workflow-to-pi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Claude Code workflows on pi agents without rewriting them?

To run Claude Code workflows on pi agents, this Skill transforms existing workflow definitions into a compatible format, preserving the original logic for execution on a pi agent fleet.

What is workflow transformation for pi agents?

Workflow transformation for pi agents is the process of converting Claude Code workflow definitions into a compatible format, enabling execution on non-Claude models for lower cost and higher performance.

Do I need pi runner to execute Claude Code workflows on a pi agent fleet?

Yes, you need pi runner to process and translate the Claude Code workflow definitions into the format required for execution on a pi agent fleet.

How do I convert a workflow.js file for pi runner execution?

To convert a workflow.js file for pi runner execution, run the command `node pi-runner/extract.mjs workflow.js` to transform the Claude Code workflow into a pi agent compatible format.

Does transforming Claude Code workflows change the original workflow logic?

No, transforming Claude Code workflows maintains the same workflow logic and outputs, ensuring a consistent experience and seamless integration across different execution environments.

Why use pi agents for workflow automation instead of Claude Code?

Use pi agents for workflow automation to leverage non-Claude models, providing lower cost and higher performance when running proven workflows at scale.