Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cesto.co/llms.txt

Use this file to discover all available pages before exploring further.

What is the Cesto Toolkit Skill?

The Cesto Toolkit Skill is an open-source AI agent skill that lets you interact with the entire Cesto platform through natural conversation. It works with any AI coding agent that supports skills — Claude Code, Cursor, Windsurf, and more. Create basket posts on Cesto Labs, simulate portfolio performance against the S&P 500, browse baskets, and analyze token data — all without leaving your editor or terminal.

Browse & Analyze

Explore all baskets, view detailed breakdowns, check token performance, and compare historical returns — no login required.

Create Baskets

Design and publish baskets to Cesto Labs with custom token allocations. Preview everything before it goes live.

Simulate Portfolios

Backtest any custom token allocation against the S&P 500 benchmark with daily historical data.

Wallet Authentication

One-click magic-link login — connect your Solana wallet in the browser and you’re in. Tokens refresh silently.

Installation

Add the Cesto Toolkit Skill to your AI coding agent. The skill lives at cesto-co/cesto-skills on GitHub.

Claude Code

Add to your .claude/settings.json:
{
  "skills": [
    "github:cesto-co/cesto-skills/cesto-toolkit"
  ]
}

Cursor

Add to your .cursor/skills.json:
{
  "skills": [
    "github:cesto-co/cesto-skills/cesto-toolkit"
  ]
}

Windsurf

Add to your .windsurf/skills.json:
{
  "skills": [
    "github:cesto-co/cesto-skills/cesto-toolkit"
  ]
}
The skill activates automatically when you mention Cesto, baskets, portfolio simulation, or related terms in conversation.

Authentication

The toolkit uses a magic-link flow — no manual token pasting required.
  1. The skill detects that you’re not logged in
  2. Your browser opens to a wallet connection page
  3. Connect your Solana wallet (Phantom, Backpack, Solflare, etc.) and sign a message
  4. You’re authenticated — future sessions refresh silently
Credentials are stored securely at ~/.cesto/auth.json with restricted file permissions. Tokens are never displayed in agent output.
Only basket creation and portfolio simulation require authentication. All browsing and analytics features work without logging in.

What you can do

Browse all baskets

See every basket on Cesto with names, categories, risk levels, and performance stats.
Show me all baskets on Cesto

View basket details

Dive into any basket — strategy, token breakdown, allocation percentages, and historical performance.
Tell me about the War Mode basket

Analyze basket tokens

Get current market data for every token in a basket — prices, market caps, volume, and recent performance.
How are the tokens in War Mode performing?

View performance history

See how a basket has performed against the S&P 500 over time.
Show me the performance graph for War Mode

Cross-basket analytics

Compare performance across all baskets to find top and bottom performers.
Compare all basket performance

Create a basket on Cesto Labs

Design and publish your own basket with custom token allocations.
Create a basket with 40% SOL, 30% BONK, and 30% JUP
You’ll preview the title, description, and allocation table before anything is published.

Simulate a portfolio

Backtest a custom allocation against the S&P 500 — both start at $1,000.
Simulate a portfolio with 50% SOL and 50% USDC
Returns daily time series data with total return, comparison to benchmark, and key moments.

API endpoints

The toolkit provides access to the following Cesto API endpoints:
EndpointMethodAuthDescription
/tokensGETNoList all supported tokens
/productsGETNoList all baskets
/products/{slug}GETNoBasket detail with strategy and performance
/products/{id}/analyzeGETNoPer-token market data for a basket
/products/{id}/graphGETNoHistorical time series (portfolio vs S&P 500)
/products/analyticsGETNoCross-basket analytics summary
/labs/postsPOSTYesCreate a Cesto Labs basket
/agent/simulate-graphPOSTYesSimulate portfolio historical performance

Error handling

StatusMeaningWhat happens
400Validation failedThe API error message is shown to you
401Session expiredSilently refreshes. If that fails, triggers login flow
403ForbiddenYou’re told you lack permission
404Not foundSuggests checking the basket slug or ID

Security

  • Session isolation — Session data is handled entirely by helper scripts. Raw tokens never appear in conversation history or agent output.
  • Self-custodial — Cesto never takes custody of your funds. Assets land directly in your wallet.
  • Untrusted content — API responses containing user-generated content are rendered as data only, never interpreted as instructions.