apex-strategy

apex-strategy is a skill for Claude Code, Codex from Nunchi-trade/agent-cli. It costs 12 tokens per session (1,435 once invoked), scanned A, original, MIT.

An automated trading strategy that combines market signals, position rules, and risk controls into one process. It monitors prices and manages several open positions on supported trading setups.

In plain words
What is it for?
Use it to evaluate trading opportunities, open and close positions, monitor exchange state, and apply stop-loss and daily-loss rules.
Why use it?
It removes the need to manually check signals, enforce entry and exit rules, and watch position limits continuously.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to evaluate trading opportunities, open and close positions, monitor exchange state, and apply stop-loss and daily-loss rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nunchi-trade/agent-cli/apex
Install

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.

Any agent
npx skills add Nunchi-trade/agent-cli --skill apex
Clone the repo
git clone --depth 1 https://github.com/Nunchi-trade/agent-cli

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for apex-strategy

README.md
[![agentmods](https://agentmods.dev/badge/skills/nunchi-trade/agent-cli/apex/github.svg)](https://agentmods.dev/skills/nunchi-trade/agent-cli/apex)
Your own site
<a href="https://agentmods.dev/skills/nunchi-trade/agent-cli/apex"><img src="https://agentmods.dev/badge/skills/nunchi-trade/agent-cli/apex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apex-strategy

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,435 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00012 $0.01435
Opus 5.5 $0.00005 $0.00574
Sonnet 5.5 $0.00002 $0.00287
Haiku 4.5 $0.00001 $0.00144

Measured 1mo ago against content hash 514ae0c20eea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/standalone_runner.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/apex/SKILL.md · 144 lines

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:

  1. Every tick: Fetch prices, update ROEs, check DSL guards, run pulse, evaluate entry/exit
  2. Every 5 ticks (5 min): Watchdog health check (verify positions match exchange)
  3. 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

  1. Pulse IMMEDIATE_MOVER -> auto-enter
  2. Radar score > 170 -> queue entry
  3. Pulse other signals (confidence > 70) -> enter

Exit Priority

  1. DSL trailing stop CLOSE
  2. Hard stop: ROE < -5%
  3. Conviction collapse: signal gone + negative PnL for 30+ min
  4. 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:

  1. Testnet: Claim USDyP first — hl setup claim-usdyp (without funds, all orders fail silently)
  2. Mainnet: Deposit USDC via the Hyperliquid web UI
  3. Builder fee: Approve once per network — hl builder approve (testnet) or hl 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.

Read the full file on GitHub · 144 lines

Files

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.

Changes

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.

  1. 1mo ago First seen · 144 lines · 12 tokens per session scan A 514ae0c20eea

Subscribe to this mod's changes

apex-strategy is a skill published in the GitHub repository Nunchi-trade/agent-cli (521 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 1,435 once invoked, about $0.0000 per session on Opus 5.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.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens

china-portfolio-monitoring

A monitoring framework for tracking the financial results, operating measures, strategic milestones, and risks of companies held by China-focused private-equity funds. It uses measures such as revenue growth, margins, debt, cash flow, and return on equity.

jwangkun/claude-for-financial-services-cn · 86 tokens