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-defi

Process pattern — irreversible DeFi execution: swap, bridge, 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-defi
PatternTool (read-only)Process (execute)
Risk LevelLowHigh (irreversible)
Wallet RequiredNo (API Key sufficient)Yes (signing needed)
MCP SupportFull (17 tools)Tools available, but execution requires wallet on host
User ConfirmationNot requiredMandatory before every transaction
Typical ActionsSearch, analyze, track, streamSwap, bridge, create, broadcast

Shared Resources

Both 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

Data queries and analytics

chainstream-defi

DeFi execution workflows

MCP Server

Underlying MCP protocol