Skip to content
Back to skills

Swarm Pi Configure

ASecurity

Configure Pi providers, credentials, models, role routing, and shared project policy in the guided local setup. Use for first setup, recovery, provider or model changes, or full reconfiguration; use swarm-pi-project when provider connections must stay unchanged.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentsshellnodetestinggit

Works with

  • terminal

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add JiaWeiXie/swarm-pi-code-plugin --skill swarm-pi-configure --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Swarm Pi Configure?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Swarm Pi Configure
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiaweixie-swarm-pi-configure/badge)](https://www.skillsdirectory.com/skills/jiaweixie-swarm-pi-configure)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: swarm-pi-configure
description: Configure Pi providers, credentials, models, role routing, and shared project policy in the guided local setup. Use for first setup, recovery, provider or model changes, or full reconfiguration; use swarm-pi-project when provider connections must stay unchanged.
compatibility: Requires Node.js 22.19+, local shell command execution, and first-run npm registry access with a writable plugin directory; mutation workflows also require Git.
---

# Configure Swarm Pi Code Plugin

Follow the [Skill Control Loop](../../references/skill-control-loop.md) and read
the [Configuration Addendum](../../references/host-protocol-configuration.md).

Route arguments before opening the browser:

- For `--reset`, run `$RUNNER init --host "$HOST" --reset --json`, return the result, and stop. Never reset Pi user credentials.
- When the arguments are exactly `--json`, run `$RUNNER init --host "$HOST" --json`, return the storage status, and stop.
- Otherwise continue with guided setup. Pass `--no-open` only when supplied exactly; treat `--reconfigure` as editing current values without deleting Job history.

1. Run `$RUNNER status --json`. When `workspace.git` is false, offer only
   `git init` at the reported root. Approval requires no non-terminal Jobs; the
   result must be Git-backed, with project files, identity, index, and history
   unchanged. Migration conflict or an active-job block preserves both paths and
   stops setup.
2. Start `$RUNNER configure --host "$HOST"`, adding `--continuation <id>` only
   for recovery. A save-time `EPERM` under `.git/swarm-pi-code-plugin/` triggers
   the [State storage write boundary](../../references/host-protocol.md#state-storage-write-boundary):
   preserve the draft, obtain Host approval, relaunch outside the outer sandbox,
   and provide the new loopback URL.
3. Keep setup active through connections, protocol, subscription OAuth, model
   discovery and verification, roles, execution safety, Decision Mode, Host
   Assistance, Discovery gates, context budget, Advisor, doctrine metadata,
   per-task execution limits, probe recovery, testing preference, workspace,
   and review. Credentials stay inside the setup UI.
   ChatGPT Plus/Pro is the separate `openai-codex` connection.
4. After Save, run `$RUNNER doctor --smoke-test --json`,
   `$RUNNER roles list --json`, and `$RUNNER status --json`; resume a
   continuation exactly once when present.
5. Complete only when the smoke test and role routing are reported together with
   readiness, `providerState`, configuration directory, model file, state file,
   and migration status.

Files in this skill

  • SKILL.md2.6 KB
  • agents/openai.yaml214 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.