treasures — Claude Code skill: what it does, how to install
Connect an agent to Treasures Finance for tokenized stocks, USDC transfers, and wallet portfolio operations across Solana and Ethereum.
no license 242 installs ★ 33 updated 2026-10-22
npx skills add Starchild-ai-agent/official-skills --skill treasures -a claude-codeWhat treasures does
This skill teaches an agent to use Treasures Finance for discovering xStocks and Ondo tokenized equities, requesting quotes, placing trades, moving USDC between Solana and Ethereum, and reading portfolio or trade history. It includes workflows for the public B2B API and for a delegated wallet.
The default route uses the user’s Privy wallet through treasures-b2b-api; signing is handled with the wallet skill. Use treasures-wallet only when the user asks for the Treasures-provisioned wallet or the assets are held there. The package requires npx and node.
Read requests can go directly to the API, while trade paths need sc-vpn with a proxy in an allowed region. Calls from the US and GB receive a 451 before signing is checked, so that response points to the geo restriction rather than a wallet error. Tokenized-equity operations also require the user to be eligible in a permitted jurisdiction.
What it helps with
- discover xStocks and Ondo tokenized equities
- request a buy or sell quote
- move USDC between Solana and Ethereum
- read a wallet portfolio and trade history
- run a trade through the delegated wallet flow
Example prompts for the agent
- Find available xStocks and Ondo tokenized equities and return their quotes.
- Check the user’s wallet portfolio and recent trade history through Treasures Finance.
- Prepare and execute a USDC transfer between Solana and Ethereum.
How to install treasures
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill treasures -a claude-code2Manually: put the files in place
~/.claude/skills/treasures/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/treasures/
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill treasures -a codex2Manually: put the files in place
.agents/skills/treasures/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill treasures -a cursor2Manually: put the files in place
.cursor/skills/treasures/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Starchild-ai-agent/official-skills treasures2Manually: put the files in place
.github/skills/treasures/SKILL.md1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill treasures -a gemini-cli2Platform CLI
gemini skills install https://github.com/Starchild-ai-agent/official-skills --path treasuresManually: put the files in place
.devin/skills/treasures/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill treasures -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about treasures
How do I install treasures in Claude Code?
Run npx skills add Starchild-ai-agent/official-skills --skill treasures -a claude-code. The skill file will be available at ~/.claude/skills/treasures/SKILL.md.
What does treasures do?
It connects an agent to Treasures Finance workflows for tokenized-stock discovery, quotes, trades, USDC bridging, and wallet portfolio or trade-history reads.
Why does a trade request return 451?
Treasures filters trade paths by geography, and requests from the US and GB are rejected before authentication or signing. For an eligible user, route trade calls through sc-vpn; read requests can remain direct.