Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/nunchi-trade/agent-cli/apexnpx skills add Nunchi-trade/agent-cli --skill apexgit clone --depth 1 https://github.com/Nunchi-trade/agent-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nunchi-trade/agent-cli/apex)<a href="https://agentmods.dev/skills/nunchi-trade/agent-cli/apex"><img src="https://agentmods.dev/badge/skills/nunchi-trade/agent-cli/apex.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00012 | $0.01435 |
| Opus 5 | $0.00006 | $0.00718 |
| Sonnet 5 | $0.00002 | $0.00287 |
| Haiku 4.5 | $0.00001 | $0.00144 |
Grade A, and why
apex-strategy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- apex-strategy — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
APEX Strategy
Autonomous multi-slot trading strategy that composes Radar + Pulse + DSL into a unified orchestrator.
Architecture
APEX runs a single tick loop (60s base) that:
- Every tick: Fetch prices, update ROEs, check DSL guards, run pulse, evaluate entry/exit
- Every 5 ticks (5 min): Watchdog health check (verify positions match exchange)
- Every 15 ticks (15 min): Run opportunity radar, queue high-score setups
Slot Management
- 2-3 concurrent positions (configurable)
- Each slot: EMPTY -> ACTIVE -> CLOSED (reset to EMPTY)
- No duplicate instruments across slots
- Max 2 same-direction positions
Entry Priority
- Pulse IMMEDIATE_MOVER -> auto-enter
- Radar score > 170 -> queue entry
- Pulse other signals (confidence > 70) -> enter
Exit Priority
- DSL trailing stop CLOSE
- Hard stop: ROE < -5%
- Conviction collapse: signal gone + negative PnL for 30+ min
- Stagnation: ROE stuck above 3% for 60+ min
Risk Management
- Per-slot margin: total_budget / max_slots
- Daily loss limit: $500 (default)
- Daily loss trigger: close all positions immediately
Prerequisites
Before running APEX live (not mock), ensure:
- Testnet: Claim USDyP first —
hl setup claim-usdyp(without funds, all orders fail silently) - Mainnet: Deposit USDC via the Hyperliquid web UI
- Builder fee: Approve once per network —
hl builder approve(testnet) orhl builder approve --mainnet
Usage
# Mock mode (no funds needed)
hl apex run --mock --max-ticks 10
# Live (testnet) — requires USDyP balance + builder approval
hl apex run
# Live (mainnet) — requires USDC balance + mainnet builder approval
hl apex run --mainnet
# Check status
hl apex status
# List presets
hl apex presets
Presets
- default: 3 slots, 10x leverage, $10K budget
- conservative: 2 slots, 5x leverage, higher thresholds
- aggressive: 3 slots, 15x leverage, lower thresholds
Agent Mandate
You are the APEX orchestrator. Your job is to hunt for high-probability setups and manage 2-3 concurrent positions with strict risk controls.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago First seen · 144 lines · 12 tokens per session scan A 514ae0c20eea
apex-strategy is a skill published in the GitHub repository Nunchi-trade/agent-cli (515 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 1,435 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.
southwest
Search Southwest Airlines fares and points pricing via Patchright browser automation. SW is not in any GDS or API. Covers all fare classes, Companion Pass value, and fare drop monitoring.
alphagbm-greeks
Greeks dashboard for any option contract or multi-leg position. Covers first-order Greeks (Delta, Gamma, Theta, Vega, Rho) and second-order Greeks (Charm, Vanna, Volga). Returns individual and position-level Greeks with scenario heatmaps. Use when: checking option sensitivities, managing position risk, understanding…
reverse-dcf
Reverse DCF (reverse discounted cash flow) valuation tool. Uses the market price to back-solve the market's implied growth rate expectations, replacing the common forward DCF routine of "tweaking parameters to fit the conclusion." Suitable for mature companies with positive FCFF (A-shares, Hong Kong-listed stocks, and…
hyperliquid
Use when backtesting, deploying, funding, or debugging a live trading strategy on Hyperliquid through the Superior Trade API — writing Freqtrade configs and strategy code, running backtest sweeps, checking wallet balances, depositing USDC, trading HIP-3 stock/commodity perps, or diagnosing a deployment that will not…