5x-btc-usdc-withdraw

Open a 5x BTC-PERP long on Hyperliquid and withdraw free USDC collateral.

2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/terraleiloa/seren-skills --skill 5x-btc-usdc-withdraw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 5x-btc-usdc-withdraw
Source: https://github.com/terraleiloa/seren-skills/tree/main/hyperliquid/5x-btc-usdc-withdraw
Command: npx skills add https://github.com/terraleiloa/seren-skills --skill 5x-btc-usdc-withdraw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Hyperliquid users need a safe way to evaluate liquidation risk before opening a 5x BTC-PERP long and withdrawing the free USDC collateral.

Core Features & Use Cases

  • Risk-checked 5x leverage workflow: Computes margin locked, estimates withdrawal amount, and runs a 270-day liquidation-risk backtest for BTC price moves.
  • USDC-deposit → 5x BTC-PERP → withdraw free USDC pipeline: Structures the operational steps so the withdrawn USDC is treated as free (no borrowed debt).
  • Dry-run safety by default: Prevents live execution unless explicitly opted in, while still producing actionable backtest output.
  • Use Case: A user deposits USDC, wants BTC 5x exposure on Hyperliquid, and wants a backtest-based view of liquidation likelihood before attempting the withdrawal flow.

Quick Start

Ask the agent to run the skill in dry-run mode to open a simulated 5x BTC-PERP position and report the 270-day liquidation risk backtest results.

Frequently Asked Questions about 5x-btc-usdc-withdraw

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I backtest liquidation risk for a 5x BTC long on Hyperliquid?

You can backtest liquidation risk for a 5x BTC-PERP long by running this skill in dry-run mode, which evaluates liquidation likelihood against 270 days of historical BTC pricing without executing live trades.

Can I withdraw free USDC collateral after opening a leveraged BTC position on Hyperliquid?

Yes, you can withdraw free USDC collateral after opening a 5x BTC-PERP long. The skill structures the USDC-deposit to withdrawal pipeline so the withdrawn amount is treated as free collateral without borrowed debt.

Do I need specific API keys to simulate leveraged trading and CCTP withdrawals?

You need a HYPERLIQUID_PRIVATE_KEY for the leveraged trading workflow and a SEREN_API_KEY to fetch historical BTC pricing for the liquidation-risk backtest via the coingecko-serenai publisher.

How does dry-run safety work for automated BTC exposure workflows?

Dry-run safety prevents live execution of the 5x BTC long and CCTP withdrawal by default, producing actionable backtest output unless you explicitly opt in through the agent CLI for live execution.

What is the best way to evaluate margin locked and withdrawal amounts for a 5x BTC-PERP?

The best way to evaluate margin locked and estimate withdrawal amounts for a 5x BTC-PERP is using a risk-checked workflow that computes these values alongside a 270-day liquidation-risk backtest before live execution.

Are there limitations when using CCTP withdrawal with leveraged Hyperliquid positions?

A key limitation is that while the skill simulates the CCTP withdrawal of free USDC, it defaults to dry-run mode and requires explicit live opt-in via the agent CLI to execute the actual leveraged position and withdrawal.