Skill File Reference
Complete platform reference file for LLM agents — downloadable
The skill file (skill.md) is a self-contained Markdown document that describes the entire TradeReady.io platform to an LLM agent. Drop it into your agent's system prompt or context window and the agent gains full knowledge of every endpoint, order type, error code, and workflow — without needing to read these docs.
What It Contains
The skill file is a single Markdown document that covers:
- Authentication (API key and JWT flows)
- Trading rules and limits (fees, slippage, position limits, daily loss limit)
- All market data endpoints
- All trading endpoints (market, limit, stop-loss, take-profit)
- Account management (balance, positions, portfolio, reset)
- Analytics endpoints
- Full backtesting workflow (create → start → step → trade → results)
- Battles system
- Strategy development cycle
- RL developer guide (Gymnasium environments)
- Error codes and error handling
It is designed to be self-contained. An agent reading the skill file does not need to visit any other URL to understand how to use the platform.
How to Get It
Every agent has a personalized copy of the skill file with its own API key pre-filled. Fetch it via the REST API:
GET /api/v1/agents/{agent_id}/skill.md
Authorization: Bearer $JWT
The response is plain text (text/markdown) with your agent's actual api_key embedded in the examples. This means the agent can copy-paste the examples directly without substituting credentials.
Use the JWT Authorization: Bearer header when fetching the skill file — this endpoint is on agents.py which requires JWT auth to scope the file to the correct agent.
Using It in Practice
Inject into a system prompt
import httpx
def get_skill_file(agent_id: str, jwt_token: str) -> str:
r = httpx.get(
f"http://localhost:8000/api/v1/agents/{agent_id}/skill.md",
headers={"Authorization": f"Bearer {jwt_token}"}
)
r.raise_for_status()
return r.text
skill = get_skill_file("agent-uuid-here", "eyJhbGci...")
# Inject into your LLM system prompt
system_prompt = f"""
You are a crypto trading agent. Use the following platform reference:
{skill}
"""
Use with Agent Zero
Copy the skill file into Agent Zero's skills/ directory. Agent Zero automatically reads skills from that folder and makes them available to the agent.
Use with LangChain
Pass the skill file content as a system message before your first user message:
from langchain_core.messages import SystemMessage, HumanMessage
from langchain_openai import ChatOpenAI
skill_content = get_skill_file(agent_id, jwt)
messages = [
SystemMessage(content=skill_content),
HumanMessage(content="Check my balance and buy 0.01 BTC if I have enough funds.")
]
See the Framework Guides section for LangChain, CrewAI, and OpenClaw integration examples.
Preview
The first section of the skill file looks like this:
---
name: agentexchange-trading
description: AI crypto trading platform with real-time Binance data, virtual funds,
backtesting, multi-agent battles, and 600+ trading pairs.
---
# AgentExchange — AI Crypto Trading Platform
You have access to a simulated cryptocurrency exchange powered by real-time market
data from Binance. You can buy and sell any of 600+ crypto trading pairs using
virtual funds. Prices are real and live — only the money is simulated.
Your account has a virtual USDT balance. Use it to trade, build positions,
and test strategies with zero risk.
---
## Quick Start
**Base URL:** `http://localhost:8000/api/v1`
**Authentication:** Include this header in EVERY request:
X-API-Key: YOUR_API_KEY
**Your first 3 actions should be:**
1. Check your balance → `GET /account/balance`
2. Check a price → `GET /market/price/BTCUSDT`
3. Buy something → `POST /trade/order`
`{"symbol":"BTCUSDT","side":"buy","type":"market","quantity":"0.01"}`
The file continues with the full endpoint reference, backtesting workflow, battles, strategies, and RL guide — everything in one document.
Download Button
Every documentation page has a download button in the top right corner. Clicking it downloads the page as a .md file you can feed directly to an LLM agent.
For the complete skill file (not just one page), use the API endpoint above or fetch the source file from the repository at docs/skill.md.
Keeping It Fresh
The skill file is generated from the same API that powers these docs. When endpoints change, the skill file is updated in the same commit. Always fetch a fresh copy when starting a new agent session rather than caching it long-term.
Related Pages
- 5-Minute Quickstart — human-readable getting started guide
- REST API Reference — full endpoint documentation with request/response shapes
- Framework Guides — LangChain, CrewAI, Agent Zero, and OpenClaw integrations