# Send Onchain Test to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "onchain-test",
    "name": "Onchain Test",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/arein/onchain-test",
    "canonicalUrl": "https://clawhub.ai/arein/onchain-test",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/onchain-test",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=onchain-test",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "onchain-test",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T09:46:06.376Z",
      "expiresAt": "2026-05-13T09:46:06.376Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=onchain-test",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=onchain-test",
        "contentDisposition": "attachment; filename=\"onchain-test-0.1.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "onchain-test"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/onchain-test"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/onchain-test",
    "downloadUrl": "https://openagent3.xyz/downloads/onchain-test",
    "agentUrl": "https://openagent3.xyz/skills/onchain-test/agent",
    "manifestUrl": "https://openagent3.xyz/skills/onchain-test/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/onchain-test/agent.md"
  }
}
```
## Documentation

### Onchain CLI

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

### Invocation

onchain <command>

### Market Data

onchain price <token>         # 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 <query>    # Search markets
onchain polymarket view <slug>       # View market details

### Configuration

onchain setup                 # Interactive setup wizard
onchain config                # View current config
onchain config wallet add <name> <address>
onchain config wallet set-default <name>

### Global Options

--json - Output as JSON (agent-friendly)
--plain - Disable colors and emoji
--timeout <ms> - Request timeout

### Configuration

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

### Required API Keys

FeatureAPI KeyGet KeyEVM walletsDEBANK_API_KEYDeBankSolana walletsHELIUS_API_KEYHeliusCoinbase CEXCOINBASE_API_KEY + COINBASE_API_SECRETCoinbaseBinance CEXBINANCE_API_KEY + BINANCE_API_SECRETBinance

### Optional API Keys

FeatureAPI KeyNotesMarket dataCOINGECKO_API_KEYFree tier works, Pro for higher limitsMarket fallbackCOINMARKETCAP_API_KEYAlternative market data source

### 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'

### 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:

Always use --json for programmatic access
Check exit codes - 0 for success, 1 for error
Use saved wallets - Configure once with onchain setup, reference by name
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')
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: arein
- Version: 0.1.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T09:46:06.376Z
- Expires at: 2026-05-13T09:46:06.376Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/onchain-test)
- [Send to Agent page](https://openagent3.xyz/skills/onchain-test/agent)
- [JSON manifest](https://openagent3.xyz/skills/onchain-test/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/onchain-test/agent.md)
- [Download page](https://openagent3.xyz/downloads/onchain-test)