spawn-doctor

spawn-doctor is a skill for Claude Code from leopu00/job-hunter-team. It costs 109 tokens per session (1,602 once invoked), scanned A, original, MIT.

An on-demand way for a long-running coding-agent team to start a fresh health-check agent called the Doctor. It is used when the previous Doctor process has ended and its session can no longer receive messages.

In plain words
What is it for?
Starting an immediate team health check, especially when workers appear stuck or when a coordinator is asked to check the team before taking further action.
Why use it?
It prevents health-check requests from being sent to an inactive session and disappearing without anyone responding.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash /app/.launcher/spawn-doctor.sh.

Good fit Starting an immediate team health check, especially when workers appear stuck or when a coordinator is asked to check the team before taking further action.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/leopu00/job-hunter-team
agentmods
npx agentmods add skills/leopu00/job-hunter-team/spawn-doctor

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 spawn-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/leopu00/job-hunter-team/spawn-doctor/github.svg)](https://agentmods.dev/skills/leopu00/job-hunter-team/spawn-doctor)
Your own site
<a href="https://agentmods.dev/skills/leopu00/job-hunter-team/spawn-doctor"><img src="https://agentmods.dev/badge/skills/leopu00/job-hunter-team/spawn-doctor/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 spawn-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/leopu00/job-hunter-team/spawn-doctor"><img src="https://agentmods.dev/badge/skills/leopu00/job-hunter-team/spawn-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,602 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 3
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • medium Agent Snooping · line 115
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00109 $0.01602
Opus 5 $0.00055 $0.00801
Sonnet 5 $0.00022 $0.00320
Haiku 4.5 $0.00011 $0.00160

Measured 11d ago against content hash b6c2cd889e1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

spawn-doctor 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 11d 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.

agents/_skills/spawn-doctor/SKILL.md · 119 lines

How it starts

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

spawn-doctor — chiamata di emergenza al Dottore

Perché esiste

Il doctor-watchdog spawna automaticamente un DOTTORE ogni 2 ore (cadenza scelta 2026-05-18 per ridurre token waste: 12 spawn/day invece di 48). Tra uno spawn e il successivo la sessione tmux DOTTORE esiste ma è "bash residua" (il Dottore precedente si è auto-distrutto a fine giro). Mandare un [URG] o [HEALTH] a quella sessione è inutile: il messaggio finisce nella bash e nessuno lo legge.

Caso classico (post-mortem 2026-05-18-capitano-zombie-night): l'Assistente ha mandato 2 URG al Dottore alle 06:08/06:09 perché l'utente l'aveva chiesto, ma il Dottore precedente si era auto-distrutto alle 05:48 → 2 URG persi nel vuoto, Capitano è rimasto zombie altri ~20 min finché l'Assistente non ha capito di dover agire direttamente.

Questa skill chiude il loop: invece di "parlare a un Dottore morto", ne spawno uno nuovo subito.

Chi può usarla

I 4 agenti coordinatori long-lived:

  • 👨‍✈️ Capitano — quando rileva worker zombie e vuole un secondo paio di occhi prima di respawnare lui stesso.
  • 💬 Assistente — quando l'utente chiede "fai partire il dottore" o "controlla il team" via Telegram/chat.
  • 🧙‍♂️ Mentor — quando in un digest settimanale rileva pattern anomali e vuole una verifica salute infrastruttura.
  • 💂 Sentinella — quando un agente smette di consumare token inaspettatamente in piena finestra produttiva.

Gli altri agenti (Scout, Analista, Scorer, Scrittore, Critico) NON hanno questa skill: se vedono un problema, lo riportano al Capitano via [REPORT] e lasciano a lui la decisione.

Come usarla

# Spawn one-shot. Lo script è idempotente: killa ogni DOTTORE* esistente
# prima di crearne uno nuovo, quindi puoi chiamarlo senza paura di
# duplicati.
bash /app/.launcher/spawn-doctor.sh

Output atteso:

[spawn-doctor] killing old session: DOTTORE     (se presente)
[spawn-doctor] DOTTORE avviato — workdir=/jht_home/agents/dottore — round=YYYYMMDDTHHMMSSZ-spawn

Read the full file on GitHub · 119 lines

Files

What ships with it

6 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. 11d ago First seen · 119 lines · 109 tokens per session scan A b6c2cd889e1a

Subscribe to this mod's changes

spawn-doctor is a skill published in the GitHub repository leopu00/job-hunter-team (49 stars, last pushed yesterday), licensed MIT. It adds 109 tokens to every session and 1,602 once invoked, about $0.0005 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-08-30.