# Desk doctor

> Desk doctor is an open-source agent skill for finance and payments. Checks a trading desk's operator inputs, seat grants and prompt drift before work starts. 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/swcstudiospace/PumpGrok/tree/main/skills/desk-doctor
- **Repository:** https://github.com/swcstudiospace/pumpgrok
- **GitHub stars:** 93
- **License:** AGPL-3.0
- **Skill name:** desk-doctor
- **Collection:** https://github.com/swcstudiospace/PumpGrok
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-12-04

## About

Desk Doctor is a pre-flight routine for the PumpGrok trading desk. It runs the doctor command in JSON form as a gate: every required operator input for the effective mode must be present, and any forbidden input that is set causes a failure. The text report is read separately for the mode, subsystem warnings and the RPC source, but its exit code is not treated as a health signal.

The skill walks the agent through a fixed sequence. It confirms the gate passes, checks the subsystem report, verifies prompt drift by running the assembly and template generation checks against the prompts directory, and lists seat tool grants. Only tools with a recorded allow decision count as granted; anything else is treated as off limits and not worked around. It also requires the effective mode to be paper, and tells the agent to escalate rather than trade if a live path appears. A passing gate output is stored with the receipt check before the first ticket of a session.

The skill expects a checkout of the PumpGrok repository with uv available, and runs Python scripts and shell scripts from the repo. It reads environment variable names but never prints or pastes key values.

## When your agent uses it

> Run `pumpgrok doctor --json` to prove the operator inputs for the effective mode before any trading claim, and run the prompt drift checks before trusting a seat's instructions.

## What it can access

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

- [Instructions only, no scripts](https://github.com/swcstudiospace/PumpGrok/tree/HEAD/skills/desk-doctor)
- [License: AGPL-3.0](https://github.com/swcstudiospace/PumpGrok/tree/HEAD/skills/desk-doctor)

## Features

- **Operator input gate:** Runs the doctor JSON check and reads each input's requirement, status and source to find failures.
- **Prompt drift checks:** Runs the prompt assembly and template generation checks to confirm seats use sources from prompts/.
- **Seat tool grant review:** Lists each seat's roster tools and treats only granted tools as usable.
- **Paper mode enforcement:** Requires the effective mode to be paper and escalates if any live path is reported.
- **Receipt attachment:** Stores the passing doctor output in the receipt chain before the first ticket of a session.
- **Failure response table:** Maps common failures such as missing keys or unbound authority to a fix or escalation step.

## Good for

- Check that the trading desk is healthy before starting a session
- Find which operator input is missing after a failed doctor run
- Confirm prompt files match their generated agent instructions
- Review which tools a trading seat is allowed to use
- Verify the desk is still in paper mode before placing tickets

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/desk-doctor` to use it in all your projects:

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

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

### Codex

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

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

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

### Cursor

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

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git
```

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

## FAQ

### What does the skill need to run?

It needs the PumpGrok repository with uv available, since it runs the uv-based doctor, onboarding and prompt check commands.

### Does Desk doctor change anything on the desk?

The doctor and check commands are read-only. The skill asks the agent to store the passing output with the receipt check and to record access decisions only through the operator.

### When does the skill apply?

It applies before any trading claim is made and before a seat's instructions are trusted, as described in its trigger.

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

Copy the skill folder from GitHub to ~/.claude/skills/desk-doctor to use it in all your projects, or to .claude/skills/desk-doctor in one project.

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

The closest alternatives to Desk doctor are Pumpgrok setup, Desk operating model, Desk strategy lab, Desk monitoring and Desk execution protocol.

## Where this comes from

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

## Alternatives

- [Pumpgrok setup](https://ai-powered.com/skills/pumpgrok-setup): Pumpgrok setup is an open-source agent skill for finance and payments.
- [Desk operating model](https://ai-powered.com/skills/desk-operating-model): Desk operating model is an open-source agent skill for finance and payments.
- [Desk strategy lab](https://ai-powered.com/skills/desk-strategy-lab): Desk strategy lab is an open-source agent skill for finance and payments.
- [Desk monitoring](https://ai-powered.com/skills/desk-monitoring): Desk monitoring is an open-source agent skill for finance and payments.
- [Desk execution protocol](https://ai-powered.com/skills/desk-execution-protocol): Desk execution protocol is an open-source agent skill for finance and payments.
- [Desk risk limits](https://ai-powered.com/skills/desk-risk-limits): Desk risk limits is an open-source agent skill for finance and payments.
- [Grokbot pipeline](https://ai-powered.com/skills/grokbot-pipeline): Grokbot pipeline is an open-source agent skill for finance and payments.
- [Live gate procedure](https://ai-powered.com/skills/live-gate-procedure): Live gate procedure is an open-source agent skill for finance and payments.

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