swarm-pi-configure

swarm-pi-configure is a skill for Claude Code, Codex from JiaWeiXie/swarm-pi-code-plugin. It costs 57 tokens per session (582 once invoked), scanned A, original, MIT.

A guided setup tool for configuring Swarm Pi, including service providers, login details, AI models, task roles, and shared project rules.

In plain words
What is it for?
Use it for first-time setup, recovery, changing providers or models, or rebuilding the full configuration.
Why use it?
It helps set up or repair these settings in one place while protecting existing credentials, job history, and project files.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Codex.

Part of the swarm-pi-code-plugin plugin — 10 skills, 2 agents, 1 hook shipped together

Good fit Use it for first-time setup, recovery, changing providers or models, or rebuilding the full configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiaweixie/swarm-pi-code-plugin/swarm-pi-configure
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JiaWeiXie/swarm-pi-code-plugin --skill swarm-pi-configure
Clone the repo
git clone --depth 1 https://github.com/JiaWeiXie/swarm-pi-code-plugin

Made for: Claude Code, Codex.

Or install swarm-pi-code-plugin, the plugin that ships this one along with the rest of its 10 skills, 2 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for swarm-pi-configure

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiaweixie/swarm-pi-code-plugin/swarm-pi-configure.svg)](https://agentmods.dev/skills/jiaweixie/swarm-pi-code-plugin/swarm-pi-configure)
Your own site
<a href="https://agentmods.dev/skills/jiaweixie/swarm-pi-code-plugin/swarm-pi-configure"><img src="https://agentmods.dev/badge/skills/jiaweixie/swarm-pi-code-plugin/swarm-pi-configure.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 582 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00582
Opus 5 $0.00028 $0.00291
Sonnet 5 $0.00011 $0.00116
Haiku 4.5 $0.00006 $0.00058

Measured 8d ago against content hash 7a3d1e0dcc30, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

swarm-pi-configure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/swarm-pi-code-plugin/skills/swarm-pi-configure/SKILL.md · 40 lines

What it actually says

Configure Swarm Pi Code Plugin

Follow the Skill Control Loop and read the Configuration Addendum.

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: 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

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 40 lines · 57 tokens per session scan A 7a3d1e0dcc30

Subscribe to this mod's changes

swarm-pi-configure is a skill published in the GitHub repository JiaWeiXie/swarm-pi-code-plugin (2 stars, last pushed 4d ago), licensed MIT. It adds 57 tokens to every session and 582 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.