# OpenClaw Coinpilot Skill

### **How the Coinpilot Skill Works**

```mermaid
graph TD
A[OpenClaw Agent] --> B[Coinpilot Skill]
B --> C[Follower Wallets]
C --> D[Hyperliquid Perps]
```

The OpenClaw agent interacts with the Coinpilot skill, which executes copy trades through follower wallets on Hyperliquid.

Once installed, your OpenClaw bot can:

• Discover top-performing traders\
• Start / manage / stop copy trading\
• Apply risk management settings (max leverage, stop-loss, take-profit)\
• Track portfolio performance across follower wallets\
• Auto-rebalance your portfolio and trade based on your goals

This guide walks you through the full setup process.

{% hint style="info" %}

### Prerequisites

Before installing the Coinpilot skill, make sure you have already completed the following:

* Deployed your OpenClaw runtime environment
* Configured your OpenClaw (Telegram bot, Discord, or other interface)

If you are new to OpenClaw, please complete the basic setup first.
{% endhint %}

### Step 1: Install the Coinpilot Skill

Coinpilot OpenClaw skills are installed via ClawHub: <https://clawhub.ai/alannkl/coinpilot-hyperliquid-copy-trade>

If you’d like to understand how the skill works before installing, you can also check the GitHub README, which includes installation guidance, example use cases, and the full source code details:<https://github.com/coinpilot-labs/skills/blob/main/coinpilot-hyperliquid-copy-trade/README.md>

{% hint style="info" icon="bell" %}
**Security Notice**

You may see a “malicious skill” warning when installing the Coinpilot skill. This is an automatic alert OpenClaw shows for any skill that interacts with wallet private keys.

Secured by Privy, Coinpilot never collects your private keys or personal data. Your credentials remain local to your OpenClaw agent.

Never share your private keys or credential files with anyone.
{% endhint %}

### Step 2: Download Your Coinpilot Skill Credentials

To connect the Coinpilot skill with your OpenClaw agent, you need to export the wallet credentials generated by Coinpilot.

These credentials include:

* The configuration file (`coinpilot.json`)
* The private keys of your sub-wallets

{% hint style="info" icon="bell" %}
Never share your private keys or the exported JSON file with anyone.

These credentials provide full access to your wallets and should be stored securely.
{% endhint %}

**Export the wallet credentials:**

1. Download the Coinpilot mobile app (App Store / Google Play).
2. Create or log in to your Coinpilot account.
3. Go to  `Profile 👤` → `Settings ⚙️` → `Export Wallet`&#x20;
4. Finish the Privy login flow.
5. Select `Download Agent Skill Credential` , this will export a configuration file: `coinpilot.json.` The exported JSON file contains:\
   • Your API key for the OpenClaw skill\
   • The wallet structure required for copy trading\
   • The addresses of your primary wallet and sub-wallets

<div align="left"><figure><img src="/files/okv3FcvWg3i4asYJgvvA" alt="" width="188"><figcaption></figcaption></figure></div>

**Export the sub-wallet private keys:**

From the same `Export Wallet` section, you can retrieve the private keys for each sub-wallet on Coinpilot, secured by Privy. Detailed steps: [Export Keys](/profile/export-private-keys.md)

### Step 3: Configure the Wallet JSON

1. Open the exported **coinpilot.json** file and complete the required wallet fields.
2. Copy the private keys for sub-wallets and insert them into the corresponding fields in the `coinpilot.json` file.\
   \
   Wallet Structure\
   **Primary Wallet (index 0)**\
   • Used as the funding wallet\
   • Provides capital for copy trading\
   • Does not execute trades directly\
   \
   **Sub-wallets (index 1–9)**\
   • Used by the OpenClaw agent to execute copy trades\
   • Each sub-wallet can follow a different trader\
   These sub-wallets are used by your OpenClaw agent to execute copy trades.
3. Once completed, provide the updated **coinpilot.json** configuration to your OpenClaw agent.

### Step 4: Start Copy Trading & Join the OpenClaw Campaign

After configuration is complete, your OpenClaw agent can begin copying traders.

Using the Coinpilot skill, you can:

• Discover high-performing traders\
• Start copy trading a selected wallet\
• Adjust risk parameters\
• Monitor portfolio performance<br>

### Resources

* Install Coinpilot Skill: <https://clawhub.ai/alannkl/coinpilot-hyperliquid-copy-trade>
* Source Code: <https://github.com/coinpilot-labs/skills/blob/main/coinpilot-hyperliquid-copy-trade/README.md>
* Use cases: <https://x.com/trycoinpilot/status/2036395671696318574?s=20>

### Join the Coinpilot Community

If you need help during installation or configuration, you’re welcome to join the Coinpilot Discord.

Our team and community members can help with:

• Skill installation\
• Wallet configuration\
• Copy trading setup\
• Troubleshooting

Join the community and ask if you need any assistance during the setup process.

{% hint style="info" %}

* The OpenClaw skill currently supports **Hyperliquid perpetual copy trading**.
* Prediction market copy trading is available in the **Coinpilot mobile app**, with OpenClaw support coming later.
* Always review trader performance before enabling automated copy trading.
  {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.coinpilot.com/copy-trade/openclaw-coinpilot-skill.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
