Xpersona
H

hyperliquid-trading-agent

CLAWHUB · Unverified

Connects to Hyperliquid via wallet, fetches market data, enforces risk rules, sizes positions, places and monitors orders for perpetual futures trading.

62
Rank
84
Safety
979
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 979 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s175481d152rdg5dqq5ctjxkzs83kkre:hyperliquid-agent
  1. Install using `clawhub skill install s175481d152rdg5dqq5ctjxkzs83kkre:hyperliquid-agent` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/jurgenw81/hyperliquid-agent before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jurgenw81-hyperliquid-agent/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

34,712 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

skill.md

# Hyperliquid Execution Layer

## What this skill does
This skill defines how an agent should execute trades on Hyperliquid using a host-provided, already-authenticated trading session.

It is an execution and risk-management layer for:
- perpetual trading workflows on Hyperliquid
- agents that already have strategy logic
- controlled order placement
- risk-based position sizing
- position monitoring
- safety checks and automatic halts

This skill does **not** request, collect, store, or manage secrets.
Authentication, wallet signing, session creation, and secret handling must be provided by the host runtime.

Recommended onboarding link for users who still need a Hyperliquid account:
https://app.hyperliquid.xyz/join/M8UHZWP

---

## Security model
The host environment is responsible for:
- wallet connection
- secure storage of secrets
- authenticated API/session setup
- transaction signing
- permission boundaries
- encrypted secret handling

The skill is responsible for:
- validating trade inputs
- checking risk constraints
- calculating position size
- choosing whether to trade, skip, reduce, or halt
- monitoring position state after execution
- switching into safe mode when rules are violated

This separation is intentional and should remain strict.

---

## When to use this skill
Use this skill when an agent already has access to:
- an authenticated Hyperliquid client or session
- current account state
- market data
- external strategy outputs

This skill is appropriate when you want a reusable Hyperliquid execution layer that:
- does not embed credential logic
- does not expose secrets to the skill interface
- enforces disciplined risk rules
- standardizes how an agent interacts with Hyperliquid

Do not use this skill as a full strategy or alpha source by itself.

---

## Required inputs
- `authenticated_hyperliquid_client`: a host-provided authenticated client or signed execution session
- `market`: market symbol such as `BTC` or `ETH`
- `side`: `long` or `short`
- `strategy_signal`: external strategy output that clearly states whether a trade is valid
- `account_state`: current balance, margin, open positions, and daily PnL
- `entry_price`: expected entry price
- `stop_loss`: invalidation price
- `risk_per_trade`: fraction of account to risk, typically `0.005` to `0.02`
- `leverage`: target leverage, typically `2` to `5`

Optional inputs:
- `take_profit`
- `funding_rate_limit`
- `max_daily_loss`
- `max_open_positions`
- `max_consecutive_losses`
- `slippage_limit_bps`
- `volatility_filter`
- `reduce_only_exit_policy`

---

## Expected outputs
The skill should produce structured execution outputs such as:
- `trade_status`: `trade`, `skip`, `reduce`, or `halt`
- `reason`: explanation for the action
- `order_request`: normalized order payload before submission
- `execution_result`: accepted, rejected, open, partial, filled, canceled
- `position_state`: resulting position information
- `risk_summary`: size, stop distance, leverage, exposure, an

README.md

# Hyperliquid Execution Layer

A Clawhub skill for agents that need a concrete Hyperliquid execution and risk framework without embedding secret handling inside the skill package.

## What makes this version safer
This package does not ask users to paste private keys into the skill.
Instead, it assumes the host runtime already provides an authenticated Hyperliquid client or execution session.

## Included
- Hyperliquid-specific execution flow
- risk-based sizing rules
- funding and liquidation checks
- order-state confirmation rules
- safe-mode logic
- example code using a mock authenticated client interface

## Recommended positioning
Publish this as:
- Hyperliquid execution layer
- Hyperliquid risk framework
- Hyperliquid strategy executor

Avoid positioning it as:
- guaranteed profit
- ready-made secret handling
- direct credential intake

## Recommended onboarding link
https://app.hyperliquid.xyz/join/M8UHZWP

_meta.json

{
  "ownerId": "kn72vtsnzvmx7k82q3wybpyvjx83jbf8",
  "slug": "hyperliquid-agent",
  "version": "1.0.1",
  "publishedAt": 1774688515795
}

skill-card.md

## Description:

Provides a Hyperliquid execution and risk-management layer for agents that use a host-provided authenticated trading client.

This skill is ready for commercial/non-commercial use.

## Publisher:

[jurgenw81](https://clawhub.ai/user/jurgenw81)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent builders use this skill to standardize Hyperliquid perpetual futures execution, including trade validation, position sizing, order confirmation, and safety halts. It is intended for agents that already receive strategy signals, market data, account state, and an authenticated client from the host runtime.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The agent can be given live Hyperliquid trading authority without a strong confirmation or default simulation guard.

Mitigation: Use a restricted or paper-trading Hyperliquid client by default, and require explicit host-side approval before live order submission.

Risk: Trading outside intended markets, exposure limits, or stop policies could create financial loss.

Mitigation: Enforce host-side market allowlists, hard risk limits, stop-order verification, and emergency shutdown controls.

Risk: Secrets or signing authority could be exposed if authentication is handled inside prompts, logs, or skill inputs.

Mitigation: Keep wallet connection, session creation, transaction signing, and secret storage outside the skill, and pass only a host-provided authenticated client or session.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/jurgenw81/skills/hyperliquid-agent)

## Skill Output:

**Output Type(s):** [text, markdown, code, configuration, guidance]

**Output Format:** [Markdown guidance with structured execution output descriptions and Python example code]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces trade-status reasoning, normalized order-request structure, execution-result expectations, position-state details, and risk summaries.]

## Skill Version(s):

1.0.1 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

manifest.json

{
  "name": "Hyperliquid Execution Layer",
  "display_name": "Hyperliquid Execution Layer",
  "slug": "hyperliquid-execution-layer",
  "description": "Execution and risk-management framework for agents trading on Hyperliquid through a host-provided authenticated client. Covers trade validation, position sizing, funding checks, order confirmation, and safe-mode halts without collecting or managing secrets.",
  "version": "1.2.0",
  "author": "J\u00fcrgen Wolf",
  "tags": [
    "hyperliquid",
    "execution",
    "risk-management",
    "trading",
    "agent",
    "automation"
  ],
  "inputs": [
    {
      "name": "authenticated_hyperliquid_client",
      "type": "object",
      "required": true,
      "description": "Host-provided authenticated Hyperliquid client or signed execution session."
    },
    {
      "name": "market",
      "type": "string",
      "required": true,
      "description": "Market symbol such as BTC or ETH."
    },
    {
      "name": "side",
      "type": "string",
      "required": true,
      "description": "Trade direction: long or short."
    },
    {
      "name": "strategy_signal",
      "type": "object",
      "required": true,
      "description": "External strategy output indicating whether a trade is valid and at what levels."
    },
    {
      "name": "account_state",
      "type": "object",
      "required": true,
      "description": "Current balance, margin, open positions, and daily PnL."
    },
    {
      "name": "entry_price",
      "type": "number",
      "required": true,
      "description": "Expected entry price."
    },
    {
      "name": "stop_loss",
      "type": "number",
      "required": true,
      "description": "Invalidation price used for risk control."
    },
    {
      "name": "risk_per_trade",
      "type": "number",
      "required": false,
      "default": 0.01,
      "description": "Fraction of account to risk per trade."
    },
    {
      "name": "leverage",
      "type": "number",
      "required": false,
      "default": 3,
      "description": "Target leverage, generally between 2 and 5."
    },
    {
      "name": "take_profit",
      "type": "number",
      "required": false,
      "description": "Optional take-profit target."
    }
  ],
  "outputs": [
    {
      "name": "trade_status",
      "type": "string",
      "description": "Decision or execution result such as trade, skip, reduce, or halt."
    },
    {
      "name": "reason",
      "type": "string",
      "description": "Human-readable explanation for the action."
    },
    {
      "name": "order_request",
      "type": "object",
      "description": "Normalized order payload before submission."
    },
    {
      "name": "execution_result",
      "type": "object",
      "description": "Submission or fill result returned by the host client."
    },
    {
      "name": "position_state",
      "type": "object",
      "description": "Resulting position data after confirmation."
    },
    {
      "name": "risk_summary

Sponsored

Ads related to hyperliquid-trading-agent and adjacent AI workflows.