← 返回 Skills 市场
arein

Test

作者 arein · GitHub ↗ · v0.0.1
cross-platform ⚠ suspicious
2290
总下载
1
收藏
14
当前安装
1
版本数
在 OpenClaw 中安装
/install test
功能描述
CLI for crypto portfolio tracking, market data, and CEX history. Use when the user asks about crypto prices, wallet balances, portfolio values, Coinbase/Binance holdings, or Polymarket predictions.
使用说明 (SKILL.md)

Onchain CLI

CLI for crypto portfolio tracking, market data, and CEX history.

Invocation

onchain \x3Ccommand>

Commands

Market Data

onchain price \x3Ctoken>         # Token price (btc, eth, sol, etc.)
onchain markets               # Market overview with trending

Wallet Data

onchain balance [address]           # Token balances (auto-detects EVM/Solana)
onchain balance --chain polygon     # Filter by chain
onchain history [address]           # Transaction history
onchain portfolio [address]         # Full portfolio with DeFi positions

CEX Data

onchain coinbase balance      # Coinbase balances
onchain coinbase history      # Coinbase trade history
onchain binance balance       # Binance balances
onchain binance history       # Binance trade history

Prediction Markets

onchain polymarket trending          # Trending markets
onchain polymarket search \x3Cquery>    # Search markets
onchain polymarket view \x3Cslug>       # View market details

Configuration

onchain setup                 # Interactive setup wizard
onchain config                # View current config
onchain config wallet add \x3Cname> \x3Caddress>
onchain config wallet set-default \x3Cname>

Global Options

  • --json - Output as JSON (agent-friendly)
  • --plain - Disable colors and emoji
  • --timeout \x3Cms> - Request timeout

Configuration

Config file: ~/.config/onchain/config.json5

Required API Keys

Feature API Key Get Key
EVM wallets DEBANK_API_KEY DeBank
Solana wallets HELIUS_API_KEY Helius
Coinbase CEX COINBASE_API_KEY + COINBASE_API_SECRET Coinbase
Binance CEX BINANCE_API_KEY + BINANCE_API_SECRET Binance

Optional API Keys

Feature API Key Notes
Market data COINGECKO_API_KEY Free tier works, Pro for higher limits
Market fallback COINMARKETCAP_API_KEY Alternative market data source

Examples

Get Bitcoin price

onchain price btc

Check wallet balance

onchain balance 0x1234...5678

View portfolio with DeFi positions

onchain portfolio main  # Uses saved wallet named "main"

Get trending prediction markets

onchain polymarket trending -n 5

JSON output for scripts

onchain --json price eth | jq '.priceUsd'

Supported Chains

EVM (via DeBank)

Ethereum, BNB Chain, Polygon, Arbitrum, Optimism, Avalanche, Base, zkSync Era, Linea, Scroll, Blast, Mantle, Gnosis, Fantom, Celo, and more.

Solana (via Helius)

Full Solana mainnet support including SPL tokens and NFTs.

Agent Integration

This CLI is designed for agent use. Key patterns:

  1. Always use --json for programmatic access
  2. Check exit codes - 0 for success, 1 for error
  3. Use saved wallets - Configure once with onchain setup, reference by name
  4. Rate limiting - APIs have rate limits, add delays between rapid calls

Example Agent Usage

# Get portfolio value
VALUE=$(onchain --json portfolio main | jq -r '.totalValueUsd')

# Get price with change
onchain --json price btc | jq '{price: .priceUsd, change24h: .priceChange24h}'

# Check if market is bullish
CHANGE=$(onchain --json markets | jq '.marketCapChange24h')
安全使用建议
This skill's instructions expect an external 'onchain' CLI and multiple crypto exchange/API keys, but the registry metadata doesn't declare any required binary or environment variables — that mismatch is the main concern. Before installing or using it: (1) verify where the 'onchain' binary comes from and only use a trusted source; (2) do not provide exchange API keys with withdrawal or trading permissions — create read-only keys if possible; (3) inspect ~/.config/onchain/config.json5 if it will store secrets, and prefer storing keys in a secure vault rather than plain config files; (4) confirm whether your agent/runtime already has the CLI available (the skill provides no install); and (5) treat this skill cautiously because the author/source is unknown. If you need, ask the publisher for an install manifest and privacy/security details (where the binary is distributed from, expected file writes, and recommendations for minimal API key scopes).
功能分析
Type: OpenClaw Skill Name: test Version: 0.0.1 The skill bundle defines an `onchain` CLI tool for crypto portfolio tracking and market data. While the tool requires access to sensitive API keys (e.g., DEBANK_API_KEY, COINBASE_API_SECRET) for its functionality, the `SKILL.md` documentation provides clear instructions for its intended use by an AI agent, including examples of how to invoke the CLI and parse its JSON output. There is no evidence of prompt injection attempting to mislead the agent into performing unauthorized actions, exfiltrating data, or executing malicious commands beyond the stated purpose of interacting with cryptocurrency APIs.
能力评估
Purpose & Capability
The name/description (crypto portfolio, CEX history, market data) matches the commands in SKILL.md, but the skill metadata declares no required binaries, no required environment variables, and no install. SKILL.md clearly expects an external 'onchain' CLI binary and multiple API keys (DeBank, Helius, Coinbase, Binance). That mismatch (instructions require a CLI and secrets but metadata lists none) is incoherent.
Instruction Scope
Runtime instructions tell the agent to run 'onchain <command>' extensively, read/write a config file at ~/.config/onchain/config.json5, and use API keys. The instructions do not ask the agent to exfiltrate unrelated files, but they do assume a CLI and local config exist; there is no guidance about where that binary comes from. The interactive 'onchain setup' and saved-wallet behavior imply persistent local configuration that may contain secrets.
Install Mechanism
There is no install spec (instruction-only), which lowers file-write risk, but is inconsistent with the SKILL.md that relies on an external 'onchain' CLI. If the runtime does not already have the binary, the instructions are non-functional. The absence of a provenance/source or install mechanism for the CLI is a red flag (unknown origin).
Credentials
SKILL.md lists multiple sensitive API keys (DEBANK_API_KEY, HELIUS_API_KEY, COINBASE_API_KEY/SECRET, BINANCE_API_KEY/SECRET) which are proportionate to crypto/CEX functionality, but the skill metadata declares no required env vars. That divergence is noteworthy. Also, CEX API secrets can grant trading/withdrawal access if created with broad permissions — the SKILL.md does not instruct to prefer read-only keys or warn about key permissions.
Persistence & Privilege
The skill is not always-enabled and does not request system-level persistence. It references a per-user config path (~/.config/onchain/config.json5) which is expected for a CLI and is scoped to the user's home; no evidence the skill modifies other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install test
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /test 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
test
元数据
Slug test
版本 0.0.1
许可证
累计安装 14
当前安装数 14
历史版本数 1
常见问题

Test 是什么?

CLI for crypto portfolio tracking, market data, and CEX history. Use when the user asks about crypto prices, wallet balances, portfolio values, Coinbase/Binance holdings, or Polymarket predictions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2290 次。

如何安装 Test?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install test」即可一键安装,无需额外配置。

Test 是免费的吗?

是的,Test 完全免费(开源免费),可自由下载、安装和使用。

Test 支持哪些平台?

Test 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Test?

由 arein(@arein)开发并维护,当前版本 v0.0.1。

💬 留言讨论