Coinpilot hyperliquid copy trade

From jiayaoqijia/cryptoskill · View interactive version

Coinpilot hyperliquid copy trade is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Automate copy trading on Hyperliquid via Coinpilot to discover, investigate, and mirror top on-chain traders in real time with low execution latency. Runtime use requires a local credentials JSON that contains high-sensitivity secrets. Use only on a trusted local runtime when users explicitly reques

How to use this skill

Skill file

Coinpilot Hyperliquid Copy Trade

Overview

Use Coinpilot to discover lead wallets, copy-trade Hyperliquid perpetuals, manage subscription lifecycles, and inspect basic performance using the user's configured wallet keys. The goal is to help users find strong traders to mirror while applying clear operational and risk guardrails.

This is a trusted-local-runtime skill. It is not intended for use without user-managed local secret storage because runtime trading calls require direct access to the secrets in the credentials JSON.

Getting Coinpilot credentials

Before first use:

  1. Create and fund a Coinpilot account.

Download Coinpilot on App Store or Google Play.

  1. Obtain the experimental apiKey and Privy userId through Coinpilot support

or by opening a ticket in the official Coinpilot Discord.

  1. After the user has those values, have them populate the local

~/.coinpilot/coinpilot.json file as described below.

Credential requirements

Required inputs

from the redacted assets/coinpilot.template.json template with placeholder values only.

them to open it locally, fill in their credentials, save the file, and

confirm when they are done.

wallets, for 10 wallets total in coinpilot.json.

secret values into chat.

permissions to owner-only read/write.

See references/coinpilot-json.md for the format and rules.

Security precautions

populated credentials file be pasted into chat or uploaded to a third-party service.

--follower-index, --follower-wallet, or --use-prepare-wallet, then load

the private keys from the fixed local JSON in memory.

API destination from coinpilot.json.apiBaseUrl only.

Workflow

Use scripts/coinpilot_cli.mjs as the primary runtime interface. Before or during an action, quickly check the relevant reference(s) only when you need to confirm endpoint contracts, payload details, or constraints that the CLI wraps.

  1. Initialization and Authentication Setup

from the redacted assets/coinpilot.template.json template (placeholders only).

to edit it locally, fill in their values, save it, and confirm completion

before any live API calls.

real credentials locally and confirm before any live runtime calls.

enforces the allowlist, and loads wallet secrets from memory only.

underlying headers or write-route payload requirements.

  1. First-use validation (only once)

one lead-discovery GET, and Hyperliquid clearinghouseState for the primary wallet.

  1. Lead wallet discovery

a user-specified lead.

node scripts/coinpilot_cli.mjs lead-category --category <name> for curated discovery.

filtered discovery across periods, sorting, search, pagination, or type filters.

discovery filters or validating supported params.

  1. Start copy trading

node scripts/coinpilot_cli.mjs hl-account --wallet 0x... before starting.

calls for multiple leads; wait for the previous start to complete and

confirm the new subscription is active before proceeding.

positions scale sensibly versus lead traders (often $500K-$3M+ accounts).

value from metrics to preserve proportional sizing.

schema and experimental write payload details.

  1. Manage ongoing subscription

node scripts/coinpilot_cli.mjs update-config --subscription-id <id> --payload path/to/payload.json.

node scripts/coinpilot_cli.mjs close-all --subscription-id <id>.

node scripts/coinpilot_cli.mjs renew-api-wallet --subscription-id <id> --follower-index <n>.

  1. Stop copy trading

node scripts/coinpilot_cli.mjs stop --subscription-id <id> --follower-index <n>.

underlying request contract or legacy body behavior.

  1. Orphaned follower wallet handling

account value, alert the user and ask them to reset it manually in the

Coinpilot platform.

Always respect the 1 request/second rate limit and keep Coinpilot API calls serialized (1 concurrent request). Prefer the CLI because it already enforces this.

Performance reporting

state and realized outcomes.

portfolio-level inspection.

Example user requests

Runtime Commands (Node.js)

Use scripts/coinpilot_cli.mjs as the default runtime interface:

Use wallet selectors instead of passing raw secret material.

one lead-discovery GET, and hl-account.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.