PlugWiki

hyperliquid skill for Starchild agents: trade perps and spot on Hyperliquid

The Starchild team's hyperliquid skill: lets a Starchild agent place leveraged perp and spot orders, move USDC and read any wallet's PnL.

Installs
8.7K
on skills.sh
Stars
29
on GitHub
Files
7
besides SKILL.md
Updated
Oct 2026
last repo commit

hyperliquid is a Python script skill for Starchild agents. It signs orders with the agent's EVM wallet and sends them to Hyperliquid, covering crypto perps, stock and commodity perps (xyz: tickers), spot, stop loss and take profit, leverage, deposits and withdrawals. Read functions work on any wallet address. It trades real money with leverage, and it charges a 2 bps platform fee to a Starchild builder address on every order. It runs inside the Starchild platform.

Good for

  • Starchild users who want an agent to trade on Hyperliquid
  • Analysts who want to read PnL, fills and positions for any wallet address
  • Developers running grid or market-making bots with the Python client

Install hyperliquid

Any client

  1. 1

    Run this in a terminal.

    shell
    npx skills add Starchild-ai-agent/official-skills --skill hyperliquid

Requires Node.js.

The README describes these skills as maintained by the Starchild team and installed with the skills CLI. The code imports modules from the Starchild agent platform, so it is built to run there. This page has no Claude Code or Claude app tab for that reason.

From the project README. Source.

What's in the skill

When it loads

Trade perp futures, spot, and RWA on Hyperliquid DEX with up to asset max leverage. Use when placing perp or spot orders, setting TP/SL, or moving funds on Hyperliquid (e.g. long BTC 5x, sell ETH, deposit USDC, set stop).

Sections in SKILL.md

  1. Prerequisites
  2. Runtime Model: How to Call Hyperliquid (Read This First)
  3. Lane 1 — Read-only queries (exports.py)
  4. Answering "what is this wallet's PnL?"
  5. Lane 2 — Writes: orders, cancels, transfers, deposits (client.py)
  6. Available Tools
  7. Account & Market Info
  8. Trading
  9. Funds
  10. Platform
  11. Quick Start
  12. Agent Behavior Guidelines
  13. Tool Usage Examples
  14. Check Account State
  15. Check Spot Balances
  16. Check Market Prices

Key facts

Installs on skills.sh
8,655 as of 2026-11-02
Last repo commit
2026-10-30

What it includes

  • Account, PnL, orders, market data and staking, for any address

    SKILL.md says 32 read functions; its table lists 33, such as hl_account, hl_portfolio, hl_fills_by_time, hl_candles and hl_funding. Each user-scoped function takes an optional 0x address.

    Try: “What is the all-time PnL of wallet 0x1f16...?”

    Network · Read functions (exports.py)

  • hl_portfolio plus ledger, fills and funding for cost basis

    hl_portfolio returns day, week, month and allTime windows. For cost basis, SKILL.md combines hl_ledger, hl_fills_by_time (2000 fills per call) and hl_funding_payments.

    Network · PnL analysis

  • place_order, cancel_all, update_leverage and more, signed with EIP-712

    Writes go through the async HyperliquidClient, which signs EIP-712 actions. Order types are limit, market (IoC at mid plus or minus 3%), post-only and fill-or-kill, with reduce-only for closing.

    Try: “Buy $20 of Bitcoin with 5x leverage.”

    Write · Orders (client.py)

  • hl_tpsl_order trigger orders

    Trigger orders that run as market orders by default, or as limits when is_market is false.

    Write · Stop loss and take profit

  • xyz: tickers such as xyz:NVDA and xyz:GOLD

    Builder-deployed perps use isolated margin. Prices come from hl_candles because these markets are not in allMids.

    Try: “Long NVIDIA with $50, 10x.”

    Write · Stock and commodity perps

  • deposit_usdc, transfer_usd, withdraw_from_bridge

    Deposits send USDC from the agent's Arbitrum wallet to the Hyperliquid bridge, with a 5 USDC minimum. Withdrawals cost 1 USDC and take about 5 minutes, and can go to a destination address you give.

    Write · Funds

  • hl_approve_builder and hl_builder_status

    A 2 bps builder fee goes to a Starchild address. The first order auto-approves it with a signature from the main wallet.

    Write · Builder fee

  • Tells the agent to check funds, set leverage and verify fills itself

    SKILL.md lists six things the agent should do automatically without asking, including checking funds before every trade, setting leverage and calling hl_fills after every order.

    Read · Agent behaviour rules

From the official docs

Permissions

High risk

An agent using this skill can open leveraged positions, move USDC and withdraw it, and SKILL.md names no step where you approve each order. Use a wallet that holds only what you can lose, enable a policy, and watch the first trades.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It trades real money with leverage

    SKILL.md describes leverage up to each asset's maximum, and its common-mistakes table lists liquidation risk when a leveraged position has no stop loss. Our advice: start with small sizes on a wallet holding only what you can lose. github.com

  • It tells the agent not to ask before routine steps

    SKILL.md says the agent should always check funds, detect asset type, set leverage, verify fills, report and suggest risk management automatically, never asking the user. It names no step where you approve an order. Wallet confirmation cards appear only when a wallet policy is enabled (per the wallet skill's SKILL.md). Our advice: do not run this skill unattended. github.com

  • It can withdraw funds to another address

    withdraw_from_bridge takes an optional destination address and defaults to the agent's own wallet. The prerequisite policy in SKILL.md allows all methods except key export. github.com

  • A 2 bps fee goes to a Starchild address

    Every order carries a builder fee of 20 tenths of a basis point to 0x2c5320F40305fFC933385c6DCec5493fbA7b98b8. The first order auto-approves it with a signature from your main wallet. SKILL.md says you can revoke it on app.hyperliquid.xyz, and orders still go through if approval fails. github.com

  • It points to a skill the repo does not contain

    SKILL.md tells the agent to load a wallet-policy skill before trading. The repo has no folder with that name; the wallet skill holds the policy functions. Check that a policy is active before the first order. github.com

  • Any wallet's data can be read

    Read functions accept any 0x address, so the agent can look up other people's public Hyperliquid positions and PnL. github.com

Technical details
Turning on read-onlyNo read-only mode. SKILL.md separates read functions in exports.py from write calls in client.py, but both ship together.
Talks tohttps://api.hyperliquid.xyz (orders and market data). The wallet service at WALLET_SERVICE_URL (default https://wallet-service-dev.fly.dev) for signing
Sign-in and keysOrders are signed through a wallet service. exports.py reads WALLET_SERVICE_URL and defaults to https://wallet-service-dev.fly.dev when it is not set; client code also reads CONTAINER_JWT and WALLET_OIDC_AUDIENCE.
Data retentionSKILL.md names no logging or telemetry.
Scopes
  • Signs and submits leveraged perp and spot orders with the agent's EVM wallet

  • Deposits USDC to the Hyperliquid bridge and withdraws to an address

  • Runs Python through bash and an async client

Questions

What does the hyperliquid skill do?

It lets a Starchild agent trade on Hyperliquid: perp and spot orders, stop loss and take profit, leverage, deposits, withdrawals, and read-only lookups of any wallet's positions and PnL.

Can I use it in Claude Code?

Not as written. SKILL.md says the skill is script-delivered and registers no hl_ tools, and the code imports Starchild modules such as core.skill_tools. It is built for Starchild agents.

How do I install hyperliquid?

Use the install box at the top of this page. The README gives npx skills add for this skill, or search_skills inside a Starchild conversation. The skill also needs the wallet policy from the wallet skill.

Is hyperliquid safe to use?

It can place leveraged orders and move USDC with a wallet the agent controls, so treat it as high risk. SKILL.md names no step where you approve each order and tells the agent to do six routine steps without asking. Our advice: do not run it unattended. Use a wallet holding only what you can lose, enable a wallet policy first, and watch the first trades.

Does it charge a fee?

Yes. Starchild collects a 2 bps (0.02%) builder fee on every perp and spot order, separate from Hyperliquid's own fees. The first order auto-approves it, and you can revoke it on app.hyperliquid.xyz.

Does it need an API key?

SKILL.md lists WALLET_SERVICE_URL as the required environment variable, for the wallet service that signs. The code also reads container and OIDC variables the platform provides.

Can it trade stocks and commodities?

SKILL.md says it can trade stock, index, forex and commodity perps deployed by builders on Hyperliquid, using xyz: tickers such as xyz:NVDA. It warns that some, such as aluminium, uranium, corn, wheat and TTF, may have very low liquidity.

Is it official?

Yes. It is in the Starchild team's official-skills repo. Starchild also takes the builder fee on its orders.

Information

updated Nov 2, 2026

Folder
hyperliquid

starchild-ai-agent/official-skillsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 7
  1. README · github.com
  2. CONTRIBUTING.md · github.com
  3. hyperliquid on skills.sh · skills.sh
  4. hyperliquid SKILL.md · github.com
  5. hyperliquid/client.py · github.com
  6. hyperliquid/__init__.py · github.com
  7. hyperliquid/exports.py · github.com

Updated Nov 2, 2026.