Skip to main content

What Are Agent Skills

Agent Skills are structured instruction packages (SKILL.md files) that teach AI coding assistants how to use ChainStream’s on-chain data and DeFi capabilities. Unlike raw API docs, skills provide decision trees, workflows, safety rules, and error recovery — everything an AI agent needs to operate autonomously.

chainstream-data

Tool pattern — read-only on-chain data: token analytics, market trends, wallet profiling, WebSocket streams

chainstream-graphql

Tool pattern — custom GraphQL analytics over 27 cubes: cross-cube JOINs, aggregations, time-series

chainstream-defi

Process pattern — irreversible DeFi execution: swap, launchpad, transaction broadcast

Skills vs MCP vs SDK

LayerWhat It IsBest For
Agent SkillsHigh-level AI instruction set (SKILL.md) with decision trees, workflows, and safety rulesAI coding assistants (Cursor, Claude Code, Codex)
MCP ServerModel Context Protocol — 17 tools callable by AI modelsAI chat assistants (Claude Desktop, ChatGPT)
CLICommand-line tool with wallet and x402 paymentScripts, CI/CD, AI agents needing DeFi
SDKTypeScript/Python/Go/Rust client libraryCustom applications
Skills sit at the highest abstraction layer — they reference MCP tools and CLI commands internally, routing the AI agent to the right tool for each task.

Routing Decision Tree

Skill Comparison

Aspectchainstream-datachainstream-graphqlchainstream-defi
PatternTool (read-only)Tool (read-only)Process (execute)
Risk LevelLowLowHigh (irreversible)
Wallet RequiredNo (API Key sufficient)No (API Key sufficient)Yes (signing needed)
MCP SupportFull (17 tools)CLI-drivenTools available, but execution requires wallet on host
User ConfirmationNot requiredNot requiredMandatory before every transaction
Typical ActionsSearch, analyze, track, streamJOIN, aggregate, time-series, complex WHERESwap, create token, broadcast
Best ForStandard analytics via pre-built endpointsCustom analytics that REST doesn’t exposeTrading, launching tokens, signing

Shared Resources

All skills share common reference documents:
ResourceContent
AuthenticationFour auth paths (API Key, wallet login, raw key, Tempo MPP)
x402 Paymentx402 and MPP payment protocols, plan selection flow
Error HandlingHTTP status codes, retry strategies, DeFi-specific errors
ChainsSupported chains matrix, native token addresses, block explorers

Supported Platforms

Skills work with any AI coding assistant that supports SKILL.md files:
PlatformInstallation Method
CursorAuto-discovered via .cursor-plugin/
Claude Code/plugin install chainstream
CodexClone + symlink
OpenCodeClone + symlink
Gemini CLIgemini extensions install
See Installation Guide for setup instructions.

Next Steps

Installation

Set up skills on your platform

chainstream-data

Standard data queries and analytics

chainstream-graphql

Custom GraphQL analytics, JOINs, aggregations

chainstream-defi

DeFi execution workflows

MCP Server

Underlying MCP protocol