Logo di Agent Onboarding

Agent Onboarding

Organizzazione
Nunchi-trade
agent-onboarding

First-time setup — from zero to first trade on Hyperliquid

Panoramica

Pubblicato daNunchi-trade
Repositoryagent-cli
Nome della skillagent-onboarding
Stelle
521
Fork
136
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da Nunchi-trade su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Agent Onboarding in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Nunchi-trade/agent-cli/tree/main/skills/onboard
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Nunchi-trade/agent-cli.git /tmp/agent-cli
mkdir -p .claude/skills
cp -r /tmp/agent-cli/skills/onboard .claude/skills/agent-onboarding
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Agent Onboarding in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Agent Onboarding non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Agent Onboarding non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

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

Domande frequenti

Cosa fa la skill IA Agent Onboarding?

First-time setup — from zero to first trade on Hyperliquid

Perché usare Agent Onboarding su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Agent Onboarding è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Agent Onboarding in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Nunchi-trade/agent-cli/tree/main/skills/onboard. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Agent Onboarding?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Agent Onboarding?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Agent Onboarding: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Agent Onboarding è gratuita?

Sì. È pubblicata su GitHub da Nunchi-trade con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇