Agent skill

Agent Onboarding

by Nunchi-trade in Nunchi-trade/agent-cli

First-time setup — from zero to first trade on Hyperliquid. An agent skill from Nunchi-trade/agent-cli.

MITAuto-check passedBusiness, Finance & HR

Install Agent Onboarding

skills CLI
$ npx skills add Nunchi-trade/agent-cli --skill agent-onboarding -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nunchi-trade/agent-cli agent-onboarding --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nunchi-trade/agent-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/onboard .claude/skills/agent-onboarding && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agent-onboarding
GitHub stars
521
Token cost
~2.1k tokens
SKILL.md length
919 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

First-time setup — from zero to first trade on Hyperliquid. An agent skill from Nunchi-trade/agent-cli.

  • Works in 9 steps: Environment Bootstrap → Wallet Setup → Network Configuration → …
  • Business, Finance & HR work in your project
  • SKILL.md covers Agent Mandate, Step 1: Environment Bootstrap, Step 2: Wallet Setup and Step 3: Network Configuration, plus 9 more sections
  • Calls pip, python3 and bash; needs HL_KEYSTORE_PASSWORD and HL_PRIVATE_KEY

What it does

Agent Onboarding is an agent skill from Nunchi-trade/agent-cli. First-time setup — from zero to first trade on Hyperliquid

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR. It works with Hyperliquid and Python. The licence is MIT.

When your agent uses it

  • Business, Finance & HR work in your project

Example prompts

  • “/agent-onboarding”

Requirements

  • Python 3
  • A credential in HL_PRIVATE_KEY
  • A credential in ANTHROPIC_API_KEY

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Environment Bootstrap
  2. Wallet Setup
  3. Network Configuration
  4. Fund Account
  5. Builder Fee Approval
  6. Validate with Mock Trade
  7. First Live Trade (Testnet)
  8. APEX Multi-Slot (Optional)
  9. Mainnet (When Ready)

What it can do on your machine

Read from SKILL.md and the folder at commit 58619a2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip
    • python3
    • bash
    • brew

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • HL_KEYSTORE_PASSWORD
    • HL_PRIVATE_KEY
    • ANTHROPIC_API_KEY
    • GEMINI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent Onboarding loads about 2.1k tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 919 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Nunchi-trade/agent-cli at commit 58619a2, republished under its MIT licence (© Nunchi-trade). 919 words, ~2,138 tokens.

Download SKILL.mdSave it as .claude/skills/agent-onboarding/SKILL.md (or your agent's skills folder).
name
agent-onboarding
description
First-time setup — from zero to first trade on Hyperliquid
version
1.0.0
author
YEX

Agent Onboarding

Complete first-time setup for the YEX autonomous trading system on Hyperliquid. Follow every step in order. Do not skip steps. Verify each step before proceeding to the next.

Agent Mandate

You are onboarding onto the YEX trading system. Your goal is to reach a state where you can autonomously trade on Hyperliquid (testnet or mainnet). Every step has a verification command — if verification fails, fix the issue before continuing.

RULES:

  • Follow steps sequentially — each depends on the previous
  • NEVER skip builder fee approval — all orders will fail without it
  • ALWAYS validate with a mock trade before going live
  • NEVER start on mainnet without completing testnet validation first
  • Save all credentials (passwords, addresses) — they cannot be recovered

Step 1: Environment Bootstrap

Install Python dependencies and verify the CLI works.

Option A — Shell script (recommended):

bash
cd ~/agent-cli
bash scripts/bootstrap.sh

Option B — Manual:

bash
cd ~/agent-cli
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Verify:

bash
hl setup check

Expected: All items show OK, no !! issues (except missing key — that's Step 2).

If fails:

ErrorFix
python3 not foundInstall Python 3.10+ via brew install python or system package manager
pip install failedEnsure you're in a venv: source .venv/bin/activate
ModuleNotFoundError: hyperliquidRun pip install hyperliquid-python-sdk

Step 2: Wallet Setup

Create or import a Hyperliquid wallet.

Decision tree:

  • Do you have a private key?
    • YES → Import it:
      bash
      hl wallet import --key 0x<your_key>
    • NO → Create a new one (non-interactive, with auto-saved credentials):
      bash
      hl wallet auto --save-env --json
      This creates the wallet, saves HL_KEYSTORE_PASSWORD to ~/.hl-agent/env (auto-detected by CLI), and outputs JSON: {"address": "...", "password": "...", "keystore": "...", "env_file": "..."}.

If you used --save-env, the CLI auto-detects the password from ~/.hl-agent/env — no manual export needed.

If you did NOT use --save-env, set the keystore password manually:

bash
export HL_KEYSTORE_PASSWORD=<password>

Verify:

bash
hl wallet list

Expected: At least one address shown.

If fails:

ErrorFix
No keystores foundRun hl wallet auto
eth_account not installedRun pip install eth-account>=0.10.0

Step 3: Network Configuration

Choose testnet (default, recommended for first run) or mainnet.

Testnet (default):

bash
export HL_TESTNET=true

Mainnet:

bash
export HL_TESTNET=false

Verify:

bash
hl setup check

Expected: Network: testnet or Network: mainnet shown.


Step 4: Fund Account

CRITICAL: On testnet, you MUST claim USDyP tokens before ANY trading commands will work (including builder approval). Without funds, all orders fail silently.

Testnet — Claim USDyP
bash
hl setup claim-usdyp

If you get "Wallet not eligible" error: New wallets must connect to Hyperliquid testnet once before claiming.

  1. Visit https://app.hyperliquid-testnet.xyz
  2. Connect the wallet address shown by hl wallet list
  3. Re-run hl setup claim-usdyp

Verify:

bash
hl account

Expected: USDyP balance > 0. If balance is 0, do NOT proceed — all subsequent steps will fail.

Mainnet — Deposit USDC

Deposit USDC to your Hyperliquid sub-account manually via the Hyperliquid web UI. This cannot be automated.

Verify:

bash
hl account --mainnet

Expected: USDC balance > 0.


Step 5: Builder Fee Approval

Approve the builder fee so your orders include revenue collection. This is a one-time on-chain approval.

Testnet:

bash
hl builder approve

Mainnet:

bash
hl builder approve --mainnet

Verify:

bash
hl builder status

Expected: Builder fee: 10.0 bps -> 0x0D1DB1C8...

If fails:

ErrorFix
No private keyComplete Step 2
insufficient fundsComplete Step 4

Step 6: Validate with Mock Trade

Run a strategy in mock mode to verify the full pipeline without real orders.

bash
hl run avellaneda_mm --mock --fresh --max-ticks 3

Expected: 3 ticks execute, strategy produces decisions, no errors.

If fails:

ErrorFix
ModuleNotFoundErrorRun pip install -e . again
Strategy crashCheck traceback — likely missing dependency

Step 7: First Live Trade (Testnet)

Run a real strategy on testnet with a short time limit.

bash
hl run engine_mm -i ETH-PERP --tick 15 --max-ticks 5

Verify:

bash
hl status

Expected: Shows position or recent fills. Trades logged to data/cli/trades.jsonl.


Step 8: APEX Multi-Slot (Optional)

After single-strategy validation, try the full APEX orchestrator.

bash
hl apex run --mock --fresh --max-ticks 5

Then live:

bash
hl apex run --max-ticks 10

Show full SKILL.md (381 more words)Show less

Step 9: Mainnet (When Ready)

Only after completing Steps 1-8 on testnet:

IMPORTANT: Switching from testnet to mainnet requires re-approving the builder fee on mainnet. Testnet approvals do NOT carry over.

Checklist
  1. Switch network:

    bash
    export HL_TESTNET=false
  2. Deposit USDC to your HL sub-account via the Hyperliquid web UI

  3. Verify balance:

    bash
    hl account --mainnet
  4. Approve builder fee on mainnet (required again — separate from testnet approval):

    bash
    hl builder approve --mainnet
  5. Test with a single strategy first:

    bash
    hl run engine_mm -i ETH-PERP --tick 15 --max-ticks 5 --mainnet
  6. Verify: hl status

Network Differences
TestnetMainnet
CurrencyUSDyP (free, claim via hl setup claim-usdyp)USDC (real money)
InstrumentsSame tickers (ETH-PERP, BTC-PERP, etc.)Same tickers
YEX marketsVXX-USDYP, US3M-USDYP, BTCSWP-USDYPSame instruments
Builder feeMust approve separatelyMust approve separately
--mainnet flagNot needed (default is testnet)Required on all commands
RiskNone (play money)Real financial risk
Common Mistakes
  • Forgot to re-approve builder on mainnet → orders fail. Run hl builder approve --mainnet.
  • No USDC deposited → orders fail with insufficient funds. Deposit first.
  • Using testnet env with --mainnet flag → confusing. Set HL_TESTNET=false instead of mixing flags.
  • Forgot --mainnet on a command → runs on testnet by accident (harmless but confusing).

Anti-Patterns

  • Skipping builder fee approval → Every order fails silently. Always approve first.
  • Going mainnet without testnet validation → Real money at risk with unverified setup.
  • Running APEX before single-strategy test → APEX composes multiple systems — if any sub-component fails, debugging is harder.
  • Ignoring password save → Keystore password cannot be recovered. Lose it = lose wallet access.
  • Not setting HL_KEYSTORE_PASSWORD → CLI can't auto-unlock keystore. Every command will fail.

Complete Environment Variables

VariableRequiredDescription
HL_KEYSTORE_PASSWORDYes*Password for encrypted keystore
HL_PRIVATE_KEYAlt*Raw private key (alternative to keystore)
HL_TESTNETNotrue (default) or false for mainnet
BUILDER_ADDRESSNoOverride builder fee address
BUILDER_FEE_TENTHS_BPSNoOverride fee rate (default: 100 = 10 bps)
ANTHROPIC_API_KEYNoFor claude_agent strategy
GEMINI_API_KEYNoFor claude_agent with Gemini

* Either keystore with HL_KEYSTORE_PASSWORD or HL_PRIVATE_KEY is required.

Composition

This skill is the entry point for all other skills. After completing onboarding:

  • Trade: hl run <strategy> — see strategies with hl strategies
  • APEX: hl apex run — multi-slot orchestrator
  • REFLECT: hl reflect run — nightly performance review
  • Radar: hl radar run — find trading opportunities
  • Guard: hl guard run -i <instrument> — trailing stop protection

© Nunchi-trade, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/onboard of Nunchi-trade/agent-cli.

Open the folder on GitHubat commit 58619a2

Compare with similar skills

Agent Onboarding next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent Onboarding compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Onboarding this skillNunchi-trade/agent-cli521—~2.1kAutomated safety check: PassMIT
Senpi Trading Runtime ContractSenpi-ai/senpi-skills134—~2.6kAutomated safety check: PassApache-2.0
Crypto Pricesundial-org/awesome-openclaw-skills663—~489Automated safety check: PassNone
Vibetrading Code GenLeoYeAI/openclaw-master-skills2.2k—~5.7kAutomated safety check: PassMIT
1m Trade DexLeoYeAI/openclaw-master-skills2.2k—~2.8kAutomated safety check: NotesMIT
Itr Walakaranb192/itr-wala871—~3.6kAutomated safety check: PassMIT

Similar skills

  • Senpi Trading Runtime Contract

    Senpi-ai/senpi-skills

    Documents how a Senpi strategy's scan function talks to the runtime that schedules it, sizes orders, and manages stop-loss exits on Hyperliquid.

    134 GitHub stars~2.6k tokensUpdated today
    Business, Finance & HRAuto-check passed
  • Crypto Price

    sundial-org/awesome-openclaw-skills

    Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API.

    663 GitHub stars~489 tokensUpdated 7 mo ago
    Business, Finance & HRAuto-check passed
  • Vibetrading Code Gen

    LeoYeAI/openclaw-master-skills

    Generate executable Hyperliquid trading strategy code from natural language prompts.

    2.2k GitHub stars~5.7k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • 1m Trade Dex

    LeoYeAI/openclaw-master-skills

    Hyperliquid DEX/Perps entrypoint via hl1m: market queries, order placement.

    2.2k GitHub stars~2.8k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check: notes
  • Itr Wala

    karanb192/itr-wala

    File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.

    871 GitHub stars~3.6k tokensUpdated 5 days ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    321 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed

More from Nunchi-trade/agent-cli

  • Guard Trailing Stop

    Nunchi-trade/agent-cli

    Guard — two-phase ROE-based trailing stop system for Hyperliquid perps.

    521 GitHub stars~1.9k tokensUpdated 3 mo ago
    Auto-check passed
  • Apex Strategy

    Nunchi-trade/agent-cli

    Autonomous multi-slot trading orchestrator. An agent skill from Nunchi-trade/agent-cli.

    521 GitHub stars~1.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Opportunity Radar

    Nunchi-trade/agent-cli

    Screens all Hyperliquid perps and surfaces top trading setups

    521 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed
  • Pulse

    Nunchi-trade/agent-cli

    Detects assets with sudden capital inflow via OI/volume/funding proxy signals

    521 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Reflect Performance Review

    Nunchi-trade/agent-cli

    Reflect, Evaluate, Fine-tune, Learn, Evolve, Correct, Transform — nightly automated performance review

    521 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Yex Trader

    Nunchi-trade/agent-cli

    Autonomous Hyperliquid trading — 14 strategies (MM, momentum, arbitrage, LLM) with APEX multi-slot orchestrator, REFLECT performance review, DSL trailing stops, and builder fee revenue collection.

    521 GitHub stars~1.9k tokensUpdated 3 mo ago
    Auto-check: notes

Questions about Agent Onboarding

What does Agent Onboarding do?

First-time setup — from zero to first trade on Hyperliquid. An agent skill from Nunchi-trade/agent-cli. Agent Onboarding is an agent skill from Nunchi-trade/agent-cli.

When should I use Agent Onboarding?

Agent Onboarding fits situations like: business, Finance & HR work in your project.

How do I install Agent Onboarding in Claude Code?

Run `npx skills add Nunchi-trade/agent-cli --skill agent-onboarding -a claude-code`. Or copy the skill folder (skills/onboard in Nunchi-trade/agent-cli) into .claude/skills/agent-onboarding in your project. Claude Code loads it when a task matches its description.

How do I install Agent Onboarding in Codex?

Run `npx skills add Nunchi-trade/agent-cli --skill agent-onboarding -a codex`. Or copy the skill folder (skills/onboard in Nunchi-trade/agent-cli) into .agents/skills/agent-onboarding in your project. Codex loads it when a task matches its description.

Can I use Agent Onboarding in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nunchi-trade/agent-cli --skill agent-onboarding -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-onboarding, .gemini/skills/agent-onboarding, .github/skills/agent-onboarding and .opencode/skills/agent-onboarding in your project.

What does Agent Onboarding need to run?

Going by SKILL.md and its folder, Agent Onboarding needs the command-line tools its instructions call (pip, python3, bash and brew) and credentials named HL_KEYSTORE_PASSWORD, HL_PRIVATE_KEY, ANTHROPIC_API_KEY and GEMINI_API_KEY. Our summary lists: Python 3; A credential in HL_PRIVATE_KEY; A credential in ANTHROPIC_API_KEY.

Does Agent Onboarding access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Agent Onboarding safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Agent Onboarding use?

Agent Onboarding is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent Onboarding use?

About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agent Onboarding?

Skills that share tags, products or a category with Agent Onboarding: Senpi Trading Runtime Contract (Senpi-ai/senpi-skills, 134 stars), Crypto Price (sundial-org/awesome-openclaw-skills, 663 stars), Vibetrading Code Gen (LeoYeAI/openclaw-master-skills, 2.2k stars) and 1m Trade Dex (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Onboarding?

Nunchi-trade (a GitHub organization) maintains it in Nunchi-trade/agent-cli, which has 521 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on July 8, 2026.

Source: Nunchi-trade/agent-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.