earn-hunter

earn-hunter is a skill for Claude Code, Codex from okx/agent-trade-kit. It costs 114 tokens per session (8,552 once invoked), scanned A, original, MIT.

A monitoring skill for OKX Earn products, which let users put supported cryptocurrency assets into flexible, fixed-term, or short-term earning programmes.

In plain words
What is it for?
Use it to monitor Flash Earn, Fixed Earn, and Flexible Earn opportunities, receive push alerts, and get guidance for subscribing when the related skills and authentication are available.
Why use it?
It removes the need to repeatedly check OKX for new opportunities or changing flexible-earn rates by scanning and sending notifications.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/okx/agent-trade-kit/earn-hunter
Any agent
npx skills add okx/agent-trade-kit --skill earn-hunter
Clone the repo
git clone --depth 1 https://github.com/okx/agent-trade-kit

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 earn-hunter

README.md
[![agentmods](https://agentmods.dev/badge/skills/okx/agent-trade-kit/earn-hunter.svg)](https://agentmods.dev/skills/okx/agent-trade-kit/earn-hunter)
Your own site
<a href="https://agentmods.dev/skills/okx/agent-trade-kit/earn-hunter"><img src="https://agentmods.dev/badge/skills/okx/agent-trade-kit/earn-hunter.svg" alt="Measured on agentmods" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,552 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00114 $0.08552
Opus 5 $0.00057 $0.04276
Sonnet 5 $0.00023 $0.01710
Haiku 4.5 $0.00011 $0.00855

Measured yesterday against content hash e6435a831cae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

earn-hunter scanned grade A with 1 finding 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan.sh), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- scheduler.type = `"cron"` — scheduled via **OS crontab → `scripts/scan.sh`** (zero LLM token cost), notification via TG / Lark curl from the script itself.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/earn-hunter/SKILL.md · 566 lines

How it starts

The opening of the file, as written. The whole thing — 566 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Earn Hunter

Automated monitor for OKX Flash Earn, Fixed Earn, and Flexible Earn (Simple Earn) opportunities.

{baseDir} = the directory containing this SKILL.md file. All relative paths (references/, templates/, config/) are resolved from here.

Preflight

  1. Verify okx CLI installed: which okx. If missing, install via npm install -g @okx_ai/okx-trade-cli. On OpenClaw, also verify the in-session cron tool is available in the agent tool list (used for scheduling — not the openclaw CLI).

  2. Check optional dependent skills:

    okx skill list --json
    

    Optional skills (not required for scanning/notifications):

    • okx-cex-earn — needed for purchase guide (subscription execution)
    • okx-cex-auth — needed for authentication recovery

    If either is missing, attempt to install but do not block if installation fails:

    okx skill add okx-cex-earn
    okx skill add okx-cex-auth
    
    • Install succeeds → continue
    • Install fails (network error, marketplace unavailable, etc.) → warn and continue: "⚠ {skill_name} 安装失败,扫描和通知功能不受影响。申购引导和认证恢复需要该 skill,后续可手动安装。"
    • Preflight continues regardless of skill installation result
  3. Auth mode detection — run both, first match wins:

    • okx config show --json → has non-empty api_key field → API Key mode. Add --profile live to all commands.
    • No API key + okx auth status --json"status":"logged_in"OAuth mode. No --profile flag needed.
    • Neither → stop. Load okx-cex-auth skill and follow login steps.
  4. Init config and state:

    • If ~/.okx/earn-hunter/ directory does not exist → mkdir -p ~/.okx/earn-hunter
    • If ~/.okx/earn-hunter/config.json does not exist → copy {baseDir}/config/default.json to it
    • If ~/.okx/earn-hunter/state.json does not exist → write {"flash":{},"fixed":{},"flexible":{},"consecutive_failures":0,"last_error":""}
    • If ~/.okx/earn-hunter/platform.json does not exist → run Platform Detection
    • Always (re)install the scan script: cp {baseDir}/scripts/scan.sh ~/.okx/earn-hunter/scan.sh && chmod +x ~/.okx/earn-hunter/scan.sh. This is the script cron and interactive scans both call.
    • Write ~/.okx/earn-hunter/env.snapshot with resolved tool paths (cron cannot rely on the user's login PATH):
      cat > ~/.okx/earn-hunter/env.snapshot << SNAP
      # auto-generated by earn-hunter activation — $(date -Iseconds)
      OKX_BIN=$(command -v okx)
      NODE_BIN=$(command -v node)
      JQ_BIN=$(command -v jq)
      ACTIVATION_PATH=$PATH
      SNAP
      
      The scan script sources this file to resolve tool paths even under cron's minimal PATH=/usr/bin:/bin.

Read the full file on GitHub · 566 lines

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. yesterday Changed e6435a831cae
  2. 5d ago First seen · 566 lines · 114 tokens per session scan A 8d5d5643c7f7

Subscribe to this mod's changes

earn-hunter is a skill published in the GitHub repository okx/agent-trade-kit (420 stars, last pushed 4d ago), licensed MIT. It adds 114 tokens to every session and 8,552 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — errors, failed tool calls, latency, regressions, and low online-eval scores — plus Diagnostics issues. Reads live/production traces via the SDK (searchtraces and agentinsights) and works with no MCP; uses the MCP issue entity when connected.…

comet-ml/opik-mcp · 147 tokens

client-scripts

Write ServiceNow client scripts (onLoad/onChange/onSubmit/onCellEdit) using gform, guser, GlideAjax, field visibility/mandatory toggles, and validation with debounced server calls.

serac-labs/serac · 45 tokens

agoragentic-transaction-assurance

Prepare, evaluate, and reconcile autonomous agent transactions without self-granting payment or owner authority. Use when an agent must bind principal authority, seller terms, payment evidence, execution, delivered outcome, and reconciliation; handle paid retries safely; or prepare an authority request for owner…

rhein1/agoragentic-integrations · 65 tokens

debugging-mutations

Verify what changed on a ServiceNow instance after a tool call — sysaudit inspection, syslog/transaction logs, session context, Flow Designer execution logs, outbound HTTP traces.

serac-labs/serac · 41 tokens

maya-shot-export

Pipeline stage — shot-level export: frame ranges, cameras, FBX / Alembic packaging for editorial. Use when packaging shot data for downstream departments. Not for full pipeline publish (maya-pipeline) or scene assembly (maya-scene-assembly).

dcc-mcp/dcc-mcp-maya · 60 tokens

social-scrape

Collect public posts and discussion from X, LinkedIn and Hacker News through a local signed-out browser, then report them in chat or write them to a document. Use when the user wants to scrape, monitor or research specific accounts, topics, hashtags or discussions on social platforms.

alijancb/subio-mcp · 60 tokens