squad

squad is a skill for Claude Code, Codex from github/gh-aw. It costs 87 tokens per session (2,669 once invoked), scanned A, a copy of squad-commands, MIT.

A command catalog and interactive menu for Squad, covering installation, teams, issues, plugins, models, costs, sessions, and state.

In plain words
What is it for?
It is for browsing Squad options, opening a specific operation, collecting its arguments, and handling confirmation or cancellation.
Why use it?
It gives users a guided way to find and run Squad operations without memorising the catalog.

Skill for Claude CodeCodex

About the project

GitHub Agentic Workflows is a GitHub CLI extension that lets developers define AI-assisted repository automation in Markdown and run it through GitHub Actions. It is intended for tasks requiring interpretation or reasoning, such as issue triage, pull-request review, CI investigation, documentation maintenance, and dependency analysis. The catalogue entries provide skills and agents for working with these workflows.

github/gh-aw · 5,091 stars · on GitHub

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/github/gh-aw/squad
Any agent
npx skills add github/gh-aw --skill squad
Clone the repo
git clone --depth 1 https://github.com/github/gh-aw

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/github/gh-aw/squad.svg)](https://agentmods.dev/skills/github/gh-aw/squad)
Your own site
<a href="https://agentmods.dev/skills/github/gh-aw/squad"><img src="https://agentmods.dev/badge/skills/github/gh-aw/squad.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,669 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% copy Near-identical to another mod 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 $0.00087 $0.02669
Opus 5 $0.00044 $0.01334
Sonnet 5 $0.00017 $0.00534
Haiku 4.5 $0.00009 $0.00267

Measured yesterday against content hash 18957e096591, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

Origin

This is a copy

88% identical to squad-commands — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.squad/templates/skills/squad/SKILL.md · 300 lines

How it starts

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

When the user triggers this skill (via /squad slash command, "squad commands", "help", "what can squad do", etc.):

  1. Category-level menu first. Present category names as an ask_user choice list:
    📋 Squad Commands — pick a category:
    1. Install & Upgrade
    2. Team Management
    3. Issues & PRs
    4. Plugins & Skills
    5. Model & Cost
    6. Sessions & State
    
  2. Drill-down. After selection, show operation titles in that category as a second ask_user list.
  3. Direct match skips the menu. If the user says "how do I upgrade with state backend," match to the specific entry and go straight to argument collection.
  4. Compact fallback. If ask_user is unavailable, render as a markdown table instead.
  5. Back / Cancel. Include "← Back to categories" in sub-menus. Include "Cancel" in confirmation prompts. Respect "never mind" / "cancel" at any point.

Argument collection: For entries with args, iterate the list sequentially. Use ask_user with choices when choices is provided; free-text prompt otherwise. If the user says "just do it" or "defaults are fine," skip remaining args and use their defaults.

Confirmation template:

⚠️ This will {action-description}.
{what will change}
Proceed? (yes / no)

Install & Upgrade

Upgrade Squad CLI

  • intent: upgrade squad, update squad, install latest version, get new version
  • summary: Upgrade Squad CLI to the latest version for your channel
  • action: shell
  • command: squad upgrade
  • args:
    • state-backend: Which state backend? | choices: {worktree, git-notes, orphan, two-layer} | default: (keep current)
  • confirm: false
  • platform_caveats: Requires terminal. In VS Code, open the integrated terminal and run the command directly.

Initialize Squad

  • intent: set up squad, initialize squad, create team, start squad in this project
  • summary: Scaffold Squad in the current directory (idempotent)
  • action: shell
  • command: squad init
  • args: (none)
  • confirm: false
  • platform_caveats: Requires terminal. Recommend a standalone terminal for best results.

Read the full file on GitHub · 300 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. yesterday First seen · 300 lines · 87 tokens per session scan A 18957e096591

Subscribe to this mod's changes

squad is a skill published in the GitHub repository github/gh-aw (5,091 stars, last pushed yesterday), licensed MIT. It adds 87 tokens to every session and 2,669 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to squad-commands, differing in 20 lines, and is treated as a copy.