Titan Swap API and Solana DEX-aggregation integration guide for Claude Code. Use whenever the user mentions Titan, Argos, or DART, or asks about streaming swap quotes, REST swap quotes, MessagePack-encoded Solana swap APIs, route selection (`metadata.ExpectedWinner`), Swap V3 (`payer`, `positiveSlippageFeeReceiver`), or building Solana swap/aggregator functionality — even if they don't explicitly say Titan.
This repo is a Claude Code plugin marketplace. Install directly from inside Claude Code — no Node, no npm:
/plugin marketplace add Titan-Pathfinder/titan-api-claude-skills
/plugin install titan-swap-api@titan-exchange
Updates and uninstalls are managed natively via /plugin. Then type /titan-swap-api in Claude Code to invoke the skill.
If you'd rather install via npm:
For current project:
npx @titanexchange/titan-api-skill
For all projects (global):
npx @titanexchange/titan-api-skill --global
Overwrite existing install:
npx @titanexchange/titan-api-skill --force
If you prefer not to use npx or the plugin system:
Global:
mkdir -p ~/.claude/skills/titan-swap-api
curl -o ~/.claude/skills/titan-swap-api/SKILL.md \
https://raw.githubusercontent.com/Titan-Pathfinder/titan-api-claude-skills/main/skills/titan-swap-api/SKILL.md
Project-level:
mkdir -p .claude/skills/titan-swap-api
curl -o .claude/skills/titan-swap-api/SKILL.md \
https://raw.githubusercontent.com/Titan-Pathfinder/titan-api-claude-skills/main/skills/titan-swap-api/SKILL.md
slippageBps, intervalMs, and num_quotes in their correct nested objects matching the expected request schema.Ask Claude Code:
"Help me stream USDC to SOL quotes using Titan API"
Claude will guide you through:
import { V1Client } from "@titanexchange/sdk-ts";
import bs58 from "bs58";
const client = await V1Client.connect(`${WS_URL}?auth=${AUTH_TOKEN}`);
const { stream } = await client.newSwapQuoteStream({
swap: {
inputMint: bs58.decode("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"),
outputMint: bs58.decode("So11111111111111111111111111111111111111112"),
amount: BigInt(100_000_000), // 100 USDC - must be BigInt!
},
transaction: {
userPublicKey: bs58.decode(USER_PUBLIC_KEY),
},
});
for await (const quotes of stream) {
console.log(quotes);
}
The /examples directory contains working TypeScript examples:
cd examples
npm install
cp .env.example .env
# Edit .env with your credentials
npm run stream-sdk # SDK streaming
npm run stream-raw # Raw WebSocket
npm run proxy # Backend proxy
| Topic | Details |
|---|---|
| Protocol | WebSocket + MessagePack (not JSON) |
| Amount | Must be BigInt, not number |
| Token mints | Must be Uint8Array via bs58.decode() |
| Parameters | slippageBps in swap, intervalMs in update |
| Variable | Description |
|---|---|
WS_URL | Titan WebSocket endpoint |
AUTH_TOKEN | API authentication token |
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub titan-pathfinder/titan-api-claude-skills --plugin titan-swap-apiComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Nuxt, Jetpack Compose). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
This skill should be used when users need to generate ideas, explore creative solutions, or systematically brainstorm approaches to problems. Use when users request help with ideation, content planning, product features, marketing campaigns, strategic planning, creative writing, or any task requiring structured idea generation. The skill provides 30+ research-validated prompt patterns across 14 categories with exact templates, success metrics, and domain-specific applications.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.