AGENT SKILL

market-snapshot

Fetch a token market snapshot (price/liquidity/volume) and return stable JSON (backed by Jupiter).

License 许可
MIT
最近更新
2026-06-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
market-snapshot
homepage
https://app.vecstack.com
description
Fetch a token market snapshot (price/liquidity/volume) and return stable JSON (backed by Jupiter).

03 SKILL.md 正文

Market Snapshot (Skill-Only, OpenClaw)

This skill is designed for OpenClaw/ClawHub bots that need a fast, low-friction market snapshot.

What This Skill Does

  • Calls a hosted market snapshot endpoint (/skills/market-snapshot) with one or more token queries.
  • The API resolves tokens + fetches pricing/metadata server-side (backed by Jupiter Tokens V2 + Price V3).
  • Emits a stable JSON object (no prose) so other agents/bots can parse it reliably.

What This Skill Will Not Do

  • It will not create or manage wallets.
  • It will not request, store, or handle private keys / seed phrases.
  • It will not execute swaps or provide "trade recommendations".

How To Use

When the user asks for prices, market snapshots, token metadata, or "what is X doing", run a snapshot.

Input formats supported:

  • Symbols: SOL, USDC, JUP
  • Names: solana, jupiter
  • Mints: So11111111111111111111111111111111111111112

If multiple tokens are provided, resolve all of them and return a combined snapshot.

Data Sources (GET, No Headers Needed)

  • Market snapshot:
    • https://app.vecstack.com/api/skills/market-snapshot?q=<CSV_TOKENS>&source=openclaw

Examples (copy/paste):

  • Single token:
    • https://app.vecstack.com/api/skills/market-snapshot?q=SOL&source=openclaw
  • Multiple tokens (comma-separated, no spaces):
    • https://app.vecstack.com/api/skills/market-snapshot?q=SOL,USDC,JUP&source=openclaw

Notes:

  • web_fetch caches by URL. If the user explicitly needs "fresh right now" data, append a cache-buster query param like &_t=<unix> to the URL.
  • Do not invent values. If a fetch fails, keep null fields and include an entry in warnings/errors.

Output Contract (Return JSON Only)

Return a single JSON object with this shape:

{
  "as_of_unix": 0,
  "provider": "jupiter",
  "inputs": ["SOL", "USDC"],
  "tokens": [
    {
      "query": "SOL",
      "mint": "So11111111111111111111111111111111111111112",
      "symbol": "SOL",
      "name": "Wrapped SOL",
      "decimals": 9,
      "verified": true,
      "tags": [],
      "liquidity_usd": null,
      "mcap_usd": null,
      "fdv_usd": null,
      "usd_price": null,
      "price_change_24h_pct": null,
      "stats": {
        "5m": {
          "price_change_pct": null,
          "volume_usd": null,
          "buy_volume_usd": null,
          "sell_volume_usd": null
        },
        "1h": {
          "price_change_pct": null,
          "volume_usd": null,
          "buy_volume_usd": null,
          "sell_volume_usd": null
        },
        "24h": {
          "price_change_pct": null,
          "volume_usd": null,
          "buy_volume_usd": null,
          "sell_volume_usd": null
        }
      },
      "sources": {
        "token_search_url": null,
        "price_url": null
      }
    }
  ],
  "warnings": [],
  "errors": []
}

Field rules:

  • as_of_unix: set to current Unix time when you finish assembling the response.
  • liquidity_usd, mcap_usd, fdv_usd, and stats.* are populated from Tokens V2 search when present.
  • usd_price and price_change_24h_pct are populated from Price V3 when present.
  • warnings: non-fatal issues (missing price, ambiguous match, rate limits, etc).
  • errors: fatal issues that prevented a snapshot (e.g., all sources failed).

Implementation Notes For OpenClaw

  • Prefer the web_fetch tool for the endpoint, using extractMode=text so the body stays parseable as JSON.
  • If web_fetch returns non-JSON content, retry once with a cache-buster (append &_t=<unix>).
  • Keep the final response strictly JSON.

04 同仓库更多 Skills

javimosch
javimosch/open-claw-skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 0
javimosch
javimosch/open-claw-skills

ceaser

Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).

★ 0
javimosch
javimosch/open-claw-skills

ceaser-send

Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.

★ 0
javimosch
javimosch/open-claw-skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 0
javimosch
javimosch/open-claw-skills

moldium

Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.

★ 0
javimosch
javimosch/open-claw-skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.

★ 0