skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
robsonrung/rar-skills53 installs

pi-runner

Run a prompt on a gateway model (Kimi, GLM, Qwen, Gemma, Minimax, Mistral, DeepSeek) through the local Pi CLI. Use when the host cannot run the selected model natively, or the user asks for Pi.

How do I install this agent skill?

npx skills add https://github.com/robsonrung/rar-skills --skill pi-runner
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill is a wrapper for the pi coding agent CLI, designed to route prompts to various AI models through the OpenRouter gateway. It implements a verification mechanism using a Node.js hook to enforce request policies and model routing. Security concerns are low, primarily involving the inherent risks of command execution and potential indirect prompt injection via unsanitized input files.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Pi Runner

In T3 Code, run all model calls as internal subagents under shared/references/host-model-execution.md. If the approved route is unavailable, report it. Do not execute this runner in T3 Code.

Run one prompt through the local pi CLI, which reaches models behind a gateway such as OpenRouter. A host that offers the model natively (a T3 Code Pi provider) runs it there instead.

Run

python3 <skill-dir>/scripts/run_pi.py "<prompt>" --seat <seat> --thinking <effort> \
  --session <role-session-file> --json
  • --seat pins a named seat's model from shared/model-routing.json; for any other model, pass --provider <gateway> --model <model>. Omit --thinking for a model without selectable effort.
  • Seats marked zero-retention in shared/model-routing.json get strict privacy routing automatically; --provider-routing '<json>' sets it explicitly.
  • --no-tools answers from the prompt alone; --restrict-tools reads files only and is the default for analysis roles; --role implementer, or no role, gets full tools.
  • --prompt-file <file> replaces the inline prompt for a long brief; --working-dir <path> sets the repository.
  • Credentials come from OPENROUTER_API_KEY or Pi's auth store; missing ones return status: auth_missing.
  • --background returns a job id for shared/scripts/runner_jobs.py (status, wait-many, result, cancel).
  • --help lists the rest, including browser work (--tool-policy browser) and images (--image-file).

Continue

Pi returns no session id: the file passed to --session is the role's context. Give every role its own file from its first call, and pass that same file on each later turn.

Result

Read agent_message. This runner never falls back, which keeps seat fidelity: the answer comes from this seat, or success is false. On failure, report status and the telling stderr lines, and leave the seat unanswered.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/robsonrung/rar-skills/pi-runner">View pi-runner on skillZs</a>