agent-fleet-guard

agent-fleet-guard is a skill for Claude Code, Codex from aaronartistzhang-afk/DailyWork. It costs 172 tokens per session (1,091 once invoked), scanned A, original, MIT.

A set of safety checks for launching a large group of AI agents at once. Agent orchestration means coordinating multiple agents on related tasks.

In plain words
What is it for?
Use it before and during a run involving about 20 or more subagents or an estimated one million or more subagent tokens.
Why use it?
It helps prevent unexpected token costs, launches during unstable connections, silent agent failures, and runaway work.

Skill for Claude CodeCodex

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

Good fit Use it before and during a run involving about 20 or more subagents or an estimated one million or more subagent tokens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aaronartistzhang-afk/dailywork/agent-fleet-guard
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 aaronartistzhang-afk/DailyWork --skill agent-fleet-guard
Clone the repo
git clone --depth 1 https://github.com/aaronartistzhang-afk/DailyWork

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 agent-fleet-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaronartistzhang-afk/dailywork/agent-fleet-guard/github.svg)](https://agentmods.dev/skills/aaronartistzhang-afk/dailywork/agent-fleet-guard)
Your own site
<a href="https://agentmods.dev/skills/aaronartistzhang-afk/dailywork/agent-fleet-guard"><img src="https://agentmods.dev/badge/skills/aaronartistzhang-afk/dailywork/agent-fleet-guard/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 agent-fleet-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaronartistzhang-afk/dailywork/agent-fleet-guard"><img src="https://agentmods.dev/badge/skills/aaronartistzhang-afk/dailywork/agent-fleet-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,091 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.00172 $0.01091
Opus 5.5 $0.00069 $0.00436
Sonnet 5.5 $0.00034 $0.00218
Haiku 4.5 $0.00017 $0.00109

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

Security

Grade A, and why

agent-fleet-guard 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.

The scan reads SKILL.md. This mod also ships 1 executable file (fleet_estimate.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/agent-fleet-guard/SKILL.md · 59 lines

How it starts

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

agent-fleet-guard — guardrails for large agent orchestrations

Dispatching one agent is routine. Dispatching twenty is a spend decision — and a fleet that half-dies silently poisons everything downstream. Six guardrails, all paid for with real incidents.

Threshold: fan-out ≥ 20 subagents, or estimated ≥ 1M subagent tokens. Below that, just dispatch.

① Quote gate — quote first, wait for approval

Before dispatch, run the estimator (same directory):

./fleet_estimate.sh --agents <N> --per <rough-tokens-per-agent> --json

Exit 10 = over threshold (agents ≥ 20 or corrected estimate ≥ 1M) → you must quote and wait:

"Planning N agents, rough estimate X tokens, ×3 corrected ≈ Y tokens (both are floors, not ceilings) — the output is Z. Approve?"

Give both numbers — the rough estimate and the ×3 correction. Why ×3: a real fleet quoted at ~0.9M tokens burned ~2.7M — roughly 3×, and that was a lower bound. Per-agent guesses run low; the estimator's default --factor 3 bakes this in.

② Don't launch on an unstable connection

If this session has recently seen Connection closed / connection-lost errors: treat that as the signal, no probing needed — crashed agents burn their tokens for nothing, and fail-closed pipelines then demand a full rerun. The classic failure is seeing scattered disconnects and not counting them as a signal.

No existing signal but the fan-out is over threshold? Send 3 one-token probe agents first; any probe timing out >10s or erroring → unstable. Unstable → don't force it: split into smaller batches or wait.

③ In-flight stop-loss

While the fleet runs, track cumulative spend (orchestration frameworks expose a budget/spent counter; with散派 agents, sum their usage by hand). The moment spend crosses the approved number Y — stop and re-quote, without waiting to be asked.

Anchor on the approved number, not the rough estimate — you quoted ×3, so anchoring on the rough estimate false-alarms at ⅓ of every normal run.

Read the full file on GitHub · 59 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 · 59 lines · 172 tokens per session scan A 3fa5ca0b22c0

Subscribe to this mod's changes

agent-fleet-guard is a skill published in the GitHub repository aaronartistzhang-afk/DailyWork (1 stars, last pushed 1mo ago), licensed MIT. It adds 172 tokens to every session and 1,091 once invoked, about $0.0007 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-08-31.

Related

Other skills, from other repositories

uig

Build a User Input Grid (UIG) for an AI product or feature, evaluate existing eval datasets against it, and propose new inputs to fill coverage gaps. Use this skill whenever someone asks to design an eval framework, audit a test set, build a "user input grid", "synthetic query matrix" or "SQM", improve dataset…

Calibre-Labs/reforge-ai-evals · 146 tokens

eval-llm-judge

Write LLM-as-judge evaluator prompts for AI products. Use this skill whenever you need to evaluate semantic properties of AI outputs that cannot be checked programmatically — output quality, tone, factual accuracy, edge case handling, reference alignment. Also use when auditing existing judge prompts for bias…

Calibre-Labs/reforge-ai-evals · 92 tokens

eval-code

Write deterministic, code-based evaluator functions for an AI product. Use this skill whenever you need to write evaluators that check structural properties of AI outputs (format, count, presence, schema compliance) without calling another LLM. Also use when auditing existing code-based evaluators for brittleness…

Calibre-Labs/reforge-ai-evals · 68 tokens

llm-align

Analyze alignment between LLM judge scores and human labels in an eval dataset. Use this skill whenever someone wants to evaluate how well an LLM judge agrees with human reviewers, calculate TPR/TNR, investigate disagreements, or improve a scorer prompt. Trigger on phrases like: "calculate TPR/TNR", "judge alignment"…

Calibre-Labs/reforge-ai-evals · 125 tokens

ticket-to-eval

Strip PII from a customer support ticket or eval trace and convert it into eval dataset rows. Produces two outputs: a regression dataset row (close to the original input, tagged with failuremode) and a generalized dataset row (abstracted for broader coverage). Works with local CSV files or any eval platform. Use this…

Calibre-Labs/reforge-ai-evals · 127 tokens

trace-codes

Turn free-form notes from reading agent traces into trace codes: named, yes/no failure or quality patterns with definitions, examples and counts. Use this skill whenever someone has annotated traces or review notes and asks to "cluster my notes", "create trace codes", "find the failure modes", "do error analysis on…

Calibre-Labs/reforge-ai-evals · 117 tokens