The Public API Skills Pack
Drop-in context for any AI agent. Download once, hand it to your assistant: it handles auth, schemas, and the full research pipeline without guesswork.
Built for agents with brains
AI agents are great at reasoning. They're bad at inventing API contracts. The Skills Pack gives your agent the verified schemas, response contracts, and operating rules it needs to use CoinQuant correctly the first time: no hallucinated endpoints, no synthesized IDs, no wasted credits.
The principle: deterministic API calls first, AI reasoning second. Your agent learns what's real before it starts thinking.
access_token and store it in token.json.What's inside
The archive unpacks to a structured directory with four top-level folders. Skills are numbered in load order: an agent should ingest them sequentially before reasoning about any API interaction.
cq_api_client.py and live validation suiteUp and running in minutes
You don't run anything. Your agent does.
"Use the CoinQuant Skills Pack at ~/coinquant-skills with the token in token.json. Build me a mean-reversion strategy on BTC, backtest it, and show me the results.
Prefer a manual setup?
access_token from CoinQuant Settings → Service Accounts.tar xf coinquant-public-api-skills-pack-v1.tar.gz
cd coinquant-public-api-skills-pack
cp examples/token.example.json token.json
# edit token.json — paste your access_token value
python3 --version # must be 3.11+
python3 -m py_compile scripts/*.py
python3 -m unittest discover -s tests -q
python3 scripts/cq_api_client.py --token-file token.json
python3 scripts/cq_api_client.py --token-file token.json credits
python3 scripts/cq_api_client.py --token-file token.json \
prompt 'Reply in one sentence: hello CoinQuant.'
--paid or --backtest flags only when you're ready to consume credits and create artifacts.python3 scripts/validate_live_pack.py --safe
How your agent thinks
For experienced users, the pack exposes a full research operating model that mirrors how a professional quant approaches strategy development: structured, evidence-driven, and resistant to overfit. Each phase uses the CoinQuant domain expert and public backtester as authoritative sources rather than relying on the agent’s own inferences.
Capability discovery
Confirms which assets, timeframes, and indicators are supported before designing anything.
Clean-slate research
Generates a market report and pulls hypotheses from real data, not assumptions.
Strategy & backtest
Materializes a real strategy and runs a tick-accurate backtest.
Robustness testing
Monte Carlo, walk-forward, parameter sweeps, fee/slippage stress.
Evidence-based decision
Recommends continue, redesign, or reject — based on actual results.
Token handling
Tokens are 30-day JWTs. Generate in Settings → Service Accounts. Your agent reads them from token.json, never from chat history or shell arguments. Expired tokens stop the agent before it spends a single credit.
If a token has expired, the client will not proceed to any paid or LLM work, it will stop and instruct you to regenerate a key in the CoinQuant frontend. Never pass raw JWTs as positional arguments to shell commands.