[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X8NS7EZWVB1ZK4JME2EX2Z":3,"skill-same:01M6X8NS7EZWVB1ZK4JME2EX2Z":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6X8NS7EZWVB1ZK4JME2EX2Z","liquidation-cascade-risk",null,"Use when open interest is elevated, leverage is concentrated near key price levels, or market depth is thinning — to detect, avoid, and opportunistically trade liquidation cascade events on HyperLiquid perpetuals.","enuno\u002Fcrewless-capital","enuno","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6727752?v=4","01M6J09HF6Y74150F7PEMC446X","Elvis Nuno","01M6X86WGZG9RH09ACTSTJ2383",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fenuno\u002Fcrewless-capital\u002Fblob\u002Fmain\u002Fmigrate-hyperliquid-firm\u002Fmulticlaw\u002Fmetaclaw\u002Fskills\u002Fregime-detection\u002Fliquidation-cascade-risk\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"risk","liquidation cascade risk","agentic","open","use","Market","hyperliquid","trade","perpetuals","leverage","price","events","detect","near","depth","when","2026-11-10 10:12:30",false,"---\nname: liquidation-cascade-risk\ndescription: Use when open interest is elevated, leverage is concentrated near key price levels, or market depth is thinning — to detect, avoid, and opportunistically trade liquidation cascade events on HyperLiquid perpetuals.\ncategory: agentic\n---\n\n# Liquidation Cascade Risk\n\n## When This Skill Activates\n\nApply this skill whenever **any** of the following pre-cascade signals are\npresent on HyperLiquid perpetual markets:\n\n- Open interest (OI) has increased **> 15%** over the prior 24h while price\n  is range-bound or declining\n- OI-weighted average leverage on the asset is estimated **> 10×** (infer\n  from OI \u002F market cap ratio when direct leverage data is unavailable)\n- Price approaches a **known liquidation cluster level** (derived from OI\n  distribution or historical wicks)\n- Bid-side depth within **0.5%** of mid has dropped **> 30%** versus the\n  prior 1h average (thin book = amplified cascade velocity)\n- Funding rate has been **> 0.05%\u002Fh for ≥ 6 consecutive hours** (extreme\n  carry = crowded long leverage)\n- A large liquidation event (**> $5M notional** on any single asset) has\n  already fired — first liquidation often triggers cascade\n- CVD (cumulative volume delta) diverging strongly negative vs. price\n  (hidden sell pressure before a long-side cascade)\n\n---\n\n## Core Principle\n\nLiquidation cascades are **reflexive, self-reinforcing events**: forced long\nclosures drive price down, which liquidates more longs, which drives price\nfurther down. On thin-book perpetual markets like HyperLiquid, a cascade can\nclear **3–8% of price in under 60 seconds** with near-zero mean-reversion\nin the first 30 seconds.\n\n> **Rule**: Never hold a leveraged long into a confirmed cascade. Size\n> aggressively to exit at the *first* liquidation signal, not after\n> confirmation. Being wrong costs slippage; being right saves the position.\n\n---\n\n## Signal Classification and Cascade Probability\n\n### Pre-Cascade Regime Indicators\n\n| Signal | Threshold | Cascade Probability Uplift |\n|---|---|---|\n| OI growth (24h) | > 15% | +20% |\n| OI growth (24h) | > 30% | +40% |\n| Funding (1h) sustained | > 0.05% for 6h+ | +25% |\n| Book depth drop (bid, 0.5%) | > 30% vs 1h avg | +30% |\n| Price near OI cluster | within 0.3% | +35% |\n| First large liquidation fired | > $5M notional | +50% |\n| CVD divergence | strong negative | +20% |\n\nProbabilities are **additive uplift estimates**, not independent probabilities.\nWhen 3+ signals are simultaneously active, treat cascade risk as **HIGH** and\napply the full defensive protocol below.\n\n### Cascade Severity Classification\n\n| Severity | Expected Price Drop | Duration | Recovery Pattern |\n|---|---|---|---|\n| Minor | 1–2% | 1–5 min | V-shape, fast recovery |\n| Moderate | 2–5% | 5–20 min | Partial recovery, new lower range |\n| Major | 5–10% | 20–60 min | Dead-cat bounce, re-test lows |\n| Systemic | > 10% | Hours | Extended downtrend, OI reset |\n\n---\n\n## Step-by-Step Pre-Cascade Protocol\n\n### 1. Fetch OI and Liquidation Data\n\n```\nGET \u002Finfo → meta + assetCtxs\n  → assetCtxs[i].openInterest       (current OI in base asset)\n  → assetCtxs[i].funding            (current predicted 1h rate)\n  → assetCtxs[i].markPrice          (mark price for cluster proximity)\n\nGET \u002Finfo → liquidations (via WebSocket: subscribe to l2Book + trades)\n  → monitor for large single-fill liquidation events\n```\n\nCompute OI change:\n```\noi_change_pct = (oi_now - oi_24h_ago) \u002F oi_24h_ago * 100\n```\n\n### 2. Assess Book Depth Fragility\n\n```\nGET \u002Finfo → l2Book(coin)\n  → sum bid sizes within 0.5% below mid  = bid_depth_near\n  → compare to 1h rolling average         = bid_depth_avg_1h\n\nfragility_score = max(0, 1 - (bid_depth_near \u002F bid_depth_avg_1h))\n# fragility_score > 0.30 = dangerously thin book\n```\n\n### 3. Score Active Signals and Classify Risk\n\n```python\ndef cascade_risk_level(signals: dict) -> str:\n    score = 0\n    if signals['oi_change_24h_pct'] > 30:   score += 3\n    elif signals['oi_change_24h_pct'] > 15: score += 2\n    if signals['funding_elevated_hours'] >= 6: score += 2\n    if signals['book_fragility'] > 0.30:    score += 3\n    if signals['near_oi_cluster']:          score += 3\n    if signals['large_liq_fired']:          score += 4\n    if signals['cvd_diverging']:            score += 2\n\n    if score >= 8:  return 'CRITICAL'   # exit all longs immediately\n    if score >= 5:  return 'HIGH'       # reduce longs 50–75%\n    if score >= 3:  return 'ELEVATED'   # reduce longs 25–40%\n    return 'NORMAL'\n```\n\n### 4. Execute Defensive Action by Risk Level\n\n| Risk Level | Score | Immediate Action |\n|---|---|---|\n| NORMAL | 0–2 | No change; maintain standard position monitoring |\n| ELEVATED | 3–4 | Reduce long exposure 25–40%; widen stops |\n| HIGH | 5–7 | Reduce long exposure 50–75%; cancel resting longs |\n| CRITICAL | 8+ | Close **all** longs immediately via market order; pause new longs |\n\n> **CRITICAL override**: When `large_liq_fired` signal fires (+4 score), the\n> CRITICAL threshold can be hit with only one other signal active. Do not\n> wait for full scoring — execute exit the moment a confirmed large\n> liquidation event is observed AND any one other signal is active.\n\n---\n\n## During a Cascade — Live Event Protocol\n\nOnce a cascade is confirmed (price dropping > 1% in \u003C 2 min with rising\nliquidation volume):\n\n### Do NOT\n- Add to long positions to \"average down\" — cascades have no floor until\n  OI is cleared; the market will liquidate your averaging attempt too\n- Place resting limit bids in the cascade path — bids will be hit\n  immediately, not providing price improvement but capturing falling knives\n- Use stop-loss orders inside the cascade — stop-limit orders may not fill;\n  use **market orders** for exit during a cascade\n- Attempt to short the cascade if not already positioned — entry during a\n  cascade is extremely high slippage; the best edge is pre-positioning\n\n### Do\n- Execute all long exits via **market order** (not limit) — slippage cost\n  is always lower than the cost of not exiting during a major cascade\n- Monitor the liquidation feed for **cascade exhaustion signals**:\n  - Liquidation volume decelerating (fewer liquidations per 30s)\n  - Bid depth beginning to rebuild in the l2Book\n  - Funding rate dropping sharply (extreme shorts beginning to dominate)\n  - CVD turning positive (buyers absorbing supply)\n- Log the cascade start price, trough price, and recovery level for the\n  evolution curriculum agent's liquidation-cascade task family\n\n---\n\n## Post-Cascade Re-Entry Protocol\n\nCascades create **re-entry opportunities** once OI has been flushed and\nliquidation pressure exhausts. The post-cascade long is one of the\nhighest-probability setups in perpetual markets.\n\n### Re-Entry Criteria (all must be met)\n\n1. **OI has declined ≥ 15%** from pre-cascade peak (deleveraging confirmed)\n2. **Funding has normalised** to \u003C 0.02%\u002Fh (crowded longs cleared)\n3. **Bid depth has recovered** to ≥ 80% of pre-cascade 1h average\n4. **Price has stabilised** — no new lows for ≥ 5 consecutive 1m candles\n5. **CVD is turning positive** — net buying pressure visible on tape\n\n### Re-Entry Sizing\n\nPost-cascade re-entries use **reduced initial size** due to residual\nuncertainty about whether the cascade is fully exhausted:\n\n```\nre_entry_size = base_size * 0.5   # initial leg\n\n# Add second leg when:\n#   price holds above entry for > 15 min AND\n#   OI begins rising again (new longs building = recovery confirmed)\nre_entry_size_full = base_size * 1.0\n```\n\nStop-loss: place **below the cascade trough**, not below entry — the trough\nis the structural low; a breach invalidates the recovery thesis.\n\n---\n\n## Failure Modes to Avoid\n\n- **Treating every OI spike as a cascade warning**: OI can rise sustainably\n  in genuine trend regimes. Require ≥ 2 signals before elevating risk level.\n- **Exiting too early on minor cascades**: Score \u003C 5 with no large liq fired\n  does not warrant full exit. Over-trading defensive exits erodes alpha.\n- **Re-entering before OI flush is confirmed**: Premature re-entry during\n  a \"dead-cat bounce\" inside a larger cascade is the single most common\n  post-cascade loss. OI *must* be declining before re-entry.\n- **Ignoring cross-asset contagion**: BTC cascade → ETH cascade within\n  1–3 minutes is the historical norm. Apply CRITICAL protocol to all\n  correlated assets when BTC cascade fires, not just BTC.\n- **Using cascade as a routine short entry**: Cascades are violent; short\n  entries mid-cascade have extreme slippage and risk sharp V-shape reversals.\n  The short opportunity was in **pre-positioning**, not during the event.\n- **Forgetting the funding kill-switch interaction**: The\n  `high-funding-carry-avoidance` skill's kill-switch\n  (`funding > 0.15% AND drawdown > 1.5%`) should already have reduced\n  exposure before a cascade fires. If it has not, treat any cascade signal\n  as an immediate override regardless of score.\n\n---\n\n## Integration with Other Skills and Controls\n\n### Skill Dependencies\n\n- **`high-funding-carry-avoidance`**: A prerequisite check. If funding\n  carry avoidance has not already reduced long exposure in a high-funding\n  regime, liquidation cascade risk is structurally higher. Run funding\n  check first; cascade check is the second defensive layer.\n- **`kelly-position-sizing-perps`** (risk\u002F): Post-cascade re-entry sizing\n  must still pass through Kelly\u002Frisk-budget constraints. The 0.5× initial\n  re-entry is a cascade-specific overlay on top of base sizing.\n\n### Risk Engine Integration\n\n```json\n{\n  \"event\": \"cascade_risk_assessment\",\n  \"asset\": \"BTC\",\n  \"timestamp_utc\": \"2026-04-07T22:30:00Z\",\n  \"oi_change_24h_pct\": 22.4,\n  \"funding_1h\": 0.061,\n  \"funding_elevated_hours\": 7,\n  \"book_fragility\": 0.41,\n  \"near_oi_cluster\": true,\n  \"large_liq_fired\": false,\n  \"cvd_diverging\": true,\n  \"cascade_score\": 7,\n  \"risk_level\": \"HIGH\",\n  \"action_taken\": \"reduced_long_60pct\",\n  \"position_before_usd\": 15000,\n  \"position_after_usd\": 6000\n}\n```\n\nLog this record to `logs\u002Fmetaclaw\u002Frecords\u002F` on every cascade assessment\nthat results in a position change so it enters the RL replay buffer.\n\n---\n\n## Quick Decision Tree\n\n```\nIs cascade_score >= 8 OR (large_liq_fired AND any other signal active)?\n├── YES → CRITICAL: market-exit ALL longs immediately. Halt new longs.\n│\n└── NO  → Is cascade_score >= 5?\n          ├── YES → HIGH: reduce longs 50–75%. Cancel resting long orders.\n          │\n          └── NO  → Is cascade_score >= 3?\n                    ├── YES → ELEVATED: reduce longs 25–40%. Widen stops.\n                    └── NO  → NORMAL: monitor. No action required.\n\nPost-exit: monitor for cascade exhaustion.\n  All 5 re-entry criteria met?\n  ├── YES → Re-enter at 0.5× base size. Add second leg after 15m hold.\n  └── NO  → Remain flat. Do not chase recovery.\n```\n\n---\n\n## HyperLiquid-Specific Notes\n\n- **WebSocket liquidation feed**: Subscribe to `trades` channel and filter\n  for `\"liquidation\": true` in the trade object. HyperLiquid does not have\n  a dedicated liquidation stream; liquidation fills appear in the standard\n  trades feed with a liquidation flag.\n- **Mark price vs. last price**: Liquidations trigger at **mark price**\n  (oracle-weighted), not last trade price. During thin-book cascades, last\n  price can lag mark price by 0.5–2%. Use `assetCtxs[i].markPrice` for\n  liquidation cluster proximity calculations, not mid from the l2Book.\n- **Cross-margin cascade amplification**: HyperLiquid cross-margin accounts\n  allow a cascade on one asset to liquidate positions on correlated assets\n  if overall margin falls below maintenance. Monitor\n  `marginSummary.totalRawUsd` and `marginSummary.totalMaintMargin` ratio;\n  if ratio \u003C 1.3, pre-emptively reduce all cross-margin longs regardless\n  of per-asset cascade score.\n- **Vault LPs are cascade beneficiaries**: HyperLiquid vault LPs earn from\n  liquidation fees and benefit from OI resets. This skill applies only to\n  **directional perpetual positions**, not vault LP allocations.\n- **Order book reset after cascade**: HyperLiquid's order book fully\n  refreshes after a cascade event. The first 30 seconds of l2Book data\n  post-cascade is unreliable for depth assessment — wait 60 seconds before\n  using book depth as a re-entry signal.\n","# Liquidation Cascade Risk\n\n## When This Skill Activates\n\nApply this skill whenever **any** of the following pre-cascade signals are\npresent on HyperLiquid perpetual markets:\n\n- Open interest (OI) has increased **> 15%** over the prior 24h while price\n  is range-bound or declining\n- OI-weighted average leverage on the asset is estimated **> 10×** (infer\n  from OI \u002F market cap ratio when direct leverage data is unavailable)\n- Price approaches a **known liquidation cluster level** (derived from OI\n  distribution or historical wicks)\n- Bid-side depth within **0.5%** of mid has dropped **> 30%** versus the\n  prior 1h average (thin book = amplified cascade velocity)\n- Funding rate has been **> 0.05%\u002Fh for ≥ 6 consecutive hours** (extreme\n  carry = crowded long leverage)\n- A large liquidation event (**> $5M notional** on any single asset) has\n  already fired — first liquidation often triggers cascade\n- CVD (cumulative volume delta) diverging strongly negative vs. price\n  (hidden sell pressure before a long-side cascade)\n\n---\n\n## Core Principle\n\nLiquidation cascades are **reflexive, self-reinforcing events**: forced long\nclosures drive price down, which liquidates more longs, which drives price\nfurther down. On thin-book perpetual markets like HyperLiquid, a cascade can\nclear **3–8% of price in under 60 seconds** with near-zero mean-reversion\nin the first 30 seconds.\n\n> **Rule**: Never hold a leveraged long into a confirmed cascade. Size\n> aggressively to exit at the *first* liquidation signal, not after\n> confirmation. Being wrong costs slippage; being right saves the position.\n\n---\n\n## Signal Classification and Cascade Probability\n\n### Pre-Cascade Regime Indicators\n\n| Signal | Threshold | Cascade Probability Uplift |\n|---|---|---|\n| OI growth (24h) | > 15% | +20% |\n| OI growth (24h) | > 30% | +40% |\n| Funding (1h) sustained | > 0.05% for 6h+ | +25% |\n| Book depth drop (bid, 0.5%) | > 30% vs 1h avg | +30% |\n| Price near OI cluster | within 0.3% | +35% |\n| First large liquidation fired | > $5M notional | +50% |\n| CVD divergence | strong negative | +20% |\n\nProbabilities are **additive uplift estimates**, not independent probabilities.\nWhen 3+ signals are simultaneously active, treat cascade risk as **HIGH** and\napply the full defensive protocol below.\n\n### Cascade Severity Classification\n\n| Severity | Expected Price Drop | Duration | Recovery Pattern |\n|---|---|---|---|\n| Minor | 1–2% | 1–5 min | V-shape, fast recovery |\n| Moderate | 2–5% | 5–20 min | Partial recovery, new lower range |\n| Major | 5–10% | 20–60 min | Dead-cat bounce, re-test lows |\n| Systemic | > 10% | Hours | Extended downtrend, OI reset |\n\n---\n\n## Step-by-Step Pre-Cascade Protocol\n\n### 1. Fetch OI and Liquidation Data\n\n```\nGET \u002Finfo → meta + assetCtxs\n  → assetCtxs[i].openInterest       (current OI in base asset)\n  → assetCtxs[i].funding            (current predicted 1h rate)\n  → assetCtxs[i].markPrice          (mark price for cluster proximity)\n\nGET \u002Finfo → liquidations (via WebSocket: subscribe to l2Book + trades)\n  → monitor for large single-fill liquidation events\n```\n\nCompute OI change:\n```\noi_change_pct = (oi_now - oi_24h_ago) \u002F oi_24h_ago * 100\n```\n\n### 2. Assess Book Depth Fragility\n\n```\nGET \u002Finfo → l2Book(coin)\n  → sum bid sizes within 0.5% below mid  = bid_depth_near\n  → compare to 1h rolling average         = bid_depth_avg_1h\n\nfragility_score = max(0, 1 - (bid_depth_near \u002F bid_depth_avg_1h))\n# fragility_score > 0.30 = dangerously thin book\n```\n\n### 3. Score Active Signals and Classify Risk\n\n```python\ndef cascade_risk_level(signals: dict) -> str:\n    score = 0\n    if signals['oi_change_24h_pct'] > 30:   score += 3\n    elif signals['oi_change_24h_pct'] > 15: score += 2\n    if signals['funding_elevated_hours'] >= 6: score += 2\n    if signals['book_fragility'] > 0.30:    score += 3\n    if signals['near_oi_cluster']:          score += 3\n    if signals['large_liq_fired']:          score += 4\n    if signals['cvd_diverging']:            score += 2\n\n    if score >= 8:  return 'CRITICAL'   # exit all longs immediately\n    if score >= 5:  return 'HIGH'       # reduce longs 50–75%\n    if score >= 3:  return 'ELEVATED'   # reduce longs 25–40%\n    return 'NORMAL'\n```\n\n### 4. Execute Defensive Action by Risk Level\n\n| Risk Level | Score | Immediate Action |\n|---|---|---|\n| NORMAL | 0–2 | No change; maintain standard position monitoring |\n| ELEVATED | 3–4 | Reduce long exposure 25–40%; widen stops |\n| HIGH | 5–7 | Reduce long exposure 50–75%; cancel resting longs |\n| CRITICAL | 8+ | Close **all** longs immediately via market order; pause new longs |\n\n> **CRITICAL override**: When `large_liq_fired` signal fires (+4 score), the\n> CRITICAL threshold can be hit with only one other signal active. Do not\n> wait for full scoring — execute exit the moment a confirmed large\n> liquidation event is observed AND any one other signal is active.\n\n---\n\n## During a Cascade — Live Event Protocol\n\nOnce a cascade is confirmed (price dropping > 1% in \u003C 2 min with rising\nliquidation volume):\n\n### Do NOT\n- Add to long positions to \"average down\" — cascades have no floor until\n  OI is cleared; the market will liquidate your averaging attempt too\n- Place resting limit bids in the cascade path — bids will be hit\n  immediately, not providing price improvement but capturing falling knives\n- Use stop-loss orders inside the cascade — stop-limit orders may not fill;\n  use **market orders** for exit during a cascade\n- Attempt to short the cascade if not already positioned — entry during a\n  cascade is extremely high slippage; the best edge is pre-positioning\n\n### Do\n- Execute all long exits via **market order** (not limit) — slippage cost\n  is always lower than the cost of not exiting during a major cascade\n- Monitor the liquidation feed for **cascade exhaustion signals**:\n  - Liquidation volume decelerating (fewer liquidations per 30s)\n  - Bid depth beginning to rebuild in the l2Book\n  - Funding rate dropping sharply (extreme shorts beginning to dominate)\n  - CVD turning positive (buyers absorbing supply)\n- Log the cascade start price, trough price, and recovery level for the\n  evolution curriculum agent's liquidation-cascade task family\n\n---\n\n## Post-Cascade Re-Entry Protocol\n\nCascades create **re-entry opportunities** once OI has been flushed and\nliquidation pressure exhausts. The post-cascade long is one of the\nhighest-probability setups in perpetual markets.\n\n### Re-Entry Criteria (all must be met)\n\n1. **OI has declined ≥ 15%** from pre-cascade peak (deleveraging confirmed)\n2. **Funding has normalised** to \u003C 0.02%\u002Fh (crowded longs cleared)\n3. **Bid depth has recovered** to ≥ 80% of pre-cascade 1h average\n4. **Price has stabilised** — no new lows for ≥ 5 consecutive 1m candles\n5. **CVD is turning positive** — net buying pressure visible on tape\n\n### Re-Entry Sizing\n\nPost-cascade re-entries use **reduced initial size** due to residual\nuncertainty about whether the cascade is fully exhausted:\n\n```\nre_entry_size = base_size * 0.5   # initial leg\n\n# Add second leg when:\n#   price holds above entry for > 15 min AND\n#   OI begins rising again (new longs building = recovery confirmed)\nre_entry_size_full = base_size * 1.0\n```\n\nStop-loss: place **below the cascade trough**, not below entry — the trough\nis the structural low; a breach invalidates the recovery thesis.\n\n---\n\n## Failure Modes to Avoid\n\n- **Treating every OI spike as a cascade warning**: OI can rise sustainably\n  in genuine trend regimes. Require ≥ 2 signals before elevating risk level.\n- **Exiting too early on minor cascades**: Score \u003C 5 with no large liq fired\n  does not warrant full exit. Over-trading defensive exits erodes alpha.\n- **Re-entering before OI flush is confirmed**: Premature re-entry during\n  a \"dead-cat bounce\" inside a larger cascade is the single most common\n  post-cascade loss. OI *must* be declining before re-entry.\n- **Ignoring cross-asset contagion**: BTC cascade → ETH cascade within\n  1–3 minutes is the historical norm. Apply CRITICAL protocol to all\n  correlated assets when BTC cascade fires, not just BTC.\n- **Using cascade as a routine short entry**: Cascades are violent; short\n  entries mid-cascade have extreme slippage and risk sharp V-shape reversals.\n  The short opportunity was in **pre-positioning**, not during the event.\n- **Forgetting the funding kill-switch interaction**: The\n  `high-funding-carry-avoidance` skill's kill-switch\n  (`funding > 0.15% AND drawdown > 1.5%`) should already have reduced\n  exposure before a cascade fires. If it has not, treat any cascade signal\n  as an immediate override regardless of score.\n\n---\n\n## Integration with Other Skills and Controls\n\n### Skill Dependencies\n\n- **`high-funding-carry-avoidance`**: A prerequisite check. If funding\n  carry avoidance has not already reduced long exposure in a high-funding\n  regime, liquidation cascade risk is structurally higher. Run funding\n  check first; cascade check is the second defensive layer.\n- **`kelly-position-sizing-perps`** (risk\u002F): Post-cascade re-entry sizing\n  must still pass through Kelly\u002Frisk-budget constraints. The 0.5× initial\n  re-entry is a cascade-specific overlay on top of base sizing.\n\n### Risk Engine Integration\n\n```json\n{\n  \"event\": \"cascade_risk_assessment\",\n  \"asset\": \"BTC\",\n  \"timestamp_utc\": \"2026-04-07T22:30:00Z\",\n  \"oi_change_24h_pct\": 22.4,\n  \"funding_1h\": 0.061,\n  \"funding_elevated_hours\": 7,\n  \"book_fragility\": 0.41,\n  \"near_oi_cluster\": true,\n  \"large_liq_fired\": false,\n  \"cvd_diverging\": true,\n  \"cascade_score\": 7,\n  \"risk_level\": \"HIGH\",\n  \"action_taken\": \"reduced_long_60pct\",\n  \"position_before_usd\": 15000,\n  \"position_after_usd\": 6000\n}\n```\n\nLog this record to `logs\u002Fmetaclaw\u002Frecords\u002F` on every cascade assessment\nthat results in a position change so it enters the RL replay buffer.\n\n---\n\n## Quick Decision Tree\n\n```\nIs cascade_score >= 8 OR (large_liq_fired AND any other signal active)?\n├── YES → CRITICAL: market-exit ALL longs immediately. Halt new longs.\n│\n└── NO  → Is cascade_score >= 5?\n          ├── YES → HIGH: reduce longs 50–75%. Cancel resting long orders.\n          │\n          └── NO  → Is cascade_score >= 3?\n                    ├── YES → ELEVATED: reduce longs 25–40%. Widen stops.\n                    └── NO  → NORMAL: monitor. No action required.\n\nPost-exit: monitor for cascade exhaustion.\n  All 5 re-entry criteria met?\n  ├── YES → Re-enter at 0.5× base size. Add second leg after 15m hold.\n  └── NO  → Remain flat. Do not chase recovery.\n```\n\n---\n\n## HyperLiquid-Specific Notes\n\n- **WebSocket liquidation feed**: Subscribe to `trades` channel and filter\n  for `\"liquidation\": true` in the trade object. HyperLiquid does not have\n  a dedicated liquidation stream; liquidation fills appear in the standard\n  trades feed with a liquidation flag.\n- **Mark price vs. last price**: Liquidations trigger at **mark price**\n  (oracle-weighted), not last trade price. During thin-book cascades, last\n  price can lag mark price by 0.5–2%. Use `assetCtxs[i].markPrice` for\n  liquidation cluster proximity calculations, not mid from the l2Book.\n- **Cross-margin cascade amplification**: HyperLiquid cross-margin accounts\n  allow a cascade on one asset to liquidate positions on correlated assets\n  if overall margin falls below maintenance. Monitor\n  `marginSummary.totalRawUsd` and `marginSummary.totalMaintMargin` ratio;\n  if ratio \u003C 1.3, pre-emptively reduce all cross-margin longs regardless\n  of per-asset cascade score.\n- **Vault LPs are cascade beneficiaries**: HyperLiquid vault LPs earn from\n  liquidation fees and benefit from OI resets. This skill applies only to\n  **directional perpetual positions**, not vault LP allocations.\n- **Order book reset after cascade**: HyperLiquid's order book fully\n  refreshes after a cascade event. The first 30 seconds of l2Book data\n  post-cascade is unreliable for depth assessment — wait 60 seconds before\n  using book depth as a re-entry signal.\n",{"name":5,"category":21,"description":7},"main","bfe4e4653cba696a8dc20f70c6006651b997fdef","migrate-hyperliquid-firm\u002Fmulticlaw\u002Fmetaclaw\u002Fskills\u002Fregime-detection\u002Fliquidation-cascade-risk",0,"https:\u002F\u002Fgithub.com\u002Fenuno\u002Fcrewless-capital","https:\u002F\u002Fgithub.com\u002Fenuno","https:\u002F\u002Fenuno.github.io\u002FDynamicCareerCanvas","Digital Nomad, Blockchain Evangel, and Digital Solutions Architect. \r\nCreator of TerraHash Stack.\r\nCEO of Ryno Crypto Mining Services.","2026-07-02 10:49:15",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add enuno\u002Fcrewless-capital --skill liquidation-cascade-risk",{"tool":55,"command":56},"bunx","bunx skills add enuno\u002Fcrewless-capital --skill liquidation-cascade-risk",{"tool":58,"command":59},"pnpm","pnpm dlx skills add enuno\u002Fcrewless-capital --skill liquidation-cascade-risk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenuno\u002Fcrewless-capital\u002Fblob\u002Fmain\u002Fmigrate-hyperliquid-firm\u002Fmulticlaw\u002Fmetaclaw\u002Fskills\u002Fregime-detection\u002Fliquidation-cascade-risk\u002FSKILL.md",true,[],[64,89,114,136,160,181],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":35},"01M6X94YFR1XNANZ321FS661NG","supermemory","Supermemory is a state-of-the-art memory and context infrastructure for AI agents. Use this skill when building applications that need persistent memory, user personalization, long-term context retention, or semantic search across knowledge bases. It provides Memory API for learned user context, User Profiles for static\u002Fdynamic facts, and RAG for semantic search. Perfect for chatbots, assistants, and knowledge-intensive applications.","https:\u002F\u002Fgithub.com\u002Fenuno\u002Fcrewless-capital\u002Fblob\u002Fmain\u002Fmigrate-hyperliquid-firm\u002Fskills\u002Fsupermemory\u002FSKILL.md",[],[66,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,34],"ai agents","memory","rag","semantic search","infrastructure","search","applications","api","knowledge","context","Art","personalization","across","learned","retention","for","persistent memory","static",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":35},"01M6X94S3K97CSK7VFF5H85ED2","wolverine-strategy","WOLVERINE v2.0 — HYPE alpha hunter. Entry-only scanner, DSL-exit-only architecture. v1.1 lost -22.7% because the scanner's thesis exit chopped 25\u002F27 trades before DSL could manage them. v2.0 removes thesis exit entirely. Scanner decides entries (score 8+, 4H\u002F1H aligned, SM consensus). DSL manages all exits (wide Phase 1 for HYPE volatility, trailing tiers starting at +15% ROE). Leverage lowered to 7x. Max 4 entries\u002Fday. 3-hour cooldown between entries. DSL exit managed by plugin runtime via runtime.yaml.","MIT","https:\u002F\u002Fgithub.com\u002Fenuno\u002Fcrewless-capital\u002Fblob\u002Fmain\u002Fmigrate-hyperliquid-firm\u002Fskills\u002Fsenpi-skills\u002Fwolverine\u002FSKILL.md",[],[97,98,99,100,101,102,103,104,105,106,107,25,108,28,109,110,86,111,112,113],"strategy","wolverine strategy","architecture","alpha","Volatility","consensus","only","trading","scanner","manage","max","runtime","hunter","at","managed","dsl","phase",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":35},"01M6X94HN3CHBM37GM2C84KT26","wolf-strategy","WOLF v6.3 — Fully autonomous multi-strategy trading for Hyperliquid perps via Senpi MCP. Manages multiple strategies simultaneously, each with independent wallets, budgets, slots, and DSL configs. 5+N cron architecture: 5 shared wolf crons (Emerging Movers 3min, SM Flip 5min, Watchdog 5min, Risk Guardian 5min, Health Check 10min) plus one DSL v5.2 cron per strategy (native Hyperliquid SL sync via dsl-dynamic-stop-loss skill v5.3.1). Same asset can be traded in different strategies simultaneously. Enter early on first jumps, not at confirmed peaks. Dynamic risk-based leverage per strategy. Requires Senpi MCP connection, python3, mcporter CLI, OpenClaw cron system, and dsl-dynamic-stop-loss skill (provides dsl-cli.py + dsl-v5.py).","https:\u002F\u002Fgithub.com\u002Fenuno\u002Fcrewless-capital\u002Fblob\u002Fmain\u002Fmigrate-hyperliquid-firm\u002Fskills\u002Fsenpi-skills\u002Fwolf-strategy\u002FSKILL.md",[],[97,121,122,123,99,124,125,126,127,128,129,130,131,28,132,133,110,134,135,86],"wolf strategy","MCP","openclaw","health","system","python3","check","health check","stop","strategies","shared","connection","wallets","stop-loss","hyperliquid perps",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":35},"01M6X949FBGWWGY3YZ8N3WB3CP","wolf-howl","HOWL v2 — Hunt, Optimize, Win, Learn. Nightly self-improvement loop for the WOLF autonomous trading strategy. Runs once per day (via cron) to review all trades from the last 24 hours, compute win rates, analyze signal quality correlation, evaluate DSL tier performance, identify missed opportunities, and produce concrete improvement suggestions for the wolf-strategy skill. v2 adds fee drag ratio (FDR) analysis, holding period bucketing, LONG vs SHORT regime detection, rotation cost tracking, cumulative drift detection, and gross vs net profit factor separation. Use when setting up daily trade review automation, analyzing trading performance, or improving an autonomous trading strategy through data-driven feedback loops. Requires Senpi MCP connection, mcporter CLI, and OpenClaw cron system.","https:\u002F\u002Fgithub.com\u002Fenuno\u002Fcrewless-capital\u002Fblob\u002Fmain\u002Fmigrate-hyperliquid-firm\u002Fskills\u002Fsenpi-skills\u002Fwolf-howl\u002FSKILL.md",[],[143,122,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,112,159,34],"wolf howl","review","performance","learn","analysis","loop","analyze","short","autonomous","up","optimize","drift","self","factor","loops","profit","fdr",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":35},"01M6X9437CQ55N5AYHCPF71JWG","whale-index","Auto-mirror top Discovery traders on Hyperliquid. Scans top 50 traders, scores on PnL rank (35%), win rate (25%), consistency (20%), hold time (10%), drawdown (10%). Creates 2-5 mirror strategies with overlap checks. Daily rebalance with 2-day watch period before swaps. Use when setting up trader mirroring, copy trading, or portfolio auto-rebalancing based on Discovery leaderboard performance.","https:\u002F\u002Fgithub.com\u002Fenuno\u002Fcrewless-capital\u002Fblob\u002Fmain\u002Fmigrate-hyperliquid-firm\u002Fskills\u002Fsenpi-skills\u002Fwhale-index\u002FSKILL.md",[],[167,168,169,145,170,171,172,23,173,152,174,175,130,176,177,178,179,86,180,34],"index","whale","whale index","auth","monitoring","discovery","auto","daily","time","with","consistency","top","mirror","pnl",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":187,"publishedAt":35},"01M6X93YTRGNPYNHZRTW9XNH1E","vixen-strategy","VIXEN v1.0 — Dual-mode emerging movers scanner. Built from FOX v1.6 live trading data (+34.5% ROI). Two entry modes: STALKER (steady accumulation, score 6+, catches the SM buildup BEFORE the explosion) and STRIKER (violent FIRST_JUMP, score 9+, with raw volume confirmation to filter blow-off tops). 2-hour per-asset cooldown after Phase 1 exits. DSL High Water Mode mandatory.","https:\u002F\u002Fgithub.com\u002Fenuno\u002Fcrewless-capital\u002Fblob\u002Fmain\u002Fmigrate-hyperliquid-firm\u002Fskills\u002Fsenpi-skills\u002Fvixen\u002FSKILL.md",[],[97,188,189,190,191,192,105,193,194,195,176,196,197,198,199,200,201,202,112,113],"vixen strategy","roi","data","first","confirmation","volume","filter","asset","explosion","mode","high","v1","modes","emerging movers","entry"]