galleonlabs/crypto-defi-skills / packages/hyperliquid/skills/hyperliquid-monitor
hyperliquid-monitor
VerifiedReconcile a Hyperliquid account, position, order, fill, funding stream, liquidation buffer, or watch from current exchange data. Use when the user asks what is open, whether protection exists, whether an order filled, how close liquidation is, what changed, or to watch and alert on a condition. Read-only; not for placing, changing, or canceling orders.
Hyperliquid monitor
Reconstruct current exchange state and distinguish safe, triggered, and unavailable observations.
Tools and resources
Read the tool contract only when selecting or verifying a capability. Resolve scripts and references from this skill's directory. Related skills are optional handoffs; their absence is not permission to invent state or bypass a prerequisite.
Task
Reconcile one requested public user account from read-only tools and report positions, protection, timestamps and gaps. A failed read is unavailable, never an empty healthy account.
Task handling
Reuse the requested account or position identity, then verify it from current reads. Ask only for missing identity or monitoring constraints; never substitute another account. Finish unaffected checks when a source fails and mark the affected result unavailable. Report the current state, material changes, and next required read concisely, retaining the output contract.
Workflow
- Bind the network, user account address, account abstraction mode, DEX, markets, observation time, freshness bound, and requested condition.
- Read authoritative state. Query the account or subaccount being monitored, never the API wallet address.
- Reconcile positions, balances, open orders, trigger details, order status, fills, funding, ledger updates, fee tier, and action budget. Under unified or portfolio margin, include spot clearinghouse and borrow/lend state.
- Check every open position against protection and incidents. Match stop side, reduce-only state, trigger, size, and position-tied status.
- Normalize funding by its stated interval. Use
node scripts/funding.mjs --helpfor arithmetic. Preserve funding signs from the account's perspective. - For continuous work, use stream discipline. Snapshot first, deduplicate, heartbeat, detect gaps, and reconcile after reconnect.
- Evaluate the condition as exactly one of
triggered,not-triggered, orunavailable. A failed, empty, stale, partial, or gapped read is unavailable. - Emit the monitor contract. Alerts state facts and open a plan; they never act.
Hard rules
frontendOpenOrdersor an equivalent detailed stream is required to prove trigger and reduce-only properties.- Order response text is not final state. Use order status, open orders, fills, and position state together.
liquidationPxis a live estimate. Cross, unified, and portfolio modes couple risk across positions and balances.- The first fills message on a subscription may be a snapshot. Do not alert on it as new activity.
- An open candle changes until close. Label intrabar signals.
- WebSocket reconnect without backfill creates an unknown interval.
- A scheduled cancel can remove protective stops. It is not a position-aware safety system.
Boundary
Do not place, modify, cancel, close, change leverage, transfer, or submit any exchange action. State the exact next read or unsigned action needed. Route a requested action to hyperliquid-plan or hyperliquid-execute.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |