Agent skill · Audited from source
Pi Interactive Shell
skill · Dicklesworthstone/pi_agent_rustNOASSERTION licenceAudited 10 Oct 2026 · source 46a2537504c9
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 46a2537504c9 and observed shell access and no hard-coded secrets. What it does: Cheat sheet + workflow for launching interactive coding-agent CLIs (Claude Code, Gemini CLI, Codex CLI, Cursor CLI, and pi itself) via the interactive_shell overlay or headless dispatch. Use for TUI agents and…
Cite
Cite this page
ModelsAtlas. “Pi Interactive Shell (Dicklesworthstone/pi_agent_rust)”. Retrieved 10 Oct 2026. https://modelsatlas.com/skills/dicklesworthstone/pi-interactive-shell
Trust audit
Audit 0.4.1 · source read 10 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellDeclared1 observation
- DependenciesNot pinnedSome versions float
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 2 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 1 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (3)
MEDIUMInventory / provenanceinv.symlink · .beads/beads.jsonl
.beads/beads.jsonl
- Why
- link not followed
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
node-pty, @xterm/headless, @xterm/addon-serialize
- Why
- 3 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · banner.png
banner.png
- Why
- 1184711 bytes not read
- Fix
- —
Audit 0.4.1 · source sha 46a2537504c9 · 10 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherDicklesworthstone GitHub userOwner of the repository this skill is read from
- Source folderDicklesworthstone/pi_agent_rust/tests/ext_conformance/artifacts/npm/pi-interactive-shellThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict46a2537504c9A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Cheat sheet + workflow for launching interactive coding-agent CLIs (Claude Code, Gemini CLI, Codex CLI, Cursor CLI, and pi itself) via the interactive_shell overlay or headless dispatch. Use for TUI agents and…
---
name: interactive-shell
description: Cheat sheet + workflow for launching interactive coding-agent CLIs (Claude Code, Gemini CLI, Codex CLI, Cursor CLI, and pi itself) via the interactive_shell overlay or headless dispatch. Use for TUI agents and long-running processes that need supervision, fire-and-forget delegation, or headless background execution. Regular bash commands should use the bash tool instead.
---
# Interactive Shell (Skill)
Last verified: 2026-01-18
## Foreground vs Background Subagents
Pi has two ways to delegate work to other AI coding agents:
| | Foreground Subagents | Dispatch Subagents | Background Subagents |
|---|---|---|---|
| **Tool** | `interactive_shell` | `interactive_shell` (dispatch) | `subagent` |
| **Visibility** | User sees overlay | User sees overlay (or headless) | Hidden from user |
| **Agent model** | Polls for status | Notified on completion | Full output captured |
| **Default agent** | `pi` (others if user requests) | `pi` (others if user requests) | Pi only |
| **User control** | Can take over anytime | Can take over anytime | No intervention |
| **Best for** | Long tasks needing supervision | Fire-and-forget delegations | Parallel tasks, structured delegation |
**Foreground subagents** run in an overlay where the user watches (and can intervene). Use `interactive_shell` with `mode: "hands-free"` to monitor while receiving periodic updates, or `mode: "dispatch"` to be notified on completion without polling.
**Dispatch subagents** also use `interactive_shell` but with `mode: "dispatch"`. The agent fires the session and moves on. When the session completes, the agent is woken up via `triggerTurn` with the output in context. Add `background: true` for headless execution (no overlay).
**Background subagents** run invisibly via the `subagent` tool. Pi-only, but captures full output and supports parallel execution.
## When to Use Foreground Subagents
Use `interactive_shell` (foreground) when:
- The task is **long-running** and the user should see progress
- The user might want to **intervene or guide** the agent
- You want **hands-free monitoring** with periodic status updates
- You need a **different agent's capabilities** (only if user specifies)
Use `subagent` (background) when:
- You need **parallel execution** of multiple tasks
- You want **full output capture** for processing
- The task is **quick and deterministic**
- User doesn't need to see the work happening
### Default Agent Choice
**Default to `pi`** for foreground subagents unless the user explicitly requests a different agent:
| User says | Agent to use |
|-----------|--------------|
| "Run this in hands-free" | `pi` |
| "Delegate this task" | `pi` |
| "Use Claude to review this" | `claude` |
| "Have Gemini analyze this" | `gemini` |
| "Run aider to fix this" | `aider` |
Pi is the default because it's already available, has the same capabilities, and maintains consistency. Only use Claude, Gemini, Codex, or other agents when the user specifically asks for them.
## Foreground Subagent Modes
### Interactive (default)
User has full control, types directly into the agent.
```typescript
interactive_shell({ command: 'pi' })
```
### Interactive with Initial Prompt
Agent starts working immediately, user supervises.
```typescript
interactive_shell({ command: 'pi "Review this codebase for security issues"' })
```
### Dispatch (Fire-and-Forget) - NON-BLOCKING, NO POLLING
Agent fires a session and moves on. Notified automatically on completion via `triggerTurn`.
```typescript
// Start session - returns immediately, no polling needed
interactive_shell({
command: 'pi "Fix all TypeScript errors in src/"',
mode: "dispatch",
reason: "Fixing TS errors"
})
// Returns: { sessionId: "calm-reef", mode: "dispatch" }
// → Do other work. When session completes, you receive notification with output.
```
Dispatch defaults `autoExitOnQuiet: true`. The agent can still query the sessionId if needed, but doesn't have to.
#### Background Dispatch (Headless)
No overlay opens. Multiple headless dispatches can run concurrently:
```typescript
interactive_shell({
command: 'pi "Fix lint errors"',
mode: "dispatch",
background: true
})
// → No overlay. User can /attach to watch. Agent notified on completion.
```
### Hands-Free (Foreground Subagent) - NON-BLOCKING
Agent works autonomously, **returns immediately** with sessionId. You query for status/output and kill when done.
```typescript
// 1. Start session - returns immediately
interactive_shell({
command: 'pi "Fix all TypeScript errors in src/"',
mode: "hands-free",
reason: "Fixing TS errors"
})
// Returns: { sessionId: "calm-reef", status: "running" }
// 2. Check status and get new output
interactive_shell({ sessionId: "calm-reef" })
// Returns: { status: "running", output: "...", runtime: 30000 }
// 3. When you see task is complete, kill session
interactive_shell({ sessionId: "calm-reef", kill: true })
// Returns: { status: "killed", output: "final output..." }
```
This is the primary pattern for **foreground subagents** - you delegate to pi (or another agent), query for progress, and decide when the task is done.
## Hands-Free Workflow
### Starting a Session
```typescript
const result = interactive_shell({
command: 'codex "Review this codebase"',
mode: "hands-free"
})
// result.details.sessionId = "calm-reef"
// result.details.status = "running"
```
The user sees the overlay immediately. You get control back to continue working.
### Querying Status
```typescript
interactive_shell({ sessionId: "calm-reef" })
```
Returns:
- `status`: "running" | "user-takeover" | "exited" | "killed" | "backgrounded"
- `output`: Last 20 lines of rendered terminal (clean, no TUI animation noise)
- `runtime`: Time elapsed in ms
**Rate limited:** Queries are limited to once every 60 seconds. If you query too soon, the tool will automatically wait until the limit expires before returning. The user is watching the overlay in real-time - yoExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 46a2537
git clone https://github.com/Dicklesworthstone/pi_agent_rust git -C pi_agent_rust checkout 46a2537504c9
The author documents no install command, so this uses the repository directly. Our verdict covers commit 46a2537504c9 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
| Codex | Mentioned in its text, not tested | Skills for Codex · About Codex |
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
| Gemini CLI | Mentioned in its text, not tested | Skills for Gemini CLI · About Gemini CLI |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
46a2537504c9
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/dicklesworthstone/pi-interactive-shell/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
Dicklesworthstone/pi_agent_rust
Austrian public transport (VOR AnachB) for all of Austria. Query real-time departures, search stations/stops, plan routes between locations, and check service disruptions. Use when asking about Austrian trains, buses,…
Dicklesworthstone/pi_agent_rust
Austrian public transport (VOR AnachB) for all of Austria. Query real-time departures, search stations/stops, plan routes between locations, and check service disruptions. Use when asking about Austrian trains, buses,…
Dicklesworthstone/pi_agent_rust
Generate approval workflow generator operations. Auto-activating skill for Business Automation. Triggers on: approval workflow generator, approval workflow generator Part of the Business Automation skill category. Use…
Dicklesworthstone/pi_agent_rust
Create asana task creator operations. Auto-activating skill for Enterprise Workflows. Triggers on: asana task creator, asana task creator Part of the Enterprise Workflows skill category. Use when working with asana task…
Dicklesworthstone/pi_agent_rust
Audit Trail Helper - Auto-activating skill for Enterprise Workflows. Triggers on: audit trail helper, audit trail helper Part of the Enterprise Workflows skill category. Use when analyzing or auditing audit trail…
Dicklesworthstone/pi_agent_rust
Execute backlog grooming assistant operations. Auto-activating skill for Enterprise Workflows. Triggers on: backlog grooming assistant, backlog grooming assistant Part of the Enterprise Workflows skill category. Use…
Add this badge to your README
[](https://modelsatlas.com/skills/dicklesworthstone/pi-interactive-shell/)
<a href="https://modelsatlas.com/skills/dicklesworthstone/pi-interactive-shell/"><img src="https://modelsatlas.com/skills/dicklesworthstone/pi-interactive-shell/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Pi Interactive Shell
What does the Pi Interactive Shell skill do?
Is Pi Interactive Shell safe to install?
What can Pi Interactive Shell access on my machine?
Which assistants does Pi Interactive Shell work with?
How current is this page?
Sources
- github.com/Dicklesworthstone/pi_agent_rust/tree/main/tests/ext_c — the audited source at commit 46a2537504c9 and every finding aboveObserved · 10 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Pi Interactive Shell skill do?
- Is Pi Interactive Shell safe to install?
- What can Pi Interactive Shell access on my machine?