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.
| File | Kind | Size |
|---|---|---|
| ATTRIBUTION.md | markdown | 948 B |
| LICENSE | other | 1.0 KB |
| SKILL.md | skill md | 3.7 KB |
| agents/openai.yaml | config | 226 B |
| references/authoritative-state.md | markdown | 2.4 KB |
| references/official-tools.md | markdown | 1.3 KB |
| references/output-contract.md | markdown | 966 B |
| references/protection-and-incidents.md | markdown | 2.0 KB |
| references/stream-discipline.md | markdown | 3.0 KB |
| scripts/funding.mjsexecutable | script | 2.6 KB |
references/protection-and-incidents.md
View on GitHub# Protection and incidents
## Protected position
A perp position is protected only when current detailed order state shows a trigger on the closing side that is reduce-only and either:
- covers at least the live position size, or
- is explicitly position-tied and closes the current whole position.
Check that the trigger is on the intended loss side of current mark and that its execution limit leaves a deliberate fill bound. A local plan, chat promise, screenshot, or rejected order is not protection.
## Partial states
- Partial IOC entry: the remainder is canceled. Grouped children may not protect the filled part. Reconcile and flag any exposed size.
- Partial close: the position remains. Preserve a position-tied stop or replace a fixed-size stop before canceling it.
- Full close: prove the position is flat, then identify and cancel orphaned reduce-only triggers through a new action workflow.
- Add or reduce: fixed-size triggers do not resize automatically.
## Incident triggers
Declare `incident` when an action result is unknown, account exposure differs from the ticket, a position is unprotected, an unfamiliar order or fill appears, the feed is blind past its freshness bound, a scheduled cancel fired, or signer misuse is suspected.
## Read-only containment report
The monitor does not act. It reports:
```text
incident: <id and UTC>
state: <known exposure, orders, fills, liquidation buffer>
unknown: <missing or conflicting evidence>
smallest containment intent: <reduce, protect, or cancel one order>
urgency: <evidence-based deadline>
next owner: <user or execution workflow>
```
If signer compromise is suspected, tell the user to revoke the API wallet through the official app immediately. Investigation follows revocation. Never ask for the key.
## Scheduled cancel
The dead-man switch cancels all open orders in its account scope when it fires. That includes stops and take-profits. If a position remains, report it as unprotected. Do not automatically re-arm without a reviewed and authorized action.
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: 196k | 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: 196k | 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: 196k | Updated | Claude CodeCodex | Verified | Install |