
Doctor
Checks whether your machine and repo are ready to run the Forgeline factory
Doctor is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 8
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Doctor
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (493 bytes) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the forgeline plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add Nabwinsaud/forgeline
/plugin install forgeline@forgelineOr copy only this skill to ~/.claude/skills/doctor:
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.
Copy the skill folder to ~/.agents/skills/doctor to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/doctor to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/Nabwinsaud/forgeline.git --path skills/doctorOr copy the folder to ~/.gemini/skills/doctor yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/doctor:
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.
Get the folder:
git clone --depth 1 https://github.com/Nabwinsaud/forgeline.gitThen copy forgeline/skills/doctor into your agent's skills folder as doctor. Agents that support SKILL.md read one folder per skill.
What it does
- 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
Doctor 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.
More from Nabwinsaud/forgeline

Gives agents conventions for designing HTTP/JSON endpoints, errors and pagination
- Open source
- 8 GitHub stars
- Developer tools

Records a human approve, reject or retry decision on a paused Forgeline job
- Open source
- 8 GitHub stars
- Developer tools

Gives a read-only reviewer agent a prioritized procedure for checking factory PRs
- Open source
- 8 GitHub stars
- Developer tools

Guides agents through safe Postgres schema changes, backfills and sqlc regeneration
- Open source
- 8 GitHub stars
- Databases

Turns one sentence into a Forgeline job that runs through to a reviewed PR
- Open source
- 8 GitHub stars
- Developer tools

Guides an agent to write and run Playwright end-to-end tests for acceptance criteria
- Open source
- 8 GitHub stars
- Developer tools

