fleet-hub-upgrade

fleet-hub-upgrade is a skill for Claude Code from escoffier-labs/brigade. It costs 66 tokens per session (1,782 once invoked), scanned A, original, MIT.

A deployment checklist for upgrading a Brigade Fleet Hub and the node clients that connect to it. It covers checking payload and schema changes, upgrading the Hub before nodes, taking a snapshot, switching versions, rolling back, and verifying nodes.

In plain words
What is it for?
It is for coordinating Hub and node releases, comparing their data formats, deploying on hosts, and checking that the services work afterward.
Why use it?
It helps prevent upgraded nodes from sending data an older Hub cannot accept, and prevents older code from being left with a database schema it cannot open. It also provides a recovery path if the upgrade fails.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for coordinating Hub and node releases, comparing their data formats, deploying on hosts, and checking that the services work afterward.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/escoffier-labs/brigade/fleet-hub-upgrade
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.

Any agent
npx skills add escoffier-labs/brigade --skill fleet-hub-upgrade
Clone the repo
git clone --depth 1 https://github.com/escoffier-labs/brigade

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 fleet-hub-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/escoffier-labs/brigade/fleet-hub-upgrade/github.svg)](https://agentmods.dev/skills/escoffier-labs/brigade/fleet-hub-upgrade)
Your own site
<a href="https://agentmods.dev/skills/escoffier-labs/brigade/fleet-hub-upgrade"><img src="https://agentmods.dev/badge/skills/escoffier-labs/brigade/fleet-hub-upgrade/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 fleet-hub-upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/escoffier-labs/brigade/fleet-hub-upgrade"><img src="https://agentmods.dev/badge/skills/escoffier-labs/brigade/fleet-hub-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,782 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00066 $0.01782
Opus 5.5 $0.00026 $0.00713
Sonnet 5.5 $0.00013 $0.00356
Haiku 4.5 $0.00007 $0.00178

Measured 1mo ago against content hash 5ce142f14ec8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fleet-hub-upgrade 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 1mo 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.

src/brigade/templates/skills/fleet-hub-upgrade/SKILL.md · 90 lines

How it starts

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

fleet-hub-upgrade

Upgrade a Fleet Hub and its nodes to a target Brigade commit without node writes being refused and without stranding the Hub database on a schema the old code cannot open. Brigade does not run the deploy; this skill is the checklist an operator or agent follows on their own hosts.

Placeholders used below: <hub-host>, <node-host>, <old-sha> (deployed Hub commit), <target-sha>, /opt/brigade/releases/<sha> (per-commit venv), <hub-db> (Hub SQLite path), <hub-unit> (service name).

When this applies

  • A release adds or changes anything a node sends to the Hub (client request bodies, session presence, telemetry, observers).
  • The Hub and node installs are on different commits and you are bringing them level.
  • A node reports session request has unsupported field or the Hub refuses to start with a schema-version error.

1. Order: Hub first, then nodes

The Hub validates node writes strictly. _validate_session_request in src/brigade/fleet_hub_sessions.py rejects unknown fields with session request has unsupported field. If a release adds a field to any node-to-Hub payload, a node upgraded before the Hub gets its writes refused until the Hub catches up.

  1. Deploy and verify the Hub on <target-sha>.
  2. Upgrade each node to the same <target-sha>.
  3. Restart long-running units on each node that import its Brigade install (telemetry publishers, heartbeat units, daemons). A running process keeps the old code in memory until restarted.

2. Pre-flight diff

Compare <old-sha> to <target-sha> before touching anything (git diff <old-sha>..<target-sha> -- src/brigade/).

  • Payload keys. Look for new keys in client request bodies: src/brigade/fleet_client.py, observers, session presence, telemetry publishers. For each, confirm the target Hub's validator accepts it and note whether the old Hub rejects it. A rejected key fixes the ordering in step 1; it is not optional.
  • Old nodes against the new Hub. Check the reverse direction too: fields the target Hub no longer accepts, and fields it now requires. Either one means nodes still on their current commit are refused as soon as the Hub upgrades. Compare each deployed node commit against the target validators. If any node would be refused, stop: Hub-first ordering cannot work for that release, so plan a coordinated upgrade instead.
  • Schema version. Check SCHEMA_VERSION in src/brigade/fleet_hub.py. A bump means older code refuses the newer database (_refuse_newer_schema), so rollback needs a database restore plus the code revert, not the code revert alone. Say so in the plan before you start.
  • Disk headroom. The Hub host needs room for a new venv, a wheel build, and a full database snapshot. Check free space against the database size, with margin.

Read the full file on GitHub · 90 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 90 lines · 66 tokens per session scan A 5ce142f14ec8

Subscribe to this mod's changes

fleet-hub-upgrade is a skill published in the GitHub repository escoffier-labs/brigade (83 stars, last pushed 8d ago), licensed MIT. It adds 66 tokens to every session and 1,782 once invoked, about $0.0003 per session on Opus 5.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-10-30.

Related

fleet-hub-upgrade compared with skills from other repositories

fleet-hub-upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fleet-hub-upgradeescoffier-labs/brigadeSkill838d agoMITA66Claude Code
agent-release-managerruvnet/rufloSkill83ktodayMITA16Claude Code
agent-release-swarmruvnet/rufloSkill83ktodayMITA19Claude Code
agent-github-modesruvnet/rufloSkill83ktodayMITA21Claude Code
github-automationruvnet/rufloSkill83ktodayMITA61Claude Code
agent-framework-py-releasemicrosoft/agent-frameworkSkill15k13d agoMITA102Claude Code, Codex
oma-dev-workflowfirst-fluke/oh-my-agentSkill1.5ktodayMITA29Claude Code