Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

deck0-skills卡组 0 技能

Agent Skill

deck0-skills 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

23,060

周安装

942

GitHub Stars

公开资料未说明

下载量

7,461
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deck0-skills(卡组 0 技能)
来源仓库:https://github.com/signorcrypto/deck0-skills
安装命令:
openclaw skills install deck0-skills
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install deck0-skills

简介

与 DECK-0 数字收藏品平台互动,浏览收藏品、购买卡包、打开卡包、查看排行榜以及申请成为发行商。当用户要求收集交易卡、购买 NFT 包、管理其收藏或创建自己的卡收藏时使用。

SKILL.md

name
DECK-0
description
Interact with DECK-0 digital collectibles platform to browse collections, buy card packs, open packs, view leaderboards, and apply as a publisher. Use when the user asks to collect trading cards, purchase NFT packs, manage their collection, or create their own card collection.
homepage
https://app.deck-0.com
metadata
{"openclaw":{"emoji":"🃏","requires":{"bins":["cast","curl","jq","shasum"],"env":["DECK0_PRIVATE_KEY"]},"primaryEnv":"DECK0_PRIVATE_KEY"}}

DECK-0 Agents API

Overview

DECK-0 is a digital collectibles platform where users collect trading cards organized in albums. This skill enables agents to:

  • Browse the shop and view collection details
  • Buy card packs via smart contract transactions
  • Open packs to reveal cards
  • Track collection progress and leaderboard rankings
  • Publish — apply to create your own card collection

Base URL: https://app.deck-0.com OpenAPI Spec: GET /api/agents/v1/openapi (no auth required)

Setup

Wallet Source Priority

Use this wallet resolution order when signing API requests or sending transactions:

  1. Existing agent wallet provided by the runtime
  2. Existing Base wallet provided by the runtime
  3. DECK0_PRIVATE_KEY fallback (only when neither wallet above exists)

Fallback setup for step 3:

export DECK0_PRIVATE_KEY="0x..."

Optional fallback chain override (used only for API auth signature verification; contract operations use the chain from the collection/price response and your RPC selection):

export DECK0_CHAIN_ID=8453

Install Foundry using a reviewed method (for example Homebrew), then verify cast is available:

brew install foundry
cast --version

Also uses: curl, jq, shasum (standard on macOS/Linux).

Note: The declared requirements (cast, curl, jq, shasum, DECK0_PRIVATE_KEY) are needed for fallback signing and for buy/open flows. Browse-only usage with a runtime-provided wallet may not require DECK0_PRIVATE_KEY or cast.

The wallet needs native tokens (APE on Apechain, ETH on Base) to buy packs.

Security Notes

  • Prefer runtime-provided wallets whenever available.
  • DECK0_PRIVATE_KEY is highly sensitive. Only use it as a fallback when the user explicitly approves and the task requires signing or transactions.
  • Never print, log, or echo private key values.

Quick Reference

EndpointMethodDescription
/api/agents/v1/shop/albumsGETBrowse available collections
/api/agents/v1/collections/{address}GETGet collection details
/api/agents/v1/collections/{address}/leaderboardGETView leaderboard rankings
/api/agents/v1/collections/{address}/priceGETGet signed price for purchasing
/api/agents/v1/me/albumsGETList your collections
/api/agents/v1/me/albums/{address}GETYour progress on a collection
/api/agents/v1/me/packsGETList your packs
/api/agents/v1/me/cardsGETList your cards
/api/agents/v1/me/pack-opening/{hash}GETGet pack opening recap
/api/agents/v1/publisher/applicationGETCheck publisher application status
/api/agents/v1/publisher/applicationPOSTSubmit publisher application
/api/agents/v1/openapiGETOpenAPI specification (no auth)

See endpoints.md for complete request/response schemas.

Authentication

All endpoints (except /openapi) require EIP-191 wallet-signed requests via custom headers:

HeaderDescription
X-Agent-Wallet-AddressLowercase wallet address
X-Agent-Chain-IdNumeric EVM chain ID used for authentication
X-Agent-TimestampUnix timestamp in milliseconds
X-Agent-NonceUnique string, 8-128 characters
X-Agent-SignatureEIP-191 signature of canonical payload

The canonical payload to sign:

deck0-agent-auth-v1
method:{METHOD}
path:{PATH}
query:{SORTED_QUERY}
body_sha256:{SHA256_HEX}
timestamp:{TIMESTAMP}
nonce:{NONCE}
chain_id:{CHAIN_ID}
wallet:{WALLET}

See auth.md for the full signing flow with code examples.

Smart Contracts

Buying and opening packs are on-chain operations:

  1. Buy packs: Call GET /api/agents/v1/collections/{address}/price to get a signed price, then call mintPacks() on the album contract with the signature and payment value.
  2. Open packs: Call openPacks(packIds) on the album contract to reveal cards, then poll GET /api/agents/v1/me/pack-opening/{txHash}?chainId=... every 5 seconds to get the recap with card details and badges.

Payment formula: value = (packPrice * priceInNative * quantity) / 100

See smart-contracts.md for ABI, payment calculations, and code examples.

Supported Networks

NetworkChain IDCurrencyBlock Explorer
Apechain Mainnet33139APEhttps://apescan.io
Base8453ETHhttps://basescan.org

Response Format

All responses follow a standard envelope:

// Success
{ "success": true, "data": { ... }, "share": { "url": "...", "imageUrl": "..." } }

// Error
{ "success": false, "error": { "code": "AGENT_...", "message": "...", "details": { ... } } }

See errors.md for all error codes and troubleshooting.

Sharing URLs

Most responses include URLs that link to the DECK-0 web app. Always present these to the user so they can view, share, or explore further in their browser.

  • share.url — Present on most responses. Links to the relevant page (collection, leaderboard, shop, pack opening recap, etc.). Show this to the user as a shareable link.
  • share.imageUrl — When available, an image preview URL (e.g., collection cover). Can be used for rich embeds or previews.
  • data.cards[].url — On pack opening recap responses, each card includes a direct link to its detail page. Show these to the user so they can view or share individual cards.

Rate Limits

  • Per wallet: 60 requests/minute
  • Per IP: 120 requests/minute

Rate limit headers (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After) are included on 429 responses.

Intent Mapping

When the user says:

  • "Show me available card collections" → Browse shop albums
  • "Tell me about collection 0x..." → Get collection details
  • "Buy 3 packs from collection 0x..." → Get signed price, call mintPacks
  • "Open my packs" → Call openPacks on contract, then poll pack opening recap
  • "What cards did I get?" / "Show my pack opening results" → Get pack opening recap
  • "How's my collection progress?" → Get my albums
  • "Show my packs" / "What packs do I have?" → List my packs
  • "Show my cards" / "What cards do I have?" → List my cards
  • "Show the leaderboard" → Get collection leaderboard
  • "Share my pack opening" / "Show me the link to my card" → Use share.url or cards[].url from the response
  • "I want to create my own card collection" → Submit publisher application

Supporting Files

  • auth.md — Full authentication flow, signing code, payload construction
  • endpoints.md — Complete API reference with all request/response schemas
  • smart-contracts.md — On-chain operations: minting packs, opening packs, ABI, code examples
  • examples.md — End-to-end workflow examples with request/response pairs
  • errors.md — Error codes, rate limiting, troubleshooting

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.06%
按下载量换算7,018

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills