# treasures

Connect an agent to Treasures Finance for tokenized stocks, USDC transfers, and wallet portfolio operations across Solana and Ethereum.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 242 installs · ★ 33 repo stars
- Author: Starchild-ai-agent
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Starchild-ai-agent/official-skills/tree/HEAD/treasures/SKILL.md
- Updated: 2026-10-22
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/treasures

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill treasures -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/treasures/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/treasures/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill treasures -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/treasures/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill treasures -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/treasures/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Starchild-ai-agent/official-skills treasures
```

2. **Manually: put the files in place**
- File: `.github/skills/treasures/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill treasures -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Starchild-ai-agent/official-skills --path treasures
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/treasures/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill treasures -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Starchild-ai-agent/official-skills/tree/HEAD/treasures/SKILL.md

## When to use it
- 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
- 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.

## Similar
- [bridge-tokens](https://affpapa.org/en/nevibecode/skills/bridge-tokens.md) — skill · 110 installs
- [use-gateway](https://affpapa.org/en/nevibecode/skills/use-gateway.md) — skill · 1000 installs
- [emblem-portfolio-tracker](https://affpapa.org/en/nevibecode/skills/emblem-portfolio-tracker.md) — skill · 8900 installs
- [emblem-ai-agent-wallet](https://affpapa.org/en/nevibecode/skills/emblem-ai-agent-wallet.md) — skill · 8800 installs
- [Zerion API](https://affpapa.org/en/nevibecode/mcp/zerion-api.md) — MCP server · 502 installs
- [x402 Wallet](https://affpapa.org/en/nevibecode/mcp/x402-wallet.md) — MCP server · ★ 284 repo stars

From the same set: [starchild-ai-agent/official-skills](https://affpapa.org/en/nevibecode/by/starchild-ai-agent/official-skills.md) — 66 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
