squad-commands

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

A categorized menu of Squad operations that helps users find commands and follow the required prompts for each one.

In plain words
What is it for?
It is for discovering Squad commands, choosing an operation, entering its options, and confirming or cancelling it.
Why use it?
It removes the need to remember Squad’s command names, categories, and required arguments.

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-commands
Any agent
npx skills add github/gh-aw --skill squad-commands
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-commands

README.md
[![agentmods](https://agentmods.dev/badge/skills/github/gh-aw/squad-commands.svg)](https://agentmods.dev/skills/github/gh-aw/squad-commands)
Your own site
<a href="https://agentmods.dev/skills/github/gh-aw/squad-commands"><img src="https://agentmods.dev/badge/skills/github/gh-aw/squad-commands.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,641 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 $0.00034 $0.02641
Opus 5 $0.00017 $0.01321
Sonnet 5 $0.00007 $0.00528
Haiku 4.5 $0.00003 $0.00264

Measured yesterday against content hash 4e7ea9b948ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

squad-commands 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

Copies of this mod

7 near-identical copies found in the catalogue:

.squad/templates/skills/squad-commands/SKILL.md · 304 lines

How it starts

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

When the user triggers this skill ("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 · 304 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 · 304 lines · 34 tokens per session scan A 4e7ea9b948ba

Subscribe to this mod's changes

squad-commands is a skill published in the GitHub repository github/gh-aw (5,091 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 2,641 once invoked, about $0.0002 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-09-03.