dev-env-bootstrap

dev-env-bootstrap is a command for coding agents from sigistry/marketplace. It costs 13 tokens per session (851 once invoked), scanned A, original, MIT.

A command that gets an unfamiliar repository running locally, repairs setup problems it encounters, and records the verified steps in `SETUP.md`. A monorepo is a repository containing multiple services or packages, which it can also handle by targeting a subdirectory.

In plain words
What is it for?
Use it on the first day with a codebase, after a broken build, or for setting up one service or package inside a monorepo.
Why use it?
It replaces guesswork and stale setup instructions with steps based on the repository's declared runtimes, tools, dependencies, and services and on what actually worked.

Command

Part of the codebase-navigator plugin — 4 commands, 3 agents shipped together

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.

agentmods
npx agentmods add commands/sigistry/marketplace/dev-env-bootstrap
Clone the repo
git clone --depth 1 https://github.com/sigistry/marketplace

Or install codebase-navigator, the plugin that ships this one along with the rest of its 4 commands, 3 agents.

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 dev-env-bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/commands/sigistry/marketplace/dev-env-bootstrap.svg)](https://agentmods.dev/commands/sigistry/marketplace/dev-env-bootstrap)
Your own site
<a href="https://agentmods.dev/commands/sigistry/marketplace/dev-env-bootstrap"><img src="https://agentmods.dev/badge/commands/sigistry/marketplace/dev-env-bootstrap.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 851 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00013 $0.00851
Opus 5 $0.00006 $0.00426
Sonnet 5 $0.00003 $0.00170
Haiku 4.5 $0.00001 $0.00085

Measured 3d ago against content hash 0febdd86fa8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dev-env-bootstrap 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 3d 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/codebase-navigator/commands/dev-env-bootstrap.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.

Get this repository running on your machine, detect what it needs, run the setup, fix what breaks, and write down only the steps that actually worked. Use this on day one of a new codebase, or when a stale README leaves you with a red build. $ARGUMENTS may be a subdirectory to bootstrap (a specific service/package in a monorepo); default to the repo root.

Process

Step 1: Discover the declared requirements

Read, do not guess. Scan for the signals that tell you the runtime, tooling, and services this repo expects (see the setup-diagnosis skill's setup-signals.md for the full map):

Signal What it declares
package.json (engines, packageManager), .nvmrc Node version + package manager
.tool-versions, mise.toml, asdf Multi-runtime pins (Node/Python/Ruby/Go/…)
.python-version, pyproject.toml, requirements*.txt, Pipfile, poetry.lock Python version + resolver
.ruby-version, Gemfile, go.mod, pom.xml, build.gradle, Cargo.toml Runtime + dependency manifest
Dockerfile, docker-compose.yml, .devcontainer/ Containerized runtime + backing services (DB, cache, queue)
.env.example, .env.sample, config/*.example Required environment variables
Makefile, justfile, Taskfile.yml, scripts/ Project-authored setup/bootstrap targets
README, CONTRIBUTING, docs/ The human instructions (verify, they drift)

Step 2: Reconcile and plan

  • Prefer a project-authored setup target (make setup, just bootstrap, ./scripts/setup) over hand-assembling steps, repos usually encode the real path there.
  • If manifests disagree with the README (e.g. .nvmrc says 18 but the README says 16), trust the machine-readable pin and note the discrepancy.
  • List the backing services docker-compose.yml provides and whether they must be up before install/migrate/seed.

Step 3: Execute and diagnose

Launch the env-doctor agent to run the setup end-to-end. It installs the correct runtime versions, runs the install/build/migrate/seed steps, and diagnoses failures (wrong runtime version, missing system libraries, missing env vars, native build errors, port conflicts, OS-specific breakage), fixing what it can safely fix. It never invents credentials or secret values, it flags them as required and leaves them blank.

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. 3d ago First seen · 46 lines · 13 tokens per session scan A 0febdd86fa8b

Subscribe to this mod's changes

dev-env-bootstrap is a command published in the GitHub repository sigistry/marketplace (3 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 851 once invoked, about $0.0001 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.