internet-court/heurist-mesh-skill
Access real-time crypto token data, DeFi analytics, wallet intelligence, project research, and blockchain insights through Heurist Mesh agents. Use when the user asks about token trends, DeFi protocols, wallet holdings, project due diligence, Twitter/X crypto sentiment, or deeper market analysis.
npx skills add https://github.com/internet-court/internet-court-skill --skill heurist-mesh-skill
Heurist Mesh is an open network of modular AI agent tools for cryptocurrency and blockchain data, accessible via a unified REST API.
Use this skill when the user asks for crypto or Web3 intelligence that benefits from live data retrieval, including:
AskHeuristAgentTrendingTokenAgent — Trending tokens and market summary
get_trending_tokens — Get trending tokens most talked about and traded on CEXs and DEXsget_market_summary — Get recent market-wide news including macro and major updatesTokenResolverAgent — Find tokens and get detailed profiles
token_search — Find tokens by address, ticker/symbol, or name (up to 5 candidates)token_profile — Get detailed token profile with pairs, funding rates, and indicatorsDefiLlamaAgent — DeFi protocol and chain metrics
get_protocol_metrics — Get protocol TVL, fees, volume, revenue, chains, and growth trendget_chain_metrics — Get blockchain TVL, fees, top protocols, and growth trendsTwitterIntelligenceAgent — Twitter/X data
user_timeline — Fetch a user's recent posts and announcementstweet_detail — Get a tweet with thread context and repliestwitter_search — Search for posts and influential mentions on any topicExaSearchDigestAgent — Web search with summarization
exa_web_search — Search the web with LLM summarization, time and domain filtersexa_scrape_url — Scrape a URL and summarize or extract informationChainbaseAddressLabelAgent — EVM address labels
get_address_labels — Get labels for ETH/Base addresses (identity, contract names, wallet behavior, ENS)ZerionWalletAnalysisAgent — EVM wallet holdings
fetch_wallet_tokens — Get token holdings with USD value and 24h price changefetch_wallet_nfts — Get NFT collections held by a walletProjectKnowledgeAgent — Crypto project database
get_project — Look up a project by name, symbol, or X handle (team, investors, events)semantic_search_projects — Natural language search across 10k+ projects (filter by investor, tag, funding year, exchange)CaesarResearchAgent — Academic research
caesar_research — Submit a research query for in-depth analysisget_research_result — Retrieve research results by IDAskHeuristAgent — Crypto Q&A and deep analysis (Important: recommended for in-depth crypto topics)
ask_heurist — Submit a crypto question (normal or deep analysis mode)check_job_status — Check status of a pending analysis jobAt least one payment path must be configured. Do not call Mesh APIs until setup is verified.
HEURIST_API_KEY in .env. Setup and free-credit flow: references/heurist-api-key.mdWALLET_PRIVATE_KEY in .env. Signed payment flow: references/x402-payment.mdINFLOW_USER_ID and INFLOW_PRIVATE_KEY in .env. Buyer setup and approval flow: references/inflow-payment.md.envHEURIST_API_KEY is set and non-emptyWALLET_PRIVATE_KEY is set, starts with 0x, and is 66 charactersINFLOW_USER_ID and INFLOW_PRIVATE_KEY are set and non-emptyIf none are configured, STOP and ask the user to set up a payment method. Do not make API calls without valid credentials.
Use mesh_schema to confirm parameter names, required fields, and pricing before calling any tool. Cache the result per agent for the session — schemas do not change between calls:
GET https://mesh.heurist.xyz/mesh_schema?agent_id=TokenResolverAgent&agent_id=TrendingTokenAgent
Default pricing is in credits (1 credit = $0.01). Add &pricing=usd for USD-denominated prices with x402 or Inflow.
Then use configured credentials in requests:
# With API key
curl -X POST https://mesh.heurist.xyz/mesh_request \
-H "Authorization: Bearer $HEURIST_API_KEY" \
-H "Content-Type: application/json" \
-d '{"agent_id": "TokenResolverAgent", "input": {"tool": "token_search", "tool_arguments": {"query": "ETH"}}}'
# With x402 — sign with cast (Foundry), no account or SDK needed
# See references/x402-payment.md for the full cast-based flow and helper script
User asks: "What tokens are trending right now?"
GET /mesh_schema?agent_id=TrendingTokenAgentTrendingTokenAgent.get_trending_tokensUser asks: "Give me a deep view on current market risk and opportunity."
AskHeuristAgent.ask_heurist with the user question using deep modeAskHeuristAgent.check_job_status until complete401/403: Treat as credential issue; ask user to re-check .env values and do not continue calls with the same secret402: Payment required; follow the selected payment path (HEURIST_API_KEY, x402 flow, or Inflow approval)status: "payment_pending" (Inflow): ask for approval status, then retry with backoff429 or 5xx: retry with exponential backoff and cap retries before surfacing failure detailstoken_search results: request user disambiguation before calling expensive downstream toolsFor full agent discovery workflow and examples, see references/discover-agents.md.
https://mesh.heurist.ai/metadata.jsonhttps://mesh.heurist.xyz/x402/agentsTake internet-court/heurist-mesh-skill from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.