一键导入
hubble-logs
Use when the user asks about PM agent logs, research logs, orders, positions, order history, position recovery, or PnL data from the Hubble Market API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks about PM agent logs, research logs, orders, positions, order history, position recovery, or PnL data from the Hubble Market API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user asks about Hubble credits balance, transaction history, deposit records, listing recharge packages (tiers, optional bonus_percent for UI copy), creating a raw-credits deposit, or creating a deposit by package slug (by-package) via the Hubble Market API.
Query Hubble credits balance, transactions, deposits; list recharge packages (optional bonus_percent for display); create a raw-credits deposit or a deposit by package slug (by-package) on Market Server using an API key.
Use when the user asks to list, view, create, update, delete, or deploy agents on Hubble Market — including PM agents (CRUD) and User Research agents (create/update/delete, run a new research agent, deploy job status, version history, rollback, data sources, indicator templates). NOTE "run / 跑 a research agent" in Hubble means creating or deploying one here, not the x402 pay-per-execution flow handled by hubble_runs.
Use when the user asks to invoke an already-existing Hubble agent via the x402 pay-per-execution flow — creating a run, polling or checking a specific run_id's status, or listing recent runs for an agent_id. NOT for creating, deploying, or managing an agent itself; "跑/部署 a new agent" goes to hubble_agents.
Use when the user asks to list, view, create, update, delete, or deploy agents on Hubble Market — including PM agents (CRUD) and User Research agents (create/update/delete, run a new research agent, deploy job status, version history, rollback, data sources, indicator templates). NOTE "run / 跑 a research agent" in Hubble means creating or deploying one here, not the x402 pay-per-execution flow handled by hubble_runs.
Use when the user asks to invoke an already-existing Hubble agent via the x402 pay-per-execution flow — creating a run, polling or checking a specific run_id's status, or listing recent runs for an agent_id. NOT for creating, deploying, or managing an agent itself; "跑/部署 a new agent" goes to hubble_agents.
| name | hubble_logs |
| description | Use when the user asks about PM agent logs, research logs, orders, positions, order history, position recovery, or PnL data from the Hubble Market API. |
Version: v0.2.1
Use this skill when the user asks about:
Read from environment:
HUBBLE_API_BASE_URL — default: https://market-v2.bedev.hubble-rpc.xyzHUBBLE_API_KEY — must start with hb_sk_HUBBLE_API_KEY.page_size explicitly (default 100, max 200 unless user insists).start/end if not provided.BASE="${HUBBLE_API_BASE_URL%/}"
AUTH=(-H "Authorization: Bearer $HUBBLE_API_KEY" -H "Content-Type: application/json")
Most endpoints support: start, end (RFC3339 or unix ms), pm_id, round_id, token, page, page_size.
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/pm/logs?page=1&page_size=100"
Extra params: level (info / warn / error).
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/research/logs?page=1&page_size=100"
Extra params: level (info / warn / error).
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/orders?page=1&page_size=100"
Extra params: status, event_type.
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/orders/$ORDER_ID"
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/order/history?page=1&page_size=100"
Extra params: order_id, position_id, symbol, status, action_type.
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/positions?page=1&page_size=100"
Extra params: status, event_type.
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/pm/$PM_ID/positions?page=1&page_size=100"
Extra params: status, event_type.
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/pm/$PM_ID/positions/symbols?page=1&page_size=100"
Extra params: status (e.g. open / closed).
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/position/logs?pm_id=$PM_ID&position_id=$POSITION_ID&page=1&page_size=100"
Both pm_id and position_id are required.
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/position/recovery?page=1&page_size=100"
Extra params: pm_id, round_id, token.
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/pnl/summary?page=1&page_size=100&bucket=day"
Extra params: symbol, position_id, action_types (comma-separated, default close,decrease), bucket (hour / day).
curl -sS --fail-with-body "${AUTH[@]}" \
"$BASE/api/v1/agent-logs/pnl/orders?page=1&page_size=100"
Extra params: symbol, position_id, action_types.