desk-strategy-lab

desk-strategy-lab is a skill for Claude Code from galleonlabs/hypergrok-trading-desk. It costs 82 tokens per session (2,331 once invoked), scanned A, original, MIT.

A guided workspace for turning a personal trading idea into written rules, testing it against Hyperliquid market history, and paper-trading it on a test network.

In plain words
What is it for?
It helps define entry, exit, stop-loss, and data rules; run readable backtests; record each run; and paper-trade the idea through the desk process.
Why use it?
It makes the idea explicit and shows whether it held up in past data before real money is put at risk. It also keeps the test results and reasons for abandoning an idea recorded.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hypergrok plugin — 17 skills, 7 agents shipped together

Good fit It helps define entry, exit, stop-loss, and data rules; run readable backtests; record each run; and paper-trade the idea through the desk process.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/galleonlabs/hypergrok-trading-desk/desk-strategy-lab
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add galleonlabs/hypergrok-trading-desk --skill desk-strategy-lab
Clone the repo
git clone --depth 1 https://github.com/galleonlabs/hypergrok-trading-desk

Made for: Claude Code.

Or install hypergrok, the plugin that ships this one along with the rest of its 17 skills, 7 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for desk-strategy-lab

README.md
[![agentmods](https://agentmods.dev/badge/skills/galleonlabs/hypergrok-trading-desk/desk-strategy-lab/github.svg)](https://agentmods.dev/skills/galleonlabs/hypergrok-trading-desk/desk-strategy-lab)
Your own site
<a href="https://agentmods.dev/skills/galleonlabs/hypergrok-trading-desk/desk-strategy-lab"><img src="https://agentmods.dev/badge/skills/galleonlabs/hypergrok-trading-desk/desk-strategy-lab/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for desk-strategy-lab

Your own site · 80×15
<a href="https://agentmods.dev/skills/galleonlabs/hypergrok-trading-desk/desk-strategy-lab"><img src="https://agentmods.dev/badge/skills/galleonlabs/hypergrok-trading-desk/desk-strategy-lab.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,331 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.02331
Opus 5 $0.00041 $0.01166
Sonnet 5 $0.00016 $0.00466
Haiku 4.5 $0.00008 $0.00233

Measured 12d ago against content hash 43c08289dd25, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

desk-strategy-lab scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/desk-strategy-lab/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Strategy lab

The lab exists so the user can find out whether their idea holds up before risking money on it. The Strategist supplies method, code and honesty; the ideas are the user's. Nothing here recommends what to trade.

Workspace

/workspace/trading-desk/strategies/<name>/
  RULES.md          the rules, in words, agreed with the user before any code
  data.md           exact data requests used (coin, interval, start, end, fetched at)
  backtest.py       readable, single-file backtest
  runs/YYYY-MM-DD-HHMM.md   one file per run: parameters, results, caveats
  POSTMORTEM.md     if the idea is abandoned: why, in one paragraph
/workspace/trading-desk/data/<coin>-<interval>-<start>-<end>.csv   fetched by the Market Analyst or the Strategist

1. Rules first

Interview the user until every field is unambiguous. Write RULES.md:

# funding-fade-v1

- universe: ETH, BTC, SOL perps on Hyperliquid
- data: 4h candles (close), hourly funding from fundingHistory
- entry: when the average hourly funding over the last 8 hours is above +0.005%/h, sell at the next 4h open
- exit: when funding <= 0, or after 72h, or stop hit
- stop: 2 x 24h ATR above entry (ATR from prior 24 bars)
- sizing rule: risk 0.5% of equity to the stop (the desk's limits apply on top)
- one position per market; no adds
- what would make me abandon this: no edge after fees on 12 months of data across 3 markets

If a rule needs "it depends", it is not a rule yet. Do not proceed to code.

When the idea comes from outside

Most ideas arrive as a claim, not a rule: a repository of indicator settings, a thread with a chart, a video, a screenshot of an equity curve. A claim is a candidate for RULES.md; it is never a result the desk inherits. Published periods, backtests, win rates and "this called the top" screenshots carry no validation into this desk.

Before an imported claim becomes a draft thesis, the user and the Strategist freeze all of it, in writing:

  1. Instrument and venue. A Hyperliquid perp does not inherit an equity-index or spot claim.
  2. Timeframe and how a bar is closed; which session, which exchange's clock.
  3. Price field and the exact formula, including how the first values are seeded.
  4. The transition rule and every abstention case, not just the entry.
  5. Next observable entry, signal expiry, mandatory stop, target and time exit.
  6. Costs, funding, spread, slippage and what happens to a rejected or partial fill.
  7. The full family the claim came from: every parameter set, asset and timeframe that was tried before this one was presented. That count is the multiplicity correction below.
  8. Chronological in-sample and out-of-sample boundaries and an untouched holdout.
  9. A prospective paper-trade duration agreed before the first run.

Read the full file on GitHub · 122 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 122 lines · 82 tokens per session scan A 43c08289dd25

Subscribe to this mod's changes

desk-strategy-lab is a skill published in the GitHub repository galleonlabs/hypergrok-trading-desk (60 stars, last pushed 2d ago), licensed MIT. It adds 82 tokens to every session and 2,331 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hyperliquid

Use when backtesting, deploying, checking funding readiness, or debugging a Hyperliquid strategy through Superior Trade Unified API — writing Freqtrade configs and strategy code, running sweeps, checking managed-wallet balances, trading HIP-3 perps, or diagnosing a deployment that will not start or trade.

Superior-Trade/superior-skills · 64 tokens

polymarket

Use when the user wants to trade, research, or backtest Polymarket prediction markets through Superior Trade — finding markets by slug or event URL, placing a single immediate market order, writing NautilusTrader strategies, running filled-data backtests, funding pUSD, or deploying and monitoring a live Polymarket…

Superior-Trade/superior-skills · 68 tokens

backtesting

Use when running, interpreting, or designing backtests on Superior Trade — anything about backtest windows, trade-count thresholds, exit-reason mix, parameter sweeps, walk-forward validation, zero-trade diagnosis, compute-cost estimation, or "is this backtest result trustworthy?". Pair with the relevant strategy…

Superior-Trade/superior-skills · 73 tokens

fees-optimizations

Use when the user asks about fees, fee optimization, slippage, maker vs taker, post-only or ALO orders, fee tiers, builder code fees, effective spread, order pricing, lowering trading costs, or why a live Hyperliquid Freqtrade strategy underperforms its backtest. Also use proactively for high-turnover designs (5m or…

Superior-Trade/superior-skills · 94 tokens

aerodrome

Use when creating, validating, backtesting, deploying, sizing, or troubleshooting Aerodrome/Base spot trading strategies through the Superior Trade API, especially Freqtrade configs using exchange.name "aerodrome", AERO/USDC or CHECK/USDC pairs, AMM market swaps, wallet/gas balance checks, no-orderbook pricing, or…

Superior-Trade/superior-skills · 83 tokens

basis-arb

Use when the user asks for spot-perp basis trade, basis arbitrage, cash-and-carry, perp discount, or any setup that reads the spot–perp basis as a positioning signal. Long-perp leg only — pure two-leg basis arb requires a paired spot short (or long) which Freqtrade can't run cleanly. The strategy below captures the…

Superior-Trade/superior-skills · 87 tokens