earn-hunter
Automatically monitors OKX Flash Earn, Fixed Earn and Flexible Earn opportunities, sends push notifications, and guides subscription. 自动监控 OKX 闪赚、定期和活期赚币机会,推送通知并引导申购。Use when user says: 有闪赚通知我, 监控赚币, monitor earn, notify me about earn, 定时检查理财, 执行 earn-hunter 扫描, earn-hunter scan, 活期年化高了通知我, 监控活期.
Security Assessment
Detected risks:
About earn-hunter
earn-hunter is an OKX agent skill that automatically monitors OKX Flash Earn, Fixed Earn (fixed-term), and Flexible Earn (Simple Earn) opportunities, sends push notifications when qualifying opportunities appear, and guides the user through subscription. It solves the problem of watching yield opportunities continuously without manual polling: it scans the OKX earn products via the official okx CLI, applies APY thresholds and term filters, deduplicates already-notified offers using a hierarchical state file, and pushes alerts through configured channels. The recurring scan is performed entirely by a bundled shell-plus-jq script (scripts/scan.sh) triggered by the OS crontab (or an isolated cron agent turn on OpenClaw), which is designed to exit silently with no output when there are no new opportunities.
The skill performs an activation preflight: verifying the okx CLI (installing it globally via npm if missing), detecting the auth mode (API-key vs OAuth) through the official CLI, optionally installing dependent skills for purchase and auth recovery, initializing config/state under ~/.okx/earn-hunter/, and writing an env snapshot of resolved tool paths so the cron job can run under a minimal PATH. It detects the runtime platform (OpenClaw, Hermes, Claude Code, or generic), the scheduler, and the notification channel as three independent dimensions, and ships reference docs and message templates for each earn type.
It targets crypto users who want automated, thresholded alerts on OKX earn yields and a guided path to subscribe. Credentials are handled through the official okx CLI configuration rather than being requested or stored in plaintext, and there is no exfiltration. The elevated-attention items are that it establishes scheduled execution persistence via crontab, installs a global npm package, and can facilitate financial subscription/purchase actions on an exchange (delegated to a separate purchase-guide skill), which warrant review before granting it live trading credentials.
FAQ
What does earn-hunter monitor?
OKX Flash Earn, Fixed Earn (fixed-term), and Flexible Earn (Simple Earn) opportunities, filtered by configurable APY thresholds (global and per-currency overrides) and term lists, with deduplication so each offer notifies once.
What are the prerequisites?
The okx CLI (@okx_ai/okx-trade-cli, installed via npm if missing), jq for the scan script, and a logged-in auth mode (API-key or OAuth) detected through the official CLI. Optional okx-cex-earn and okx-cex-auth skills enable purchase guidance and auth recovery.
How are scans scheduled?
By the OS crontab, which runs the bundled scan.sh (shell + jq); on OpenClaw an isolated in-session cron agent turn runs the same script. The script sources an env snapshot to resolve tool paths under cron's minimal PATH.
Does it place trades automatically?
The core skill scans and notifies; subscription is a guided flow delegated to the separate okx-cex-earn skill. Because it can facilitate financial actions, review it before granting live trading credentials.
How are credentials handled?
Through the official okx CLI configuration and its auth modes; the skill does not ask for or store plaintext credentials, and it writes only resolved tool paths (not secrets) into its env snapshot.
All Files
16 filesInstall earn-hunter
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
okx/agent-skills