# First Run Doctor

> Diagnose broken repository onboarding and generate verified, host-specific setup guides.

First Run Doctor is a free AI agent skill on Agensi by Bandonker Labs., in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Bandonker Labs.](https://www.agensi.io/creators/bandonkerlabs)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Uses: 3
- Version: 1.0
- Last updated: 2026-10-16
- Security: scan passed (2026-10-16); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/first-run-doctor
- Tags: testing, python, onboarding, devops, documentation

## About this skill

Onboarding guides rot the moment they are written. New teammates waste hours debugging "works on my machine" issues because documentation reflects a developer's environment from six months ago rather than the current repo state.

### What it does
- **Detects toolchains** by scanning `package.json`, `.nvmrc`, `pyproject.toml`, `go.mod`, and other version manifests to identify required runtimes.
- **Validates environments** through a read-only probe of the local `PATH`, comparing observed binary versions against declared minimums and pins.
- **Audits environment variables** by cross-referencing keys in `.env.example` against actual source code usage to find undocumented requirements.
- **Map setup commands** by identifying installation scripts, database migrations, and build targets within `Makefiles` or `package.json`.
- **Generates verified guides** that label every single instruction as either `verified` (it ran and passed) or `unverified` with a specific reason.

### How it works
1. **Run detection** to identify the project's languages, managers, and container configurations based on existing repository files.
2. **Execute checks** to produce a PASS/FAIL table of binaries, versions, and environment keys present on the current machine.
3. **Generate the guide** to output a dated snapshot containing prerequisites, setup orders, and troubleshooting steps for failures.

### Frameworks & tools
The tool is built with a standard-library-only Python script (`onboard.py`). It supports detection for Node.js, Python, Go, Rust, Docker, and Makefile-based projects.

### Why this beats prompting it yourself
Generic prompts often hallucinate setup steps or blindly trust outdated README files. This skill enforces a strict read-only execution policy and marks its own limitations, ensuring a new hire never follows a "guess" disguised as a command.

### Use cases
- **Fixing stale READMEs** by generating a fresh onboarding guide that reflects the actual code requirements.
- **Debugging new hire failures** by running a check on their machine to identify missing binaries or env keys.
- **Pre-flight checks** before demos or interviews to ensure a fresh clone boots correctly without tribal knowledge.
- **Environment audits** to find discrepancies between version manager pins and engine minimums.

### Known limitations
The tool is strictly read-only and will not install packages, run migrations, or start services. It probes for environment key existence only and never reads or prints actual values.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the First Run Doctor skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does 'First Run Doctor' differ from just asking an AI to summarize my README?

Unlike generic LLM prompts that might hallucinate commands, this skill performs a live, read-only audit of your local environment and codebase to verify which dependencies are actually missing or outdated.

### What technical dependencies are required to run this skill on my machine?

The skill is delivered as a lightweight, standard-library-only Python script, ensuring it runs on almost any system without requiring its own complex onboarding process.

### Which programming languages and package managers can this skill detect?

It natively supports version and dependency detection for Node.js, Python, Go, Rust, and Docker, as well as general build logic found in Makefiles.

### Will this skill automatically install missing dependencies or modify my system configuration?

No, the tool operates under a strict read-only policy; it identifies what is missing or broken but will never install packages, modify your PATH, or read the actual values of your sensitive environment variables.

### What exactly is included in the purchase of this skill?

You receive the core diagnostic script, a set of optimized prompts for generating the final guide, and documentation on how to integrate the output into your team's CI/CD or documentation workflow.

### Can I use this to troubleshoot a teammate's 'works on my machine' error?

It is highly effective for debugging new hire setup issues by generating a PASS/FAIL table that pinpoints exactly where a local environment deviates from the repository's requirements.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
