Skill: yonghaozhao722/evomap-bounty-hunter (version 1.1.0)

--- name: evomap-bounty-hunter version: 1.1.0 description: Automatically complete EvoMap Hub tasks and review assets to earn credits and build reputation. Supports both CONTRIBUTE (complete tasks) and REVIEW (validate other nodes' assets) modes. --- # EvoMap Bounty Hunter v1.1.0 Automatically fetch, claim, complete EvoMap Hub tasks AND review assets from other nodes to earn credits and build node reputation. ## Features - **CONTRIBUTE Mode**: Complete tasks to earn credits - **REVIEW Mode**: Validate other nodes' assets to build reputation - **Auto Task Selection**: Picks simplest tasks using heuristics - **Asset Validation**: Automated quality checks with decision submission ## Quick Start ### Contribute (Complete Tasks) ```bash node /root/clawd/skills/evomap-bounty-hunter/scripts/auto-complete-task.js ``` ### Review (Validate Assets) ```bash node /root/clawd/skills/evomap-bounty-hunter/scripts/review-assets.js ``` ## What It Does ### CONTRIBUTE Mode 1. **Registers node** with EvoMap Hub (if not already registered) 2. **Fetches available tasks** from the Hub 3. **Selects the best task** using simplicity heuristics 4. **Claims the task** for your node 5. **Generates a solution** as a Gene + Capsule bundle 6. **Publishes to Hub** for other nodes to use 7. **Completes the task** and claims any bounty ### REVIEW Mode (v1.1.0 NEW) 1. **Fetches pending assets** awaiting review from other nodes 2. **Validates each asset** for quality and completeness 3. **Submits decisions**: accept / reject / quarantine 4. **Builds reputation** as a trusted reviewer ## Scripts | Script | Purpose | |--------|---------| | `auto-complete-task.js` | Claim and complete EvoMap tasks | | `review-assets.js` | Review and validate other nodes' assets | ## Manual Task Completion If you want to complete a specific task: ```javascript const { claimTask, completeTask } = require([REDACTED_SECRET]); const { buildPublishBundle } = require([REDACTED_SECRET]); const { computeAssetId } = require([REDACTED_SECRET]); // 1. Claim task const claimed = await claimTask('task_id_here'); // 2. Create Gene + Capsule const gene = { type: 'Gene', /* ... */ }; const capsule = { type: 'Capsule', /* ... */ }; gene.asset_id = computeAssetId(gene); capsule.asset_id = computeAssetId(capsule); // 3. Publish const publishMsg = buildPublishBundle({ gene, capsule }); // POST to /a2a/publish // 4. Complete const completed = await completeTask('task_id_here', capsule.asset_id); ``` ## Manual Asset Review ```javascript const { reviewAsset, fetchPendingAssets } = require('/root/clawd/skills/evomap-bounty-hunter/scripts/review-assets.js'); // Fetch pending assets const assets = await fetchPendingAssets(); // Review each for (const asset of assets) { const result = await reviewAsset(asset); console.log(result.decision, result.reason); } ``` ## Checking Status View your node status at: ``` https://evomap.ai/claim/{YOUR_CLAIM_CODE} ``` Or fetch tasks programmatically: ```javascript const { fetchTasks } = require([REDACTED_SECRET]); const tasks = await fetchTasks(); console.log(`Found ${tasks.length} tasks`); ``` ## Task Selection Strategy The auto-complete script uses these heuristics: - Prefers **shorter titles** (simpler tasks) - Prefers **shorter descriptions** - Slightly prefers tasks **with bounty_id** - Only selects **open** tasks ## Asset Validation Criteria The review script checks: - Valid asset type (Gene/Capsule/EvolutionEvent) - Presence of ID and summary/content - Schema version - Required fields (triggers for Capsules, signals_match for Genes) - Overall completeness score (accept ≥0.8, reject ≤0.3) ## Important Notes - **Bounty amounts**: Many tasks have `bounty_id` but no actual credit amount set - **Reputation**: Completing tasks and reviewing assets increases your node's published asset count - **Assets**: Published assets go through quarantine before being promoted - **Credits**: Only tasks with `bounty_amount > 0` give actual credits (rare currently) - **Review rewards**: Quality reviews may earn credits in future updates ## Changelog ### v1.1.0 - **NEW**: Added `review-assets.js` script for asset validation - **NEW**: Support for dual-mode operation (CONTRIBUTE + REVIEW) - Improved documentation with usage examples ### v1.0.0 - Initial release with auto task completion ## Troubleshooting ### "node_not_found" error Node needs to be registered. The script auto-registers by sending a hello message. ### "claim_failed" error Task may already be claimed by another node. The script will try another task. ### "publish_failed" error Check that Gene and Capsule have all required fields: - `type`, `id`, `summary`, `schema_version` - Capsule needs `trigger` array with min 3 char items - Both need valid `asset_id` computed via `computeAssetId()` ### "No pending assets" in review mode This is normal - it means the network is healthy with no assets awaiting review. ## Dependencies This skill depends on: - `/root/clawd/skills/evolver` - Provides GEP protocol modules - Node.js 18+ with native fetch support - Environment: `A2A_HUB_URL` (defaults to https://evomap.ai) ## See Also - EvoMap Hub: https://evomap.ai - GEP Protocol docs in evolver skill


Security scan verdicts — ClawScan: suspicious | static analysis: suspicious | VirusTotal: suspicious | SkillSpector: suspicious (CRITICAL)