# Qual doctor

> Qual doctor is an open-source agent skill for sales and crm. Diagnoses and tunes qualification agents using known-fit prospect tests. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/octavehq/lfgtm/tree/main/skills/qual-doctor
- **Repository:** https://github.com/octavehq/lfgtm
- **GitHub stars:** 11
- **License:** MIT
- **Skill name:** qual-doctor
- **Collection:** https://github.com/octavehq/lfgtm
- **Categories:** [sales and CRM](https://ai-powered.com/categories/sales-and-crm)
- **Listing updated:** 2026-12-01

## About

Qual Doctor is a tuning skill for qualification agents that score prospects. It tests a saved agent against prospects already known to fit, breaks down how each question and weight contributes to the scores, and suggests concrete edits to questions, weights and entity descriptions. The skill is interactive: it walks through choosing the agent, picking sections to examine, collecting test cases and then running the diagnosis.

The workflow centers on a task method document that the skill reads before doing anything. It asks the agent to check the workspace and the saved agent configuration, keep raw answers separate from evidence states so a missing answer is not recorded as a failed check, and use both diagnostic and held-out cases. It also looks at how a change would affect other agents that share the same configuration, and it applies a change only when it has been authorized and reads the result back to confirm it.

It expects access to the qualification agent and its test prospects, and it relies on supporting reference templates for the per-mismatch and summary write-ups. No scripts are included in the skill folder. It is published in the lfgtm repository under MIT, and the SKILL.md is designed to be loaded from a Claude Code plugin marketplace.

## When your agent uses it

> Diagnose and tune qualification agents by testing against known-fit prospects, analyzing per-question scoring patterns, and recommending specific changes to questions, weights, and entity descriptions. Use when user says "tune my qualification", "qual doctor", "fix qualification scores", "qualification isn't working", "scores are off", "tune scoring", or asks to improve how qualification agents score prospects.

## What it can access

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

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

## Features

- **Known-fit prospect testing:** Runs the qualification agent against prospects already known to be good fits to see where scoring goes wrong.
- **Per-question scoring analysis:** Breaks down how each question contributes to a prospect's score to locate the source of mismatches.
- **Specific tuning recommendations:** Suggests targeted edits to questions, weights and entity descriptions rather than general advice.
- **Held-out validation cases:** Keeps separate test cases so that tuned changes are checked against prospects not used during diagnosis.
- **Shared agent impact check:** Looks at how a proposed change may affect other agents that use the same configuration.
- **Authorized change readback:** Applies only approved changes and reads the saved configuration back to confirm them.

## Good for

- Fix qualification scores that rank good prospects too low
- Find which qualification question is pushing scores in the wrong direction
- Adjust question weights after a qualification agent starts scoring poorly
- Rewrite entity descriptions so the agent recognizes the right prospects
- Check whether a scoring change breaks other agents sharing the same setup

## Install

### Claude Code

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

```sh
/plugin marketplace add octavehq/lfgtm
/plugin install octave@lfgtm
```

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

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/qual-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/octavehq/lfgtm.git --path skills/qual-doctor
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/octavehq/lfgtm.git
```

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

## FAQ

### How does the skill get triggered?

It activates when you say things like "tune my qualification", "qual doctor", "scores are off" or "tune scoring", or ask to improve how a qualification agent scores prospects.

### Does Qual doctor run without arguments?

Yes. The skill takes no arguments and is fully interactive, guiding you through agent selection, section choice, test case collection and diagnosis.

### Which tools does Qual doctor require?

The skill does not set a list of allowed tools. It has no bundled scripts, and it is distributed as a Claude Code plugin from the lfgtm marketplace.

### What license applies?

The lfgtm repository is released under the MIT license.

### How do I install Qual doctor in Claude Code?

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

### Does Qual 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 Qual doctor?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

## Where this comes from

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

## Alternatives

- [Prospector](https://ai-powered.com/skills/prospector): Prospector is an open-source agent skill for sales and crm.

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