AegisClaw - 金甲龙虾
by @hyy2099
Use this skill when the user asks to manage Binance assets, check account security, scan for arbitrage opportunities, or perform automated dust sweeps. Comma...
clawhub install aegisclaw📖 About This Skill
name: aegisclaw description: "Use this skill when the user asks to manage Binance assets, check account security, scan for arbitrage opportunities, or perform automated dust sweeps. Commands: init, check, scan, arbitrage, dust, report, status. Requires BINANCE_API_KEY and BINANCE_API_SECRET environment variables." license: MIT metadata: author: hyy2099 version: "1.0.0" homepage: "https://github.com/hyy2099/aegisclaw"
AegisClaw - 金甲龙虾 (Binance Security & Profit Guardian)
🦞 A defensive AI agent based on the principle of least privilege and Binance sub-account ecosystem, focusing on low-risk automated asset management and arbitrage.
When to Use This Skill
Use this skill when the user asks to:
Commands
| Command | Description | Example |
|---------|-------------|---------|
| init | Initialize plugin with Binance API credentials | /aegisclaw init key secret |
| check | Run security fence check | /aegisclaw check |
| scan | Scan idle assets and dust | /aegisclaw scan |
| arbitrage | Scan funding rate arbitrage opportunities | /aegisclaw arbitrage |
| dust [assets] | Execute dust sweep (convert small balances) | /aegisclaw dust |
| report | Generate weekly profit report | /aegisclaw report |
| status | View current status | /aegisclaw status |
| help | Display help information | /aegisclaw help |
Required Environment Variables
The skill requires the following environment variables (set via .env file or system environment):
BINANCE_API_KEY - Binance API Key (required)BINANCE_API_SECRET - Binance API Secret (required)BINANCE_TESTNET - Whether to use testnet (optional, default: false)Key Features
🛡️ Security Fence
💰 Profit Engine
📊 Data Statistics
Security Recommendations
1. Use Sub-accounts: Create a sub-account with only 500-1000 USDT for operations. Do not use main accounts.
2. Limit API Permissions: - ✅ Enable: Spot Trading (SPOT) - ❌ Disable: Withdrawals (WITHDRAW) - ❌ Disable: Futures Trading (FUTURES)
3. Bind IP Whitelist: Restrict API to access from specific IPs only. Regularly check IP whitelist.
4. Control Fund Scale: Sub-account funds recommended within 1000 USDT. Use idle funds that won't affect daily life.
Usage Flow
Initial Setup
1. Initialize with API credentials:/aegisclaw init
2. Run security check: /aegisclaw check
3. Verify account type and permissionsDaily Operations
1. Scan assets:/aegisclaw scan
2. Check arbitrage opportunities: /aegisclaw arbitrage
3. Execute dust sweep if needed: /aegisclaw dustWeekly Review
1. Generate weekly report:/aegisclaw report
2. Review profit/loss and asset distributionError Handling
Integration Notes
This skill integrates with OpenClaw through the plugin interface in openclaw_plugin/plugin.py. It can be called via:
Key Safety Points
Repository & Support
🦞 AegisClaw - Your Binance risk-free profit guardian and asset protector