squad-version-check
Skill1.5k starsChanged 5 months agoMITView on GitHub
Internals of how @bradygaster/squad-cli stamps its version, how `squad upgrade` works (what it preserves vs overwrites), and how to probe the npm registry for the latest version from a coordinator prompt.
- Reads credentials
- Installs packages
7 other projects use a version of this, 6 of them edited.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- github/squadword for word, first seen Nov 8, 2026
- microsoft/github-vteam-industry-demosedited, first seen Oct 25, 2026
- kubefleet-dev/kubefleetedited, first seen Oct 8, 2026
- microsoft/fsi-banking-payments-dispute-resolution-acceleratoredited, first seen Aug 14, 2026
- github/gh-awedited, first seen May 27, 2026
- Azure/apiops-cliedited, first seen Apr 27, 2026
Who's talking about microsoft/waza
- @matsuu.bsky.social“Go実装なんだな。”Bluesky · May 10, 2026 · 4 likes
- postfinance/devcontainer-features“Create a feature that installs waza (https://github.com/microsoft/waza)”GitHub · Aug 14, 2026 · 1 reactions
- @awakecoding.com“The tessl command-line tool uses server-side evals for the agent skills, so you don't have to figure out …”Bluesky · May 15, 2026 · 1 likes
- Azure/azure-sdk-tools“[Discussion][Benchmark] Benchmark framework selection”GitHub · Mar 30, 2026 · 1 reactions
- neilli-sable/dotfiles“Update dependency github:microsoft/waza to v0.40.0”GitHub · Nov 8, 2026
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub and Bluesky (50 times).
On GitHub · 48
- Aug 14, 2026Create a feature that installs waza (https://github.com/microsoft/waza) — postfinance/devcontainer-features1 reaction
- Mar 30, 2026[Discussion][Benchmark] Benchmark framework selection — Azure/azure-sdk-toolssays it tested it1 reaction · 5 comments
- Nov 8, 2026Update dependency github:microsoft/waza to v0.40.0 — neilli-sable/dotfiles0 reactions
- Nov 6, 2026自作 skill に評価(evals)と静的チェックを用意する — oddgai/dotfiles0 reactions
- Nov 2, 2026build(waza): bump pinned waza to 0.39.1 — akunzai/agent-skills0 reactions
43 more on GitHub
- Oct 13, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.9 — y-miyazaki/config0 reactions
- Oct 12, 2026build(waza): bump pinned waza to 0.38.10 — akunzai/agent-skills0 reactions
- Oct 9, 2026Update dependency github:microsoft/waza to v0.38.9 — neilli-sable/dotfiles0 reactions
- Oct 8, 2026[Candidate] microsoft/waza/examples/code-explainer - code-explainer — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] microsoft/waza/.copilot/skills/error-recovery - error-recovery — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] microsoft/waza/.copilot/skills/agent-collaboration - agent-collaboration — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.8 — y-miyazaki/config0 reactions
- Oct 5, 2026chore(deps): bump waza to 0.38.9 — akunzai/agent-skills0 reactions · 1 comment
- Oct 4, 2026Clean up the Google Sheet so the graph gets real topics (Category values, duplicates, empty tabs) — Amitro123/knowledgeBase-Agent0 reactions · 3 comments
- Oct 3, 2026Update dependency github:microsoft/waza to v0.38.8 — neilli-sable/dotfiles0 reactions
- Oct 3, 2026chore: update dependency github:microsoft/waza to latest — daaa1k/skills0 reactions · 3 comments
- Sep 3, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.7 — y-miyazaki/config0 reactions
- Aug 23, 2026Update dependency github:microsoft/waza to v0.38.7 — neilli-sable/dotfiles0 reactions
- Aug 22, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.6 — y-miyazaki/config0 reactions
- Aug 19, 2026Update dependency github:microsoft/waza to v0.38.6 — neilli-sable/dotfiles0 reactions
- Aug 17, 2026spec: replace API paired evaluation with Waza (Copilot-native) — akunzai/agent-skills0 reactions
- Aug 14, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.5 — y-miyazaki/config0 reactions
- Aug 12, 2026Update dependency github:microsoft/waza to v0.38.5 — neilli-sable/dotfiles0 reactions
- Aug 3, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.4 — y-miyazaki/config0 reactions
- Jul 24, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.3 — y-miyazaki/config0 reactions
- Jul 15, 2026Review and improve Waza User Guide documentation — microsoft/vscode-chat-customizations-evaluation0 reactions · 1 comment
- Jul 15, 2026feat(battle-testing-a-skill): add 7 adversarial dimensions missing vs superpowers/waza/academic threat models — tvna/gitapexsays it tested it0 reactions
- Jul 13, 2026feat(evals): add waza eval suites for all skills lacking coverage — tvna/gitapex0 reactions
- Jul 13, 2026ci: add waza check as a non-blocking skill report — tvna/gitapex0 reactions
- Jul 8, 2026renovate(mise): Update dependency github:microsoft/waza to v0.38.0 — y-miyazaki/config0 reactions
- Jul 4, 2026skill周り整備 umbrella — happy663/dotfiles0 reactions
- Jun 25, 2026renovate(mise): Update dependency github:microsoft/waza to v0.37.0 — y-miyazaki/config0 reactions
- Jun 3, 2026ci(portable-pr-policy): cache prek, waza, and uv artifacts to speed up the all-files run — tvna/claude-md0 reactions · 1 comment
- Jun 3, 2026ci(portable-pr-policy): prek "against all files" step is slow (~110s cold) -- cache hook envs and waza — tvna/claude-md0 reactions
- Jun 1, 2026Waza user guide: Content feedback — microsoft/vscode-chat-customizations-evaluation0 reactions
- May 31, 2026waza example: — KazuCocoa/specialist-role-cards0 reactions
- May 23, 2026[FEATURE]: Improving the skills for kelp migration and development — BenSchr/kelp-core0 reactions
- May 10, 2026feat(evals): introduce microsoft/waza for skill quality evaluation — iwasa-kosui/kamae-ts0 reactions
- Apr 8, 2026feat(ci): waza-based skill quality checks (Phase 1) — PRD #812 — github/squad0 reactions · 6 comments
- Apr 6, 2026PRD: Skill Security Scanning — Markdown-Aware Scanner for Agent-Executable Instructions — github/squad0 reactions · 3 comments
- Apr 6, 2026feat: Adopt waza ComplianceChecker for skill security scanning — github/squad0 reactions · 1 comment
- Apr 4, 2026PRD: Waza-Based PR Quality Checks for Squad Skills — github/squad0 reactions · 3 comments
- Apr 4, 2026PRD: Waza-Based PR Quality Checks for Squad Skills — diberry/squad0 reactions · 1 comment
- Mar 29, 2026Clean up Copilot CLI session-state after eval runs — ronniegeraghty/hyoka0 reactions · 3 comments
- Mar 27, 2026apr may 2026 — kimtth/azure-openai-llm-notes0 reactions
- Mar 25, 2026Bootstrap azure-net-skills-scenarios for .NET SDK skills measurement using waza — JonathanCrd/azure-net-skills-scenarios0 reactions
- Mar 22, 2026feat: add Waza evaluation suite for skill quality validation — ahmadabdalla/azure-cost-calculator0 reactions · 2 comments
- Mar 5, 2026Skill quality validation against sensei/waza best practices — haileyvictory/azure-building-blocks0 reactions
On Bluesky · 2
- May 10, 2026Go実装なんだな。 — @matsuu.bsky.social4 likes and reposts
- May 15, 2026The tessl command-line tool uses server-side evals for the agent skills, so you don't have to figure out how to do it yourself. I didn't… — @awakecoding.com1 likes and repost
Used with
Projects with it also use architectural-proposals, ci-validation-gates and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Microsoft AzureSkillarchitectural-proposals
How to write comprehensive architectural proposals that drive alignment before code is written
Also in 4 projects that use this
Microsoft AzureSkillci-validation-gates
Defensive CI/CD patterns: semver validation, token checks, retry logic, draft detection — earned from v0.8.22
Also in 4 projects that use this
GitHubSkille2e-template-testing
End-to-end validation of coordinator and agent template changes
Also in 3 projects that use this
GitHubSkillnotification-routing
Route agent notifications to specific channels by type — prevent alert fatigue from single-channel flooding
Also in 3 projects that use this
- +6 more from Azure
- +1 more from github
Other versions7 projects use a version of this.
Word for word · 1
- github/squad★ 3.4k100% same
Edited · 6
- github/gh-aw★ 5.6k98% same
- Azure/fleet★ 22799% same
- kubefleet-dev/kubefleet★ 16499% same
- Azure/apiops-cli★ 3299% same
- microsoft/github-vteam-industry-demos★ 299% same
- microsoft/fsi-banking-payments-dispute-resolution-accelerator★ 099% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .squad/copilot-instructions.mdCopilot instructions
- .squad-templates/copilot-instructions.mdCopilot instructions
- .squad/templates/copilot-instructions.mdCopilot instructions
- squad-commandsSkill
- code-explainerSkill
- evidence-judgeSkill
- agent-collaborationSkill
- azd-publishSkill
- coordinator-init-modeSkill
- coordinator-response-modeSkill
- coordinator-source-of-truthSkill
- cross-squad-communicationSkill
- cross-squadSkill
- error-recoverySkill
- git-workflowSkill
- iterative-retrievalSkill
- reflectSkill
- reviewer-protocolSkill
- secret-handlingSkill
- session-recoverySkill
- squad-conventionsSkill
- squad-helpSkill
- squadSkill
- test-disciplineSkill
- tiered-memorySkill
- code-explainerSkill
- waza-interactiveSkill
- wazaSkill
- {skill-name}Skill
- squad-conventionsSkill
- {skill-name}Skill
- {skill-name}Skill
- squad-conventionsSkill
- waza-runnerSkill
The file
We split this skill into the rules it gives an agent
2 rules. 1 is common, 0 are distinctive, and 1 is very specific to this project.
1
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 80
Use @insider tag for insider builds.
- Common: line 106
Use this one-liner from inside a coordinator prompt to fetch dist-tags:
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SKILL: Squad CLI Internals — Version Stamping & Upgrade Mechanics
Confidence: medium Discovered by: repository investigation Date: 2026-05-26 Validated in: Issue #1173 recon (bradygaster/squad)
What This Skill Covers
Reusable knowledge about how @bradygaster/squad-cli stamps its version into squad.agent.md, how squad upgrade works, what it preserves vs. overwrites, and how to probe the npm registry for the latest version from a coordinator prompt.
Package & Registry Facts
- Package name:
@bradygaster/squad-cli - Registry: npm (public)
- CLI binary:
squad(registered viapackage.json#bin.squad) - Node version requirement: Node ≥22.5.0 (ESM-only codebase)
Version Stamping Mechanism
Source file: dist/cli/core/version.js
Three functions:
getPackageVersion()
Walks up from the compiled JS file to find package.json. Returns pkg.version. Works from both dist/cli/core/version.js and a bundled root cli.js. Returns '0.0.0' as fallback if not found.
stampVersion(filePath, version)
Mutates squad.agent.md in three places:
- HTML comment:
<!-- version: {version} -->(must be on the line immediately after frontmatter---) - Identity line:
- **Version:** {version} - Greeting instruction: backtick-quoted
`Squad v{version}`
Called by: both init and upgrade — after copying the template to the destination.
readInstalledVersion(filePath)
Reads the stamped version back from squad.agent.md:
- First tries HTML comment format:
/<!-- version: ([0-9.]+(?:-[a-z]+(?:\.\d+)?)?) -->/ - Falls back to old frontmatter format:
/^version:\s*"([^"]+)"/m - Returns
'0.0.0'on any error
squad upgrade Behavior
Source file: dist/cli/core/upgrade.js
What gets overwritten:
squad.agent.md— full overwrite from template, thenstampVersion()- Files with
overwriteOnUpgrade: trueinTEMPLATE_MANIFEST: casting JSON files, template .md files,copilot-instructions.md(if @copilot enabled) - GitHub Actions workflows — from
templates/workflows/; non-npm projects get type-aware stubs - Runs
runMigrations()after file copy
What is PRESERVED:
team.md,routing.md,decisions.md,ceremonies.md(user-owned)agents/*/history.md(individual agent memory).squad/config.json— never touched;stateBackendsurvives intact- User-added files not in TEMPLATE_MANIFEST
Self-upgrade path (selfUpgradeCli()):
Detects npm/pnpm/yarn via npm_execpath and npm_config_user_agent. Runs:
- npm:
npm install -g @bradygaster/squad-cli@latest - pnpm:
pnpm add -g @bradygaster/squad-cli@latest - yarn:
yarn global add @bradygaster/squad-cli@latestUse@insidertag for insider builds.
compareSemver(a, b) utility (in upgrade.js):
Returns -1/0/1. Handles pre-release: strips pre-release for base comparison, then treats pre-release as less than release (e.g., 0.9.5-insider.1 < 0.9.5). Can be ported directly if needed in prompt logic.
.squad/config.json — What It Holds
{
"version": 1,
"stateBackend": "worktree"
}Other optional fields added by the coordinator at runtime:
defaultModel— global model override for all agent spawnsagentModelOverrides.{agentName}— per-agent model override
The file is read-only from the upgrade path's perspective. Only the coordinator writes to it (for model preferences).
Version-Check Probe (npm Registry)
Use this one-liner from inside a coordinator prompt to fetch dist-tags:
npm view @bradygaster/squad-cli dist-tags --json- Timeout: 5 seconds. If no response within 5 seconds, abandon and show normal greeting.
- On success: extract
dist-tags[channel](e.g.,dist-tags["insider"]). - On any error (network failure, registry unreachable, parse error): show normal greeting.
Upstream OS-Specific Cache
The CLI (self-update.ts) writes latest version info to an OS-specific path with a 24h TTL.
One-liner to read the upstream cache:
node -e "const p=require('path'),o=require('os');const b=process.env.APPDATA||(process.platform==='darwin'?p.join(o.homedir(),'Library','Application Support'):p.join(o.homedir(),'.config'));const f=p.join(b,'squad-cli','update-check.json');try{const d=JSON.parse(require('fs').readFileSync(f,'utf8'));const age=Date.now()-d.checkedAt;if(age<86400000)console.log(JSON.stringify(d));else console.log('STALE')}catch{console.log('MISS')}"Output semantics:
- Valid JSON
{"latestVersion":"X.Y.Z","checkedAt":N}→ cache hit; uselatestVersion STALE→ cache expired (older than 24h); treat as no dataMISS→ cache missing or corrupt; treat as no data
OS-specific cache path:
- Windows:
%APPDATA%\squad-cli\update-check.json - Linux:
~/.config/squad-cli/update-check.json - macOS:
~/Library/Application Support/squad-cli/update-check.json
Repo-Local Cache Convention: .squad/.cache/version-check.json
Used by coordinator for insider/preview channels (the upstream cache only stores latest).
Schema:
{
"checkedAt": "2026-05-26T14:13:28.492Z",
"currentVersion": "0.9.6-insider.2",
"channel": "insider",
"channelVersion": "0.9.7-insider.1"
}TTL: 24 hours from checkedAt.
Gitignore: .squad/.cache/ is listed in .gitignore — cache files are never committed.
Key File Paths (installed CLI)
| Purpose | Path |
| Version utilities | dist/cli/core/version.js |
| Upgrade logic | dist/cli/core/upgrade.js |
| Init logic | dist/cli/core/init.js |
| Template manifest | dist/cli/core/templates.js |
| Copilot install helper | dist/cli/copilot-install.js |
| squad.agent.md template | templates/squad.agent.md.template |
| Session init reference | templates/session-init-reference.md |
| All templates | templates/ |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

