用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jiayaoqijia/cryptoskill --skill polyhub-account命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
"Peer-driven onchain reputation layer for AI agents enabling kudos across reliability, speed, accuracy, creativity, and security categories."
"Interaction layer where humans, AI agents, and blockchain converge, powering a trustless reputation economy for ERC-8004 ecosystem."
"Interaction layer powering trustless reputation economy for ERC-8004 ecosystem with rewards for honest contributions."
基于 SOC 职业分类
正在显示 SKILL.md
| name | polyhub_account |
| description | View portfolio stats on Polyhub using an API key. |
Version: v0.3.3
Use this skill when the user asks about:
POLYHUB_API_BASE_URL — Polyhub API server URL (e.g. https://api.polyhub.example.com)POLYHUB_API_KEY — API key (must start with phub_)curl must be available in the runtime environment.jq is strongly recommended for building JSON payloads safely.POLYHUB_API_KEY in the output.jq -n instead of interpolating raw shell strings.Use the bash tool to call the API with curl.
For common intents, map user requests like this:
GET /api/v1/portfolio/statsBASE="${POLYHUB_API_BASE_URL%/}"
AUTH=(-H "Authorization: Bearer $POLYHUB_API_KEY" -H "Content-Type: application/json")
GET /api/v1/portfolio/statsReturns aggregated portfolio statistics for the authenticated user.
Current field semantics:
positionsValue: official Polymarket positions valueavailableBalance: official USDC balance minus unsettledFeestotalPnL: official Polymarket total PnLunsettledFees: unsettled Polyhub fees in USDCinvestedCapital: Polyhub-calculated invested capital for copy-task historyCurrent UI alignment in poly_copy:
USDC Balance uses availableBalanceAccount Value uses availableBalance + positionsValuecurl -sS --fail-with-body "${AUTH[@]}" "$BASE/api/v1/portfolio/stats"
401: API key missing/invalid/expired/disabled. Ask user to check or regenerate key.400: Invalid request payload. Check required fields.404: Delegated access not registered for the given organizationId.405: Wrong HTTP method.5xx: Server error. Retry once with backoff; if still failing, report response body.