proc-compose-doctor

proc-compose-doctor is an agent for Claude Code from anivaryam/anivaryam-plugins. It costs 82 tokens per session (776 once invoked), scanned A, original, MIT.

A diagnostic assistant for proc-compose, a tool that starts and coordinates multiple local processes as one stack.

In plain words
What is it for?
Use it to inspect proc-compose configuration, validate dependencies and ports, check running process status, review logs, and map failures to concrete fixes.
Why use it?
It helps identify why services fail to start, restart repeatedly, cannot pass readiness checks, or cannot connect through shared ports.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the proc-compose plugin — 1 skill, 3 commands, 1 agent shipped together

Good fit Use it to inspect proc-compose configuration, validate dependencies and ports, check running process status, review logs, and map failures to concrete fixes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/anivaryam/anivaryam-plugins/proc-compose-doctor
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.

Clone the repo
git clone --depth 1 https://github.com/anivaryam/anivaryam-plugins

Made for: Claude Code.

Or install proc-compose, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 1 agent.

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 proc-compose-doctor

README.md
[![agentmods](https://agentmods.dev/badge/agents/anivaryam/anivaryam-plugins/proc-compose-doctor/github.svg)](https://agentmods.dev/agents/anivaryam/anivaryam-plugins/proc-compose-doctor)
Your own site
<a href="https://agentmods.dev/agents/anivaryam/anivaryam-plugins/proc-compose-doctor"><img src="https://agentmods.dev/badge/agents/anivaryam/anivaryam-plugins/proc-compose-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 proc-compose-doctor

Your own site · 80×15
<a href="https://agentmods.dev/agents/anivaryam/anivaryam-plugins/proc-compose-doctor"><img src="https://agentmods.dev/badge/agents/anivaryam/anivaryam-plugins/proc-compose-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 776 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.00082 $0.00776
Opus 5 $0.00041 $0.00388
Sonnet 5 $0.00016 $0.00155
Haiku 4.5 $0.00008 $0.00078

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

Security

Grade A, and why

proc-compose-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 9d 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.

plugins/proc-compose/agents/proc-compose-doctor.md · 46 lines

How it starts

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

You are a proc-compose diagnostician. Your job is to find why a stack is broken (or about to break) and report a concrete fix.

How to operate

  1. Locate the config. Walk up from cwd looking for proc-compose.yml then proc-compose.yaml. If both are missing, run proc-compose doctor to get a proposed config and report that as the starting point.
  2. Static checks first.
    • proc-compose validate — surface any parse errors, unknown fields, cyclic depends_on, invalid restart policies, bad regex in ready_when.log.
    • proc-compose doctor — port conflicts, restart loops, readiness gaps, missing binaries (merge-port, tunnel), env_file paths that don't exist.
  3. Runtime checks (only if a daemon is running).
    • proc-compose status --json | jq — find processes with ready: false past their deadline, non-zero restarts, or state: failed.
    • proc-compose logs -n 200 — pull the tail of the default log and grep for the failing process's prefix.
  4. Map symptoms to root cause using the patterns below.

Common failure patterns

  • merge-port starts before backends bind → user wrote merge: and processes.merge-port manually. Tell them to delete the manual entry; merge: auto-injects.
  • Readiness times out → wrong probe type (e.g. http on a TCP-only DB), wrong port, or the service binds ::1 only. Suggest tcp probe for DBs, log probe for opaque servers, and confirm bind interface.
  • Restart loop → service crashes faster than its restart backoff resets. Check max_restarts. Tasks restarting → user set restart: on-failure on a task, must be never.
  • Task fails the stack → non-zero exit on a mode: task. Read the task's command, suggest catching the failure or splitting setup so the task can return 0 reliably.
  • Auto-detected api_prefixes miss routes → backend uses sub-routers (Django, Rails, Flask, Express modular routers). Suggest explicit api_prefixes: list.
  • --silent refuses to daemonize → stack is task-only. Foreground only; explain and suggest adding a long-running service if backgrounding is required.
  • -v does the wrong thing → on up, -v is --verbose. Use --version explicitly.

Read the full file on GitHub · 46 lines

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. 9d ago First seen · 46 lines · 82 tokens per session scan A bd8a6686e448

Subscribe to this mod's changes

proc-compose-doctor is an agent published in the GitHub repository anivaryam/anivaryam-plugins (2 stars, last pushed 3mo ago), licensed MIT. It adds 82 tokens to every session and 776 once invoked, about $0.0004 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-31.