apex-strategy

apex-strategy is a skill for Claude Code, Codex from clawd-aftermath/nunchi-for-aftermath. It costs 12 tokens per session (1,435 once invoked), scanned A, a copy of apex-strategy, MIT.

An automated trading strategy that manages several trading positions using price signals, entry and exit rules, and loss limits.

In plain words
What is it for?
Use it to fetch prices, find trading opportunities, open or close positions, check exchange health, and enforce position and daily-loss limits.
Why use it?
It coordinates repeated market checks and position decisions so the strategy does not rely on manual monitoring.

Skill for Claude CodeCodex

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

Good fit Use it to fetch prices, find trading opportunities, open or close positions, check exchange health, and enforce position and daily-loss limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clawd-aftermath/nunchi-for-aftermath/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 clawd-aftermath/nunchi-for-aftermath --skill apex
Clone the repo
git clone --depth 1 https://github.com/clawd-aftermath/nunchi-for-aftermath

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/clawd-aftermath/nunchi-for-aftermath/apex/github.svg)](https://agentmods.dev/skills/clawd-aftermath/nunchi-for-aftermath/apex)
Your own site
<a href="https://agentmods.dev/skills/clawd-aftermath/nunchi-for-aftermath/apex"><img src="https://agentmods.dev/badge/skills/clawd-aftermath/nunchi-for-aftermath/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/clawd-aftermath/nunchi-for-aftermath/apex"><img src="https://agentmods.dev/badge/skills/clawd-aftermath/nunchi-for-aftermath/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.
Origin 100% copy Near-identical to another mod 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 $0.00006 $0.00718
Sonnet 5 $0.00002 $0.00287
Haiku 4.5 $0.00001 $0.00144

Measured 9d ago against content hash 514ae0c20eea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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

This is a copy

100% identical to apex-strategy — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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. 9d 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 clawd-aftermath/nunchi-for-aftermath (2 stars, last pushed 21d 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. It is 100% identical to apex-strategy, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories