
Desk doctor
Checks a trading desk's operator inputs, seat grants and prompt drift before work starts
Desk doctor is an open-source agent skill for finance and payments. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 93
- Last commit
- License
- AGPL-3.0
- Listing updated
Similar skills
About Desk doctor
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.
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 (6 KB) on GitHub on 5 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
Copy the skill folder to ~/.claude/skills/desk-doctor to use it in all your projects:
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.
Copy the skill folder to ~/.agents/skills/desk-doctor to use it in every repository:
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.
Copy the skill folder to ~/.cursor/skills/desk-doctor to use it in every project:
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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/swcstudiospace/PumpGrok.git --path skills/desk-doctorOr copy the folder to ~/.gemini/skills/desk-doctor yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/desk-doctor:
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.
Get the folder:
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.gitThen copy PumpGrok/skills/desk-doctor into your agent's skills folder as desk-doctor. Agents that support SKILL.md read one folder per skill.
What it does
- 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
Desk doctor 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.
More from swcstudiospace/PumpGrok

Guides an agent through safe browsing, human hand-off for CAPTCHAs and logins, and session
- Open source
- 93 GitHub stars
- Browser automation

Renders scheduled daily and weekly desk reports from a ledger and delivers them
- Open source
- 93 GitHub stars
- Finance and payments

Enforces a strict single-send checklist for trading bots placing approved paper orders
- Open source
- 93 GitHub stars
- Finance and payments

Standard folder layout and append-only journal rules for PumpGrok bots
- Open source
- 93 GitHub stars
- Developer tools

Fail-closed playbooks that halt, freeze or escalate when a PumpGrok desk fails
- Open source
- 93 GitHub stars
- Developer tools

Gives an agent a status view of a trading desk: positions, exposure, P&L and breaker state
- Open source
- 93 GitHub stars
- Finance and payments


