hyperliquid-positions SKILL.md skillA

hyperliquid-positions from galleonlabs/hypergrok-trading-desk is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add galleonlabs/hypergrok-trading-desk/hyperliquid-positions@v1.1.1

Pins v1.1.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
galleonlabs/hypergrok-trading-desk
Path
skills/hyperliquid-positions/SKILL.md
Versions recorded
3
Latest version
v1.1.1, committed Oct 25, 2026
First version recorded
Aug 16, 2026
Size
9,996 bytes
Repository stars
387
License
MIT

Manage Hyperliquid perp positions and margin from the desk computer - read positions and margin, set leverage and cross/isolated mode, add isolated margin, understand margin tiers and liquidation price, close a position with a reduce-only IOC, and clean up orphaned orders. Write actions are Execution Trader only, on an approved ticket. Use for leverage changes, closes, protection checks and margin questions.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Hyperliquid positions and margin

Reads here are for everyone (Risk Manager first); the write actions (`updateLeverage`, `updateIsolatedMargin`, closes) are Execution Trader only, on a ticket. Order mechanics are in `hyperliquid-orders`.

## Concepts

- **Cross margin** (default): all cross positions share the account's margin, and unrealised PnL counts as margin; liquidation is account-wide. **Isolated margin:** the position has its own margin; only that margin is at risk, and you can add to or remove from it (some markets are `strictIsolated` and refuse removal; HIP-3 markets may be `noCross`).
- **Leverage** is set per market and per mode with `updateLeverage`; it caps position size against margin, it is not "how much you win". Max leverage is per market and **tiered by notional** (see margin tiers).
- **Margin tiers:** each perp has a margin table (`meta.marginTables`, matched to the asset via `marginTableId`) listing notional thresholds and the max leverage allowed above each. Bigger positions get less leverage.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add galleonlabs/hypergrok-trading-desk/hyperliquid-positions@sha256:057dfe1731b6db7e

The line at the top of this page pins the label v1.1.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_b43jdobfr3w34fuk.svg)](https://markdownregistry.com/a/art_b43jdobfr3w34fuk)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Aug 16, 2026 and Oct 25, 2026, about one every 35 days.

versioncommittedcommitsizeaudit
v1.1.1 latest2026-10-25 57bfd65 9,996 BA view · diff
v1.1.02026-08-29 178de04 10,036 BA view · diff
v1.0.02026-08-16 1ead2e4 9,152 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9996 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

galleonlabs/hypergrok-trading-desk · 387 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_b43jdobfr3w34fuk
GET https://markdownregistry.com/api/v1/resolve?ref=galleonlabs/hypergrok-trading-desk/hyperliquid-positions
GET https://markdownregistry.com/api/v1/blob/057dfe1731b6db7e0206bf37b75590cf9afcec1a86e61632bb5aacf7c492f8e8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from galleonlabs/hypergrok-trading-desk

AGENTS.md AGENTS.md file
galleonlabs/hypergrok-trading-desk · AGENTS.md
git:20261030.75a4c79 · audit A · 387 stars
CLAUDE.md CLAUDE.md file
galleonlabs/hypergrok-trading-desk · CLAUDE.md
git:20261010.905c5ed · audit B · 387 stars
desk-execution-protocol SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-execution-protocol/SKILL.md · The Execution Trader's procedure for turning an approved ticket into one Hyperliquid action and reconciling it - the…
v1.1.3 · audit A · 387 stars
desk-incident-response SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-incident-response/SKILL.md · What the desk does when something goes wrong on Hyperliquid - unknown send results, unexpected fills or positions…
v1.1.2 · audit A · 387 stars
desk-monitoring SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-monitoring/SKILL.md · How the desk watches markets and the account between trades using Grok Bot routines and WebSocket or polling watches -…
v1.1.2 · audit A · 387 stars
desk-operating-model SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-operating-model/SKILL.md · How the HyperGrok trading desk works as a team of Grok Bots - roles, seats, shared workspace, evidence standard…
v1.1.3 · audit A · 387 stars
desk-post-trade-review SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-post-trade-review/SKILL.md · The Trade Reviewer's procedure for journaling desk activity and reviewing trades from the exchange record - process…
v1.0.2 · audit A · 387 stars
desk-risk-limits SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-risk-limits/SKILL.md · How the Risk Manager writes the desk's risk limits with the user, sizes every proposed trade from live account state…
v1.1.3 · audit A · 387 stars
desk-strategy-lab SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-strategy-lab/SKILL.md · How the Strategist works with the user to turn their own trading idea into explicit rules, backtest it honestly on…
v1.2.0 · audit A · 387 stars
desk-trade-lifecycle SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/desk-trade-lifecycle/SKILL.md · The end-to-end procedure for one trade on the HyperGrok desk - from an idea to a reviewed, journaled result - with the…
v1.1.2 · audit A · 387 stars
hypergrok-bootstrap SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/hypergrok-bootstrap/SKILL.md · Build and verify a HyperGrok trading desk from the pinned public release. Use for first-run setup, repair, or a…
v1.0.13 · audit A · 387 stars
hyperliquid-account SKILL.md skill
galleonlabs/hypergrok-trading-desk · skills/hyperliquid-account/SKILL.md · Read a Hyperliquid account from the desk computer - positions and margin, spot balances, open orders including trigger…
v1.0.2 · audit A · 387 stars

Every file in galleonlabs/hypergrok-trading-desk

Browse by kind, by grade A, or by owner.