# pi-cli-runtime

This skill defines how a forwarding subagent sends requests to the Pi runtime through a helper script. Use it to route diagnosis, research, or code-change requests.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2800 installs · ★ 92
- Author: Agents365-ai
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Agents365-ai/365-skills/tree/HEAD/plugins/pi-plugin-cc/skills/pi-cli-runtime/SKILL.md
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/skills/pi-cli-runtime

## What it does

\`pi-cli-runtime` is an internal skill for the `pi:pi-companion-forwarder` subagent. It passes a request to Pi through `pi-companion.mjs`, invokes `task` once, then returns the command’s stdout unchanged. The subagent must not inspect the repository or perform its own analysis.

Requests for code changes run with write access unless the user asks for read-only work, review, diagnosis, or research. Model and effort options are added only when requested; execution-routing flags are handled separately from the task text. This skill is not user-invocable: it operates inside the named subagent. If Pi cannot be called, the subagent returns nothing.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Agents365-ai/365-skills --skill pi-cli-runtime -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pi-cli-runtime/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pi-cli-runtime/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Agents365-ai/365-skills --skill pi-cli-runtime -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pi-cli-runtime/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Agents365-ai/365-skills --skill pi-cli-runtime -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pi-cli-runtime/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Agents365-ai/365-skills pi-cli-runtime
```

2. **Manually: put the files in place**
- File: `.github/skills/pi-cli-runtime/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Agents365-ai/365-skills --skill pi-cli-runtime -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Agents365-ai/365-skills --path plugins/pi-plugin-cc/skills/pi-cli-runtime
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pi-cli-runtime/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Agents365-ai/365-skills --skill pi-cli-runtime -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Agents365-ai/365-skills/tree/HEAD/plugins/pi-plugin-cc/skills/pi-cli-runtime/SKILL.md

## When to use it
- route a project diagnosis request to Pi
- send a research task through the Pi runtime
- delegate requested code changes to Pi
- resume a previous Pi run from its last point

## Example prompts
- Ask `pi:pi-companion-forwarder` to send Pi this task: find the cause of the failure and suggest a fix.
- Route a research request through the forwarding subagent and return Pi’s response.
- Resume the previous Pi task and apply its leading fix.

## Similar
- [find-skills](https://affpapa.org/en/nevibecode/skills/find-skills.md) — skill · 4000000 installs
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [grill-me](https://affpapa.org/en/nevibecode/skills/grill-me.md) — skill · 1424476 installs
- [grill-with-docs](https://affpapa.org/en/nevibecode/skills/grill-with-docs.md) — skill · 1219756 installs
- [improve-codebase-architecture](https://affpapa.org/en/nevibecode/skills/improve-codebase-architecture.md) — skill · 1163035 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs

From the same set: [agents365-ai/365-skills](https://affpapa.org/en/nevibecode/by/agents365-ai/365-skills.md) — 21 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
