# Doctor

> Doctor is an open-source agent skill for developer tools. Checks whether your machine and repo are ready to run the Forgeline factory. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Nabwinsaud/forgeline/tree/main/skills/doctor
- **Repository:** https://github.com/nabwinsaud/forgeline
- **GitHub stars:** 8
- **License:** MIT
- **Skill name:** doctor
- **Collection:** https://github.com/Nabwinsaud/forgeline
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill guides the agent through a readiness check for the Forgeline factory. It runs the forgeline doctor command and reviews the output, which covers installed tools, configuration, the base branch, tracker credentials and whether the domain harness is complete.

For each failed check, the agent gives a one-line explanation of the fix. Fixes that only change files inside the .factory/ folder can be applied after the agent asks. Credentials are never set by the agent; instead it tells the user which environment variable to export. Warnings are explained briefly so the user understands the trade-off.

The skill needs the forgeline command available in the shell and a repository that Forgeline is configured for. The skill is a single SKILL.md file with no bundled scripts.

## When your agent uses it

> Diagnose whether this machine and repo can run the Forgeline factory - tools, config, base branch, tracker credentials, domain harness completeness. Use when setup fails or before the first run.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Nabwinsaud/forgeline/tree/HEAD/skills/doctor)
- [License: MIT](https://github.com/Nabwinsaud/forgeline/tree/HEAD/skills/doctor)

## Features

- **Tool availability check:** Runs forgeline doctor to confirm the required command-line tools are present.
- **Configuration review:** Reports on Forgeline configuration in the repository and flags gaps.
- **Base branch verification:** Checks that the base branch the factory expects is set up correctly.
- **Tracker credential check:** Reports whether issue tracker credentials are present, without setting them.
- **Domain harness completeness:** Flags missing parts of the domain harness before the first run.
- **Guided fix suggestions:** Gives a one-line fix for each failure and offers to apply file changes in .factory/.

## Good for

- Why does my Forgeline setup fail?
- Check if this repo is ready before my first factory run
- Tell me which environment variable I need to export for the tracker
- Review the warnings from the factory doctor and explain them
- Fix the file changes needed in the .factory config folder

## Install

### Claude Code

This skill ships in the `forgeline` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Nabwinsaud/forgeline
/plugin install forgeline@forgeline
```

Or copy only this skill to `~/.claude/skills/doctor`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/doctor &&
cp -R "$tmp/skills/doctor" ~/.claude/skills/doctor &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/doctor` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/doctor` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/doctor &&
cp -R "$tmp/skills/doctor" ~/.agents/skills/doctor &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/doctor` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/doctor` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/doctor &&
cp -R "$tmp/skills/doctor" ~/.cursor/skills/doctor &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/doctor` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Nabwinsaud/forgeline.git --path skills/doctor
```

Or copy the folder to `~/.gemini/skills/doctor` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/doctor`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/doctor &&
cp -R "$tmp/skills/doctor" ~/.copilot/skills/doctor &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/doctor` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.git
```

Then copy `forgeline/skills/doctor` into your agent's skills folder as `doctor`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should I use Doctor?

Use it when Forgeline setup fails or before the first run, to check that the machine and repo are ready.

### Will the agent change my credentials?

No. The skill tells you which environment variable to export and does not set credentials itself.

### Which changes can the agent apply on its own?

Only fixes that are file changes inside the .factory/ folder, and only after it offers them to you.

### Does the skill include scripts?

No, it is a single SKILL.md file. It runs the forgeline doctor command that Forgeline provides.

### How do I install Doctor in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/doctor to use it in all your projects, or to .claude/skills/doctor in one project. Or install the forgeline plugin, which includes it: /plugin marketplace add Nabwinsaud/forgeline, then /plugin install forgeline@forgeline.

### Does Doctor run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Doctor?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Doctor?

The closest alternatives to Doctor are Init, Learn, Run, Report and Status.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Init](https://ai-powered.com/skills/init-nabwinsaud): Init is an open-source agent skill for developer tools.
- [Learn](https://ai-powered.com/skills/learn-nabwinsaud): Learn is an open-source agent skill for developer tools.
- [Run](https://ai-powered.com/skills/run): Run is an open-source agent skill for developer tools.
- [Report](https://ai-powered.com/skills/report-nabwinsaud): Report is an open-source agent skill for developer tools.
- [Status](https://ai-powered.com/skills/status-nabwinsaud): Status is an open-source agent skill for developer tools.
- [Do](https://ai-powered.com/skills/do-nabwinsaud): Do is an open-source agent skill for developer tools.
- [Setup matt pocock skills](https://ai-powered.com/skills/setup-matt-pocock-skills): Setup matt pocock skills is an open-source agent skill for developer tools.
- [Validate skills](https://ai-powered.com/skills/validate-skills): Validate skills is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/doctor-nabwinsaud
