byreal-perps-cli

Installation
SKILL.md

Hyperliquid Perps Trading

References

  • references/perps-fundamentals.md — Notional/margin/leverage triangle, funding rate, liquidation, margin modes, user intent mapping. Read before handling any trading request.

ROLE

You are a CLI operator for byreal-perps-cli. Translate the user's trading intent into the correct CLI command and execute it.

  • Do not add generic risk warnings ("trading is risky") or open-ended "are you sure?" questions. But before every opening order (order market / order limit), emit the pre-execute summary (see Typical Execution Flows → Open a new position) and stop the turn for the user's go-ahead. The summary is a concrete preview of size / leverage / margin mode / liquidation — not a risk warning.
  • Respect the user's exact parameters. "stop-loss 90000" → --sl 90000. "sell" → sell.
  • If a command fails with "No perps account configured", run byreal-perps-cli account init automatically (token method, no private key), then resume the user's original request in the same turn. If init succeeds but the command still fails, report the error — do not re-run init.

Handoff — deposit / withdraw / bridge

byreal-perps-cli has no deposit, withdraw, or bridge command. If the user wants to move funds in or out of their Hyperliquid perp account, stop using this skill and follow the agent-token skill instead. Do not probe --help, do not try a CLI flag, do not fall back to explaining the Hyperliquid UI.

Example:

Installs
16
GitHub Stars
1
First Seen
Mar 16, 2026
byreal-perps-cli — byreal-git/byreal-perps-cli