agentleFS
Nunchi-tradeNunchi-trade/agent-cli/skills/radar/SKILL.md

opportunity-radar

Skill521 starsChanged 7 months agoMITView on GitHub

Screens all Hyperliquid perps and surfaces top trading setups

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    ALWAYS check BTC macro context first — if headwind modifier < -30, all scores are suppressed

    line 75
  2. Distinctive:

    NEVER recommend a disqualified asset — hard disqualifiers are absolute

    line 76
  3. Distinctive:

    Run at minimum every 15 minutes during active trading

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Opportunity Radar

Screens all Hyperliquid perpetual markets through a 4-stage funnel to surface the highest-conviction trading setups.

Architecture

Stage 0: BTC Macro Context (EMA 5/13 on 4h, 1h momentum)
Stage 1: Bulk Screen (~500 assets → ~70 by volume)
Stage 2: Top-N Selection (by composite liquidity score)
Stage 3: Deep Dive (multi-TF technicals + 3-pillar scoring)
Stage 4: Momentum + Final Ranking

3-Pillar Scoring (0-400 scale)

PillarWeightSignals
Market Structure35%Volume tiers, surge, OI, OI/Vol health
Technicals40%4h trend, hourly trend, RSI, patterns, volume
Funding25%Neutral (+40), favorable, unfavorable penalties

Hard Disqualifiers

  1. Counter-trend on hourly structure
  2. Extreme RSI (>80 for LONG, <20 for SHORT)
  3. Strong 4h counter-trend (strength > 50)
  4. Volume dying on both timeframes
  5. Heavy unfavorable funding (>50% annualized)
  6. BTC macro headwind (modifier < -30)

Usage

CLI

hl radar once              # Single scan
hl radar run --tick 900    # Continuous (15 min intervals)
hl radar once --json       # JSON output
hl radar once --mock       # With mock data (no HL connection)
hl radar status            # Show last scan results
hl radar presets            # List presets

Standalone

from skills.radar.scripts.standalone_runner import RadarRunner
from cli.hl_adapter import DirectHLProxy

runner = RadarRunner(hl=hl, tick_interval=900)
runner.run()

Configuration

Via YAML config or CLI flags:

  • --min-volume: Minimum 24h volume to qualify (default: $500K)
  • --top-n: Assets to deep dive (default: 20)
  • --preset: "default" or "aggressive"
  • --score-threshold: Minimum final score (default: 150)

Agent Mandate

You are the opportunity radar. Your job is to screen the entire Hyperliquid perps universe and rank assets by trading conviction. You do NOT place trades — you surface setups for APEX or the human operator.

RULES:

  • ALWAYS check BTC macro context first — if headwind modifier < -30, all scores are suppressed
  • NEVER recommend a disqualified asset — hard disqualifiers are absolute
  • Present results sorted by score, highest first
  • Include direction (LONG/SHORT) and risk factors for each candidate
  • Run at minimum every 15 minutes during active trading

Decision Rules

Score RangeInterpretationAction
250-400Elite setup — rare, strong multi-pillar confluenceImmediate entry candidate for APEX
170-250Good setup — solid edgeStandard entry if Pulse confirms
140-170Marginal — needs confirmationQueue only, wait for Pulse signal
100-140Weak — one pillar carryingSkip — insufficient edge
0-100No edgeIgnore completely
BTC MacroEffectAction
Strong uptrend (mod > +20)Tailwind for longsScore longs normally, penalize shorts
Neutral (mod -10 to +10)No macro effectScore normally
Downtrend (mod < -20)HeadwindRaise entry threshold to 200+
Crash (mod < -40)Major headwindSkip all entries, wait for stabilization

Anti-Patterns

  • Chasing yesterday's winners: An asset scored 300 yesterday but 120 today → do not enter. Scores are point-in-time.
  • Ignoring volume decay: High score but volume dying on both timeframes → disqualified. The setup is stale.
  • Entering on RSI extremes: RSI > 80 (long) or < 20 (short) means the move already happened. Radar correctly disqualifies these.
  • Running in aggressive mode by default: Aggressive lowers thresholds → more candidates but lower quality. Use default unless you have excess budget.

Error Recovery

ErrorCauseFix
0 candidates after scanLow-vol periodNormal — no action needed. Don't force trades.
Candle fetch timeoutHL API rate limitReduce --top-n or increase tick interval
BTC candle unavailableAPI issueRadar defaults to neutral macro — safe fallback
Score calculation errorMissing data for assetAsset auto-skipped — check logs for pattern

Composition

Radar is a sub-component of APEX (runs every 15 ticks). Can also be used standalone for manual trade selection. Pairs with Pulse for confirmation — Radar finds setups, Pulse detects timing.

Cron Template

# Standalone radar every 15 min during trading hours
*/15 8-20 * * 1-5 cd ~/agent-cli && hl radar once --json >> data/radar/scans.jsonl 2>&1

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.