# Trader risk

> Trader risk is an open-source agent skill for finance and payments. Blocks trade orders that break your loss, size or timing limits before they are proposed. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/Merrymen-Labs/merrymen/tree/main/plugins/merrymen-trader/skills/trader-risk
- **Repository:** https://github.com/merrymen-labs/merrymen
- **GitHub stars:** 52
- **License:** MIT
- **Skill name:** trader-risk
- **Collection:** https://github.com/Merrymen-Labs/merrymen
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-12-01

## About

Trader-risk sits between a proposed order and Merrymen. It runs a Python script (check.py) that reads the order file, the limits config, portfolio and price snapshots, and Merrymen agent status and quote results, then prints PASS or BLOCK for each order with the reason. Orders are checked in file order as if earlier passing orders had filled, so a batch that breaks a limit only together is caught.

For day trades the checks cover a required stop, maximum loss at the stop measured from the higher of the plan entry and a fresh price, minimum reward-to-risk, daily loss and trade-count limits, and an entry window in New York time. Basic checks cover blocked tickers, order size, position cap, cash buffer, short sales, options, crypto, duplicates and daily order limits. Exits such as sells that reduce a holding are never blocked by day limits.

It expects a local trader folder with JSON files and Python 3. Merrymen-specific checks read the agent snapshot, the stock-token registry and a recent quote_trade result, and warn when a token price drifts from the stock price. Verdicts are recorded so the broker skill only shows orders that passed.

## When your agent uses it

> Risk Manager. Checks every trade against your limits and your Merrymen agent's signed limits and stops anything over them, before it can become a Merrymen proposal. For a day trade: a stop is required, the loss at the stop must fit your max loss per trade (measured from the higher of the plan's entry and a fresh price), reward:risk must meet your minimum, the day's total risk must fit your daily loss limit, no more than your trades per day, and no new entries outside your entry window or when the market is closed. It also keeps the basics: blocked tickers, order size, position cap, cash buffer, margin, short sales, options and crypto, malformed orders, duplicates and a daily order limit. For Merrymen: the right agent, a fresh limits snapshot, paper config only with a paper agent, a permission that outlives the flat-by time, the signed per-trade limit and 24-hour budget, the registry token address, and a fresh quote whose price tracks the stock. Getting out is never blocked by a day limit. Prints PASS or BLOCK

## What it can access

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

- [Runs Python scripts](https://github.com/Merrymen-Labs/merrymen/tree/HEAD/plugins/merrymen-trader/skills/trader-risk)
- [No network calls found in its scripts](https://github.com/Merrymen-Labs/merrymen/tree/HEAD/plugins/merrymen-trader/skills/trader-risk)
- [License: MIT](https://github.com/Merrymen-Labs/merrymen/tree/HEAD/plugins/merrymen-trader/skills/trader-risk)

## Features

- **Stop and loss check:** Confirms each entry has a stop on the right side and that the loss at the stop fits the per-trade maximum.
- **Daily risk limits:** Totals the maximum losses and trade counts of today's entries against daily limits.
- **Entry window control:** Blocks new entries outside configured New York trading hours and on closed market days.
- **Basic order safeguards:** Checks blocked tickers, order size, position cap, cash buffer, margin, shorts and malformed orders.
- **Merrymen agent checks:** Verifies agent status, paper mode, permission expiry, signed limits, token address and quote freshness.
- **Verdict recording:** Saves a fingerprint of each verdict so an edited order must pass again before use.

## Good for

- Check whether a planned day trade fits my maximum loss per trade
- See how much of today's daily loss limit I have already used
- Confirm an order is not a duplicate of one placed earlier today
- Verify a Merrymen order uses the right agent and a fresh quote before proposing it
- Find out why a proposed order was blocked and what to change

## Install

### Claude Code

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

```sh
/plugin marketplace add Merrymen-Labs/merrymen
/plugin install merrymen-trader@merrymen
```

Or copy only this skill to `~/.claude/skills/trader-risk`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Merrymen-Labs/merrymen.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/trader-risk &&
cp -R "$tmp/plugins/merrymen-trader/skills/trader-risk" ~/.claude/skills/trader-risk &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Merrymen-Labs/merrymen.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/trader-risk &&
cp -R "$tmp/plugins/merrymen-trader/skills/trader-risk" ~/.agents/skills/trader-risk &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Merrymen-Labs/merrymen.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/trader-risk &&
cp -R "$tmp/plugins/merrymen-trader/skills/trader-risk" ~/.cursor/skills/trader-risk &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/trader-risk` 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/Merrymen-Labs/merrymen.git --path plugins/merrymen-trader/skills/trader-risk
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Merrymen-Labs/merrymen.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/trader-risk &&
cp -R "$tmp/plugins/merrymen-trader/skills/trader-risk" ~/.copilot/skills/trader-risk &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Merrymen-Labs/merrymen.git
```

Then copy `merrymen/plugins/merrymen-trader/skills/trader-risk` into your agent's skills folder as `trader-risk`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Trader risk need to run?

It runs a Python script (check.py) and reads JSON files in a local trader folder: orders, config, portfolio, prices and Merrymen snapshots.

### Does Trader risk place trades?

No. It only checks orders and prints PASS or BLOCK. The skill states that trading happens only through trader-broker and only after explicit approvals.

### Are sell orders always allowed?

Exits that reduce a holding are checked for format, asset and short sales only, so day-limit rules do not block getting out. Merrymen's own limits can still block some sells.

### Is Merrymen support always required?

No. Merrymen checks apply only when the order uses the Merrymen broker setting.

### How do I install Trader risk in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/trader-risk to use it in all your projects, or to .claude/skills/trader-risk in one project. Or install the merrymen-trader plugin, which includes it: /plugin marketplace add Merrymen-Labs/merrymen, then /plugin install merrymen-trader@merrymen.

### Does Trader risk run scripts?

Yes. It runs Python scripts. No network calls were found in its 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 Trader risk?

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

### What are the best alternatives to Trader risk?

The closest alternatives to Trader risk are Trader broker, Trader budget, Trader exit, Status and Week.

## Where this comes from

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

## Alternatives

- [Trader broker](https://ai-powered.com/skills/trader-broker): Trader broker is an open-source agent skill for finance and payments.
- [Trader budget](https://ai-powered.com/skills/trader-budget): Trader budget is an open-source agent skill for finance and payments.
- [Trader exit](https://ai-powered.com/skills/trader-exit): Trader exit is an open-source agent skill for finance and payments.
- [Status](https://ai-powered.com/skills/status-merrymen-labs): Status is an open-source agent skill for finance and payments.
- [Week](https://ai-powered.com/skills/week): Week is an open-source agent skill for finance and payments.
- [Trader alerts](https://ai-powered.com/skills/trader-alerts): Trader alerts is an open-source agent skill for finance and payments.
- [Token](https://ai-powered.com/skills/token): Token is an open-source agent skill for finance and payments.
- [Trader timemachine](https://ai-powered.com/skills/trader-timemachine): Trader timemachine is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/trader-risk
