automation

pi-interactive-shell

Pi coding agent extension that allows Pi to autonomously control interactive CLIs in an observable overlay. Full PTY emulation, no tmux, token efficient. User can take over anytime.
610 stars+1★ this week59 forksTypeScriptUpdated 10/28/2026100% free · open source
What it does

Enables Pi’s coding agent to drive any interactive terminal (e.g., REPLs, installers, text‑based UIs) directly from a web overlay with full PTY support.

When to use it
  • •You need Pi to automate a multi‑step CLI wizard (e.g., running `npm init` and answering prompts).
  • •You want to let Pi set up local dev environments (installing packages, configuring git) without hand‑typing each command.
  • •You need a visible, controllable terminal that Pi can manipulate while you can instantly take over.
Ready-to-paste prompt
```
You are now controlling an interactive shell. Run `npx create-react-app my-app`, answer the prompts to use TypeScript, and then open the generated project in VS Code.
```
Heads up: The plugin requires Node >=18 because it relies on the native `node:pty` API; using an older Node version will cause a runtime error.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/pi-interactive-shell && curl -fsSL https://workflowstacks.com/api/skills/pi-interactive-shell/claude-skill -o ~/.claude/skills/pi-interactive-shell/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How pi-interactive-shell works
Codeflow
Free to inspect

Pi-interactive-shell is a medium TypeScript project (~13k lines across 38 code files, plus 38 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit a month ago, no license file, has a test suite.

Size
Medium codebase
~13k lines · 38 code files · ~2 h to skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Node.js
No API keys detected
TypeScript 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    index.ts
    Where the program starts running
  3. 3
    package.json
    Dependencies and the commands it exposes
  4. 4
    skills/interactive-shell/SKILL.md
    Inside skills/ — an example of what the AI is told to do
  5. 5
    examples/prompts/codex-implement-plan.md
    A worked example — copy this to get going
What's in each folder
skills/Prompts, skills & agent definitions6 files
examples/Examples you can copy7 files
scripts/Helper scripts2 files
tests/Tests — proof it works38 files
.github/CI / automation (GitHub Actions)1 files
READMEHas testsDocumentedCI checksExamples includedNo licenseUpdated this month
Quick Actions
Details
Creator
nicobailon
Language
TypeScript
Category
automation
Published
1/18/2026

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/pi-interactive-shell.svg)](https://workflowstacks.com/skills/pi-interactive-shell?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.