Skip to content
Skill

Desk risk limits

Sets and enforces capital and daily loss limits for a trading desk's agents

Desk risk limits 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 risk limits

This skill guides an agent through an interview with the user to agree on capital and loss rules for the PumpGrok desk, covering throwaway capital, per-trade size, concurrent positions, a daily loss halt percentage, forbidden criteria and the preferred engagement level. The agreed numbers are written into a risk-limits.md file and into the risk block of an operator settings overlay, and changes are meant to go through a human-signed process rather than free text.

Once limits are on file, the skill tells the agent to refuse any trade ticket that breaches them, with no partial fills to squeeze under a limit, and to have the chief agent check the daily loss state before allowing new tickets. If no limits are agreed, the desk stays in research mode, and limits should be re-agreed when equity changes.

The skill references a policy document, the pumpgrok risk audit and state status CLI commands, and companion skills for per-ticket risk gating and desk monitoring. It is written for the PumpGrok desk setup and relies on that project's tooling.

When your agent uses it

Interview the user, write, and enforce the capital and loss rules for the PumpGrok desk. Produces risk-limits.md. Used primarily by RISK and CHIEF.

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 (2 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-risk-limits 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-risk-limits &&
cp -R "$tmp/skills/desk-risk-limits" ~/.claude/skills/desk-risk-limits &&
rm -rf "$tmp"

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/desk-risk-limits 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-risk-limits &&
cp -R "$tmp/skills/desk-risk-limits" ~/.agents/skills/desk-risk-limits &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/desk-risk-limits 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-risk-limits &&
cp -R "$tmp/skills/desk-risk-limits" ~/.cursor/skills/desk-risk-limits &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/desk-risk-limits inside it instead.

Cursor docs on skills

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-risk-limits

Or copy the folder to ~/.gemini/skills/desk-risk-limits yourself.

Gemini CLI docs on skills

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

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

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

VS Code docs on skills

Get the folder:

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

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

The SKILL.md format

What it does

Guided limit interview
Asks the user for capital cap, trade size, position count, loss halt and forbidden criteria.
Risk limits file
Writes the agreed numbers into a risk-limits.md file and the settings overlay.
Ticket enforcement
Refuses any trade ticket that violates the agreed limits without exceptions.
Daily loss halt
Has the chief agent check the daily loss state before new tickets are allowed.
Re-interview on change
Requires fresh confirmation when equity changes or limits are modified.

Good for

  • Set a maximum throwaway capital and per-trade size for a trading desk
  • Check whether a proposed trade ticket breaches the agreed limits
  • Review the daily loss halt before opening new positions
  • Update the desk's forbidden criteria after a human sign-off

Desk risk limits FAQ

What does the skill need from the user before Desk risk limits runs?

It interviews the user for maximum throwaway capital, maximum size per trade, maximum concurrent open positions, daily loss halt percentage, forbidden criteria and preferred engagement level.

What happens if no limits have been agreed?

The desk stays in research mode and nothing advances to trade tickets until limits are on file.

Can the agent change the limits on its own?

No. Changes require new human confirmation and are written through a human-signed change rather than free text.

Which tools does Desk risk limits depend on?

It lists the risk.check_limits tool and the pumpgrok risk audit and state status CLI commands, and it references a risk policy document.

How do I install Desk risk limits in Claude Code?

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

Does Desk risk limits 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 risk limits?

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 risk limits?

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

Where this comes from

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

More from swcstudiospace/PumpGrok

  1. Guides an agent through safe browsing, human hand-off for CAPTCHAs and logins, and session

    • Open source
    • 93 GitHub stars
    • Browser automation
  2. Renders scheduled daily and weekly desk reports from a ledger and delivers them

    • Open source
    • 93 GitHub stars
    • Finance and payments
  3. Checks a trading desk's operator inputs, seat grants and prompt drift before work starts

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

    • Open source
    • 93 GitHub stars
    • Finance and payments
  5. Standard folder layout and append-only journal rules for PumpGrok bots

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

    • Open source
    • 93 GitHub stars
    • Developer tools