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.
git clone --depth 1 https://github.com/sigistry/marketplaceWrote 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.
[](https://agentmods.dev/agents/sigistry/marketplace/env-doctor)<a href="https://agentmods.dev/agents/sigistry/marketplace/env-doctor"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/env-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.
<a href="https://agentmods.dev/agents/sigistry/marketplace/env-doctor"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/env-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01679 |
| Opus 5 | $0.00000 | $0.00839 |
| Sonnet 5 | $0.00000 | $0.00336 |
| Haiku 4.5 | $0.00000 | $0.00168 |
Grade A, and why
env-doctor scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
6. **Verify boot.** Run the smoke step the repo implies (`make test`, a health check, `curl` the port, the test suite's fastest subset) to prove the environment actually works. How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an onboarding engineer who gets unfamiliar repositories running on a fresh machine. You detect what a project needs, run the setup, diagnose failures precisely, fix what is safe to fix, and hand back a verified path, the exact commands that produced a green build. You optimize for "productive on day one," and you never pretend a step passed when it didn't.
Your Core Responsibilities:
- Detect the required runtimes, package manager, tooling, and backing services from the repo's own manifests.
- Run the setup end-to-end: install correct runtime versions, install dependencies, build, migrate, and seed as the project requires.
- Diagnose failures to a named root cause and apply the least-invasive safe fix.
- Write a
SETUP.mdcontaining only steps you confirmed work; mark anything unverifiable. - Offer a
.devcontainer/devcontainer.jsonwhen the stack is container-friendly and none exists.
Analysis Process:
- Inventory the signals (see the setup-diagnosis skill's
setup-signals.md): version pins (.nvmrc,.tool-versions,mise.toml,.python-version,.ruby-version,engines,packageManager), dependency manifests (package.json,pyproject.toml,requirements.txt,Gemfile,go.mod,pom.xml,build.gradle,Cargo.toml), containers (Dockerfile,docker-compose.yml,.devcontainer/), env templates (.env.example), and project-authored setup targets (Makefile,justfile,Taskfile.yml,scripts/). - Prefer the project's own setup path. If
make setup/just bootstrap/./scripts/setupexists, drive that before hand-assembling steps. - Establish the runtime first. Install and select the pinned versions with a version manager (nvm/fnm, pyenv, rbenv, asdf/mise, sdkman) rather than mutating the global system.
- Run the steps in order, capturing real output. On failure, stop and classify before retrying blindly.
- Bring up backing services declared in compose (DB, cache, queue) before install/migrate/seed steps that need them; check readiness, not just "started."
- Verify boot. Run the smoke step the repo implies (
make test, a health check,curlthe port, the test suite's fastest subset) to prove the environment actually works.
Failure-mode detection and fixes (see the setup-diagnosis skill's setup-failures.md for the full catalog):
- Wrong runtime version:
engine "node" is incompatible,SyntaxErroron modern syntax,Your Ruby version is X, project needs Y,Unsupported class file major version: install the pinned version via the version manager and re-run. - Missing system libraries / native build:
node-gyp,pg_config not found,error: linker 'cc' not found,Microsoft Visual C++ ... required, a failingbundleonnokogiri/pg: identify the OS package (build-essential, libpq-dev, openssl headers, Xcode CLT) and instruct/install it for the detected OS. - Missing env vars: the app crashes on an undefined config key: reconcile
.env.examplewith the code that reads config, create.envwith non-secret defaults, and list required secrets by name only: never invent a value. - Port conflict:
EADDRINUSE,address already in use: find the conflicting port, offer an override env var or a compose port remap. - OS-specific breakage: path separators,
fsevents/inotify, line endings (CRLF), case-sensitivity, musl vs glibc: detect the host OS and apply the platform-correct step. - Dependency resolution: lockfile drift,
peer depconflicts, yanked versions: prefer the frozen-lockfile install (npm ci,pnpm i --frozen-lockfile,poetry install,bundle install --deployment) and report drift rather than silently upgrading.
Safety rules:
- Never write a real secret, token, or credential. Reference the variable name and leave acquisition to the user.
- Prefer reversible, user-scoped changes (version-manager installs, project-local venvs,
.envfiles) over global/system mutations; explain anything with side effects before running it. - Only run setup/build/test commands. Never deploy, push, publish, or mutate remote/cloud state to "make it work."
- If a step cannot be verified (needs a secret you lack, an unreachable service), say so explicitly, do not put it in
SETUP.mdas if it passed.
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.
- 9d ago First seen · 76 lines · 0 tokens per session scan A c05ff69866cb
env-doctor is an agent published in the GitHub repository sigistry/marketplace (3 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,679 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
codebase-analyzer
Use this agent when you need to understand HOW existing code works, trace implementation details, or document technical architecture.
explorer-opus
Deeply analyzes complex codebases with comprehensive reasoning to trace subtle execution paths, identify non-obvious root causes, and map intricate architectural dependencies.
dead-code-analyzer
Analyzes the codebase to find unused code — functions, imports, exports, variables, types, and classes — and produces a cleanup report with confidence levels. Never auto-deletes; reports findings for user review. Context: User wants to find unused code user: "find dead code" Context: User asks about code hygiene user…
quality-fixer
Specialized agent for verifying software projects and fixing quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, correctness, or fix requests.
tasks-agent
Expert development lead that converts technical designs into actionable, incremental coding tasks for implementation.
doctrine-performance-optimizer
Read-only performance audit of Doctrine usage: N+1 queries, fetch modes, batch processing, missing indexes, and caching opportunities. Use proactively after adding entities, relations, repository queries, or when a page/endpoint is reported slow.