/hypergrok:desk-post-trade-reviewfrom hypergrok
Journals desk activity and reviews trades from exchange records, separating process from outcome. Use after a trade closes, on a weekly routine, or when asking 'how did that go'.
Ships in hypergrok. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The journal is the desk's memory; the review is how the desk learns. Both come from the exchange record first and chat second, and both keep process and outcome apart.
/workspace/trading-desk/journal/YYYY-MM-DD.md, one file per active day, appended in time order. Entry types:
14:02 UTC HG-20260816-01 opened ETH-PERP long idea (user); status evidence
14:12 UTC HG-20260816-01 risk PASS 0.4827 ETH, stop 2,900, 0.5% risk stressed (risk-limits v3)
14:29 UTC HG-20260816-01 approval "approve HG-20260816-01" (user)
14:31 UTC HG-20260816-01 sent buy 0.4827 @ 3,000 Gtc + sl 2,900 (normalTpsl); cloid 0x9f3e...; oid 1839201122, sl waitingForFill
16:05 UTC HG-20260816-01 fill 0.4827 @ 3,000.0 maker, fee $0.22
08:24 UTC HG-20260816-01-B sent tp trigger 3,090 (market) sell 0.4827 reduce-only (PASS 08:20, approved by id 08:23); oid 1839977410
09:12 UTC HG-20260816-01 closed tp 3,089.6 taker, fee $0.67; position flat; sl 2,900 cancelled 09:13
10:00 UTC limits risk-limits v3 -> v4: max positions 3 -> 4 (user, reason: adding HYPE)
11:40 UTC incident INC-20260817-01 send timeout on HG-20260817-02; not on exchange, waited out expiresAfter 11:41, re-checked clean; fresh ticket HG-20260817-02-B passed, approved and sent 11:47
18:00 UTC note maker entries at 10 bps depth filled within 2h on both attempts this week
Under a standing mandate, the approval line names the mandate instead of the user, and suspensions use a fixed form that scripts/standing_mandate.py reads:
08:15 UTC HG-20261116-03 approval mandate 2026-11-16 sha 5cbb094fee79f518 (mandate check all ok)
14:05 UTC mandate suspended mandate 2026-11-16 reason daily-loss-stop day pnl -2.1% of start-of-day equity
Rules: append only; corrections are new lines with correction:; every line has a UTC time and an id where one exists; no opinions in the journal (those go in reviews).
Trigger: a proposal reaches closed, or the user asks. Inputs, always listed with timestamps:
userFills / userFillsByTime for the window: price, size, fee, side, crossedhistoricalOrders and orderStatus by cloid: what rested when, what cancelleduserFunding for the holding windowCompute:
| Measure | How |
|---|---|
| Entry slippage | (fill avg - ticket price) / ticket price in bps, signed against the trade |
| Exit slippage | same for the exit versus its ticket or trigger price |
| Fees | sum of fill fees in USD and as bps of notional; note maker vs taker |
| Funding | sum of funding payments over the window, USD |
| Net result | realised PnL after fees and funding, in USD and in R (R from the ticket) |
| Protection | was a reduce-only stop resting on the exchange for the entire life of the position? gaps in minutes |
| Lifecycle | each stage present, in order, with timestamps; approval by id or a passing mandate check; single send; reconciled |
| Holding time | fill to flat |
Grade:
Then one thing: a leak, a control that worked, or a break, chosen because it is repeatable. Not a list.
Write the review under ## review in the proposal file and send the block (format in agents/trade-reviewer.md) by DM to the Desk Lead and the user. Set status: closed.
From the journal, proposals and the exchange record for the week:
portfolio or start/end equityNo recommendations about what to trade. If the user asks, hand strategy questions to the Strategist and sizing questions to the Risk Manager.
For each INC-YYYYMMDD-NN: timeline (journal + exchange record), what the desk did, what the controls did, exposure during the incident, root cause where knowable, one corrective action with an owner and a date. Blameless in tone, exact in fact. Written to /workspace/trading-desk/journal/incidents/<id>.md and linked from the daily journal.
What SKILL.md sets; muted values are Claude Code's defaults
17 skills in this plugin
/desk-execution-protocolThe Execution Trader's procedure for turning an approved ticket into one Hyperliquid action and reconciling it - the pre-send checklist, order construction rules, single-send discipline, unknown-result handling and the execution report. Use before and after every send, cancel, modify, leverage change or close./desk-incident-responseWhat the desk does when something goes wrong on Hyperliquid - unknown send results, unexpected fills or positions, unprotected positions, stuck or orphaned orders, API outages, rate limiting, and suspected API wallet compromise. Contain first, reconcile from the exchange record, act only through approved tickets, then review. Use the moment anything does not match the ticket./desk-npx claudepluginhub galleonlabs/hypergrok-trading-desk --plugin hypergrokOther plugins' skills for the same job