agent-swarm-protocol: Skill for Claude Code

.claude/skills/swarm_install/SKILL.md

swarm_install is a skill for Claude Code from finml-sage/agent-swarm-protocol. It costs 0 tokens per session (955 once invoked), scanned B, original, MIT.

An installation guide for the Agent Swarm Protocol, a system for running multiple software agents together. It explains how to install the protocol and prepare a server with Python, a domain, TLS encryption, and network access.

In plain words
What is it for?
Use it to clone and install the protocol, create its Python environment, and prepare a bare server or a host behind a reverse proxy such as nginx or Caddy.
Why use it?
It collects the setup requirements and deployment checks needed before the protocol can run on a server.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is finml-sage/agent-swarm-protocol's own configuration. It tells Claude Code how to work on agent-swarm-protocol itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-swarm-protocol configures →

Reuse

Borrowing it

Nothing to install: this file belongs to finml-sage/agent-swarm-protocol. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/finml-sage/agent-swarm-protocol/main/.claude/skills/swarm_install/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/finml-sage/agent-swarm-protocol

Made for: Claude Code.

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_install

README.md
[![agentmods](https://agentmods.dev/badge/skills/finml-sage/agent-swarm-protocol/swarm_install/github.svg)](https://agentmods.dev/skills/finml-sage/agent-swarm-protocol/swarm_install)
Your own site
<a href="https://agentmods.dev/skills/finml-sage/agent-swarm-protocol/swarm_install"><img src="https://agentmods.dev/badge/skills/finml-sage/agent-swarm-protocol/swarm_install/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for swarm_install

Your own site · 80×15
<a href="https://agentmods.dev/skills/finml-sage/agent-swarm-protocol/swarm_install"><img src="https://agentmods.dev/badge/skills/finml-sage/agent-swarm-protocol/swarm_install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 955 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00000 $0.00955
Opus 5 $0.00000 $0.00477
Sonnet 5 $0.00000 $0.00191
Haiku 4.5 $0.00000 $0.00096

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

Security

Grade B, and why

swarm_install scanned grade B with 2 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 9d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install python3.12-venv

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl https://your-domain.com/swarm/health
.claude/skills/swarm_install/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Swarm Protocol Installation

Installation and setup guide for the Agent Swarm Protocol. Copy this file into your project at .claude/skills/swarm_install/SKILL.md to get started.

Protocol repo: https://github.com/finml-sage/agent-swarm-protocol Protocol version: 0.1.0


Setup Guidance

Prerequisites

Requirement Specification
Python 3.10+
Domain FQDN with DNS pointing to your server
TLS Valid certificate (Let's Encrypt recommended)
Ports 80 (HTTP/ACME), 443 (HTTPS + QUIC/UDP)
Firewall Allow 22/tcp, 80/tcp, 443/tcp, 443/udp

Environment Detection

Determine your deployment style before proceeding:

Signal Deployment
Bare VM with Python installed Host with systemd
Existing reverse proxy (nginx, Angie, caddy) Host behind proxy

Installation

# Clone the protocol repo
git clone https://github.com/finml-sage/agent-swarm-protocol.git
cd agent-swarm-protocol

# Create venv and install
python3 -m venv venv
source venv/bin/activate
pip install -e .

On Ubuntu/Debian VMs, you may need python3.12-venv (or your version's venv package):

sudo apt install python3.12-venv

Agent Initialization

Generate your Ed25519 keypair and create local configuration:

swarm init --agent-id my-agent --endpoint https://my-domain.com/swarm

This creates:

  • ~/.swarm/config.yaml -- agent ID and endpoint
  • ~/.swarm/agent.key -- Ed25519 private key (chmod 600)
  • ~/.swarm/swarm.db -- SQLite state database

Environment Variables

Variable Description
AGENT_ID Your unique agent identifier
AGENT_ENDPOINT Public HTTPS endpoint URL (e.g. https://agent.example.com/swarm)
AGENT_PUBLIC_KEY Base64-encoded Ed25519 public key

Optional wake system variables:

Variable Description Default
DB_PATH SQLite database path data/swarm.db
WAKE_ENABLED Enable wake trigger (outbound POST on message arrival) true
WAKE_ENDPOINT URL to POST wake notifications to (required when enabled) --
WAKE_TIMEOUT HTTP timeout for wake POSTs in seconds 5.0
WAKE_EP_ENABLED Enable /api/wake endpoint (inbound POST receiver) true
WAKE_EP_INVOKE_METHOD Agent invocation method: tmux, noop noop
WAKE_EP_TMUX_TARGET tmux session:window.pane target (required for tmux) --
WAKE_EP_SECRET Shared secret for X-Wake-Secret header auth empty
WAKE_EP_SESSION_FILE Path to session state JSON data/session.json
WAKE_EP_SESSION_TIMEOUT Minutes before session considered expired 30

Read the full file on GitHub · 111 lines

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. 9d ago First seen · 111 lines · 0 tokens per session scan B bbd89124c342

Subscribe to this mod's changes

swarm_install is a skill published in the GitHub repository finml-sage/agent-swarm-protocol (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 955 tokens. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens