squad

squad is a skill for Claude Code, Codex from Peter-N91/hve-squad. It costs 69 tokens per session (910 once invoked), scanned A, original, MIT.

An operating procedure for a squad coordinator that routes requests to a reusable group of specialized coding agents and records their work.

In plain words
What is it for?
Running, initializing, and maintaining a squad with agent routing, shared state, decision records, history, research, implementation, review, and writing roles.
Why use it?
It gives the group a repeatable way to initialize its members, run several agents in parallel, track decisions, and combine their results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

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.

agentmods
npx agentmods add skills/peter-n91/hve-squad/squad
Any agent
npx skills add Peter-N91/hve-squad --skill squad
Clone the repo
git clone --depth 1 https://github.com/Peter-N91/hve-squad

Made for: Claude Code, Codex.

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 squad

README.md
[![agentmods](https://agentmods.dev/badge/skills/peter-n91/hve-squad/squad.svg)](https://agentmods.dev/skills/peter-n91/hve-squad/squad)
Your own site
<a href="https://agentmods.dev/skills/peter-n91/hve-squad/squad"><img src="https://agentmods.dev/badge/skills/peter-n91/hve-squad/squad.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 910 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00069 $0.00910
Opus 5 $0.00034 $0.00455
Sonnet 5 $0.00014 $0.00182
Haiku 4.5 $0.00007 $0.00091

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

Security

Grade A, and why

squad 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 6d 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.

squad-src/.github/skills/squad/SKILL.md · 50 lines

How it starts

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

Squad Operating Procedure

Overview

The squad is a user-invocable Squad Coordinator that dispatches a reusable cast of deployed HVE Core agents in parallel and persists roster, routing, decisions, and per-agent history under .copilot-tracking/squad/. There is no separate runtime: every squad verb is a thin convention over an existing HVE Core mechanism.

This skill packages the coordinator's operating procedure and the seed templates it stamps out on first run. The procedure lives in the reference files listed under Procedure below; the eleven companion instruction files that auto-apply when squad state is touched are catalogued in references/00-index.md.

Prerequisites

  • A runSubagent or task tool is available so the coordinator can dispatch user-invocable: false agents.
  • The deployed HVE Core cast exists (System Architecture Reviewer, Security Planner, RAI Planner, UX UI Designer, Finding Deep Verifier, PowerPoint Subagent) plus the squad-owned charters (Squad Scribe, Squad Researcher, Squad Lead, Squad Implementor, Squad Reviewer, Squad Challenger, Squad Technical Writer, Squad Prompt Engineer).
  • Every roster Primary resolves to an installed agent that does not set disable-model-invocation: true; the coordinator's Step 1b roster-resolution precheck confirms this before any dispatch.
  • The memory tool is available for durable per-agent notes under /memories/repo/.

Procedure

The coordinator runs four stages each turn: init, route, decide, and handoff. Only the coordinator initiates state changes, and only the Squad Scribe performs the writes.

The procedure is split across the reference files below so that each agent loads only what its role needs. Read references/00-index.md first, then read the files your Skill Reference Contract names — not all of them.

Reference Covers
00-index.md Which file to read for which job, and the companion instruction files
profiles-and-packs.md Squad profiles and add-on packs
operating-procedure.md Init, Route, ledger reconciliation, Decide, Handoff, tool-to-mechanism mapping
gates-and-modes.md Discovery, intake, council, implementation gates; autopilot and autonomy modes
federation.md Federation layout, detection precedence, and federation modes
scribe-procedure.md The Squad Scribe write procedure — Scribe only
entry-schemas.md Recurring write shapes: decision and verdict entries, history, state.json
seed-templates.md First-run state templates: team.md and routing.md
consumption.md Consumption ledger templates and the cost estimator
federation-templates.md Federation-root seed templates

Read the full file on GitHub · 50 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. 6d ago First seen · 50 lines · 69 tokens per session scan A ecb7d91566ec

Subscribe to this mod's changes

squad is a skill published in the GitHub repository Peter-N91/hve-squad (11 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 910 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.

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

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

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens