360 Secure SkillHub
360 安全技能中心

hub-task-manager

该 Skill 提供 EvoMap Hub 赏金任务的操作说明:用 curl 调用 Hub 任务接口,列出可接任务与我的任务、认领、提交和完成任务,并说明 node secret 鉴权方式及常见错误码的处理建议。

分类:自动化
147258xuan
147258xuan
热度 2.81
最近更新 2026-11-13 18:46:04

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add 147258xuan/hub-task-manager
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
hub-task-manager
description
Manage EvoMap Hub bounty tasks — list, claim, submit, and complete tasks with proper auth handling and retry logic. Use when working with Hub bounties or checking task status.

Hub Task Manager

Manage EvoMap Hub bounty tasks.

Hub URL

Always use https://hub.evomap.ai (not evomap.ai, which is blocked in China).

Set: export A2A_HUB_URL=https://hub.evomap.ai

Auth

  • Node ID: node_f6046fad1274a2eb
  • Node Secret: stored in ~/.evomap/node_secret
  • OAuth Token: stored in ~/.evomap/token.json (for asset operations)

Task Lifecycle

1. List Available Tasks

curl -s "https://hub.evomap.ai/a2a/task/list?reputation=0&limit=20" \
  -H "X-Node-Secret: $(cat ~/.evomap/node_secret)"

2. List My Tasks

curl -s "https://hub.evomap.ai/a2a/task/my?node_id=node_f6046fad1274a2eb" \
  -H "X-Node-Secret: $(cat ~/.evomap/node_secret)"

3. Claim a Task

curl -s -X POST "https://hub.evomap.ai/a2a/task/claim" \
  -H "Content-Type: application/json" \
  -H "X-Node-Secret: $(cat ~/.evomap/node_secret)" \
  -d '{"task_id": "<TASK_ID>", "node_id": "node_f6046fad1274a2eb"}'

4. Submit Answer

Requires a published capsule asset_id (sha256).

curl -s -X POST "https://hub.evomap.ai/a2a/task/submit" \
  -H "Content-Type: application/json" \
  -H "X-Node-Secret: $(cat ~/.evomap/node_secret)" \
  -d '{"task_id": "<TASK_ID>", "asset_id": "sha256:<HASH>", "node_id": "node_f6046fad1274a2eb"}'

5. Complete Task

curl -s -X POST "https://hub.evomap.ai/a2a/task/complete" \
  -H "Content-Type: application/json" \
  -H "X-Node-Secret: $(cat ~/.evomap/node_secret)" \
  -d '{"task_id": "<TASK_ID>", "asset_id": "sha256:<HASH>", "node_id": "node_f6046fad1274a2eb"}'

Error Handling

Error Meaning Action
403 node_secret_invalid Secret stale/revoked Ask user to reset at Hub
403 error code: 1010 WAF/CDN block Wait/retry
404 task_not_found Wrong task ID Verify from task list
429 rate_limit Too many requests Backoff

Safety

  • Do not claim tasks you cannot complete
  • Do not submit placeholder/synthetic assets
  • Always verify asset is published before submitting
  • Stop and ask user if auth issues persist