# Desk risk limits

> Desk risk limits is an open-source agent skill for finance and payments. Sets and enforces capital and daily loss limits for a trading desk's agents. 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-risk-limits
- **Repository:** https://github.com/swcstudiospace/pumpgrok
- **GitHub stars:** 93
- **License:** AGPL-3.0
- **Skill name:** desk-risk-limits
- **Collection:** https://github.com/swcstudiospace/PumpGrok
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-12-04

## About

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.

## 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-risk-limits)
- [License: AGPL-3.0](https://github.com/swcstudiospace/PumpGrok/tree/HEAD/skills/desk-risk-limits)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/desk-risk-limits` 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-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.

### Codex

Copy the skill folder to `~/.agents/skills/desk-risk-limits` 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-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.

### Cursor

Copy the skill folder to `~/.cursor/skills/desk-risk-limits` 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-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.

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [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 doctor](https://ai-powered.com/skills/desk-doctor): Desk doctor 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 trade lifecycle](https://ai-powered.com/skills/desk-trade-lifecycle): Desk trade lifecycle 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.
- [Kill switch](https://ai-powered.com/skills/kill-switch): Kill switch is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/desk-risk-limits
