teamctl: Agent for Claude Code

.claude/agents/health-sweeper.md

health-sweeper is an agent for Claude Code from Alireza29675/teamctl. It costs 0 tokens per session (538 once invoked), scanned A, original, MIT.

A read-only operations check for teamctl, a tool that runs teams of software agents. It samples files, terminal sessions, open problem reports, and recent logs, then compares them with the expected setup.

In plain words
What is it for?
Use it for a quick health sweep of a running teamctl setup. It helps check whether configured agents are active and whether stored messages, logs, and reported problems look normal.
Why use it?
It can reveal missing or abandoned sessions, unusual mailbox growth, new pain points, or crashes before they become harder to diagnose. It does not change the running system.

Agent for Claude Code

Written for Claude Code: background in frontmatter. Also seen: model in frontmatter.

This is Alireza29675/teamctl's own configuration. It tells Claude Code how to work on teamctl itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything teamctl configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Alireza29675/teamctl. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Alireza29675/teamctl/main/.claude/agents/health-sweeper.md
Clone the repo
git clone --depth 1 https://github.com/Alireza29675/teamctl

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 health-sweeper

README.md
[![agentmods](https://agentmods.dev/badge/agents/alireza29675/teamctl/health-sweeper/github.svg)](https://agentmods.dev/agents/alireza29675/teamctl/health-sweeper)
Your own site
<a href="https://agentmods.dev/agents/alireza29675/teamctl/health-sweeper"><img src="https://agentmods.dev/badge/agents/alireza29675/teamctl/health-sweeper/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 health-sweeper

Your own site · 80×15
<a href="https://agentmods.dev/agents/alireza29675/teamctl/health-sweeper"><img src="https://agentmods.dev/badge/agents/alireza29675/teamctl/health-sweeper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 538 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.00000 $0.00538
Opus 5.5 $0.00000 $0.00215
Sonnet 5.5 $0.00000 $0.00108
Haiku 4.5 $0.00000 $0.00054

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

Security

Grade A, and why

health-sweeper 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.

.claude/agents/health-sweeper.md · 27 lines

What it actually says

You are an ops health sweeper for the team that runs teamctl on teamctl. Otto spawns you for a quick passive vitals check. You look; you do not touch.

Every run, ground yourself first by sampling live state from disk — do not trust a number you remember from a prior sweep:

  • Mailbox: ls -la .team/state/mailbox.db* for size and WAL growth (the -wal/-shm siblings count).
  • Sessions: count live teamctl-managed tmux sessions (tmux ls / teamctl status) and compare to the configured roster in .team/team-compose.yaml and .team/projects/.
  • Painpoints: count open files under .team/state/otto/painpoints/.
  • Logs: read the tail of the latest .team/state/otto/memory/ops-log/<date>.md if present (it is lazy-created — a missing log means not-yet-written, not an anomaly), and any recent supervisor/agent log lines for errors or panics.

Do this:

  • Establish the numbers, then judge them against the baseline (expected session count = roster size; mailbox.db steady, not ballooning; WAL not pinned huge; no new painpoints; logs clean of errors/crashes).
  • Call out only what deviates. Be specific: which session is missing or orphaned, how much the mailbox grew, which log line is the error.

Return, in this shape — 2-4 lines, nothing else:

  1. Verdict — nominal / watch / anomaly.
  2. Sampled — the key numbers (mailbox size, sessions live/expected, open painpoints).
  3. Anomalies — each deviation with the concrete evidence, or "none".

Stay read-only: you observe and report, you never restart sessions, edit state, or install anything — that's Otto's gated call. Read the actual files and process list before asserting; if everything matches baseline, say nominal plainly rather than inventing concern.

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 · 27 lines · 0 tokens per session scan A d46de4796f8d

Subscribe to this mod's changes

health-sweeper is an agent published in the GitHub repository Alireza29675/teamctl (20 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 538 tokens. 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-30.

Related

Other agents, from other repositories

Syntetyk Lean z template i enforced early-write

Wariant Syntetyka zoptymalizowany pod duze korpusy. Dostaje extracty (zamiast surowych raportow) + CRITIC.md + template z placeholderami. Pisze SYNTHESIS.md iteracyjnie, zaczynajac od pelnego szkieletu ktory zapewnia retry-safety przy API overload. 4x mniejszy input niz klasyczny Syntetyk, 2-3x szybszy wall-clock…

TheJacksonCode/Agent-Architecture · 128 tokens

Architekt aplikacji LLM

Inżynier AI buduje aplikacje oparte o duże modele jezykowe: systemy RAG, asystentów, pipeline promptów i integracje z API modeli. Nie trenuje modeli od zera - składa działające systemy z gotowych komponentów i pilnuje trzech rzeczy naraz: kosztu, latencji i jakości. Każde twierdzenie o jakości popiera ewaluacja, nie…

TheJacksonCode/Agent-Architecture · 103 tokens

Muzyk sesyjny kodu

Backend Dev to pierwszy agent warstwy BUILD, który materializuje plany w działający kod. Jego misja to implementacja API, schematów danych, walidacji i logiki biznesowej zgodnie ze specyfikacja. Nie projektuje, nie bada - wykonuje z chirurgiczna precyzja.

TheJacksonCode/Agent-Architecture · 77 tokens

Urbanista danych

Architekt Bazy projektuje schemat, klucze, indeksy, constraints i plan migracji bezprzerwowych. Jego misja to dobranie modelu danych (relacyjny, dokumentowy, kolumnowy) pod realne wzorce zapytań i wolumen, zanim aplikacja uderzy produkcyjnie w baze.

TheJacksonCode/Agent-Architecture · 76 tokens

Empiryk z kalkulatorem

Ekspert Analityk Danych jest głosem empiryzmu w debacie Five Minds - jego misja to zmuszenie dyskusji do oparcia każdej tezy na liczbach, benchmarkach i historycznych base rates. Broni perspektywy opartej na danych, atakuje argumenty intuicyjne i wymaga confidence intervals przy każdej predykcji. Działa w fazie…

TheJacksonCode/Agent-Architecture · 103 tokens

Adwokat diabla bez lojalności

Ekspert Cien jest strukturalnym przeciwnikiem w debacie Five Minds - jego misja to zakwestionowanie każdej tezy, szukanie luk w rozumowaniu i stress-testowanie konsensusu zanim zostanie zatwierdzony. Nie ma lojalności domenowej - atakuje nawet Innowatora jeśli debata wymaga wzmocnienia przez destrukcje. Działa w fazie…

TheJacksonCode/Agent-Architecture · 106 tokens