Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ghostswap1/ghostswap-agents --skill ghostswap-partners-apigit clone --depth 1 https://github.com/ghostswap1/ghostswap-agentsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ghostswap1/ghostswap-agents/ghostswap-partners-api)<a href="https://agentmods.dev/skills/ghostswap1/ghostswap-agents/ghostswap-partners-api"><img src="https://agentmods.dev/badge/skills/ghostswap1/ghostswap-agents/ghostswap-partners-api.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00162 | $0.05158 |
| Opus 5 | $0.00081 | $0.02579 |
| Sonnet 5 | $0.00032 | $0.01032 |
| Haiku 4.5 | $0.00016 | $0.00516 |
Grade A, and why
ghostswap-partners-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 411 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GhostSwap Partners API integration
You are helping a developer integrate the GhostSwap Partners API — a server-to-server REST API for non-custodial crypto-to-crypto swaps. The developer's end-users send funds to a deposit address GhostSwap returns; the destination wallet receives the swapped funds. GhostSwap handles all upstream liquidity, signing, and clearing. The partner earns a 0–4 % markup (chosen at application time) on every completed swap, paid out in USDT once balance ≥ $100.
This skill is the single document you need to produce a working end-to-end integration. Read it once, then write code.
When to use this skill
Trigger when the developer's request involves any of:
- Adding a crypto exchange widget, swap form, or "convert X to Y" flow to their app
- Accepting one crypto and crediting the user in a different one
- Quoting live exchange rates for a pair (e.g. BTC → ETH)
- Earning affiliate commission on referred swaps (the
?ref=<slug>flow on ghostswap.io) - Building a Telegram bot, Discord bot, or wallet plugin that does crypto-to-crypto
- Specifically mentions "GhostSwap", "ghostswap.io", "partners.ghostswap.io",
gspk_live_*, orgssk_live_*
Do not trigger for fiat on/off-ramps, custodial trading APIs, or self-custodial DEX SDKs — those are different products.
Architecture, in one sentence
Your server holds the bearer token; your server proxies every call to
https://partners-api.ghostswap.io; your browser code talks only to your server.
The bearer must never reach the browser. Browser code calls /api/quote, /api/swap, etc. on the developer's own server; the server adds Authorization: Bearer ${PUBLIC_KEY}:${SECRET} and forwards to GhostSwap.
Step 0 — Get a credential (one-time, by the developer)
The developer (not the agent) must do this once:
- Sign in at https://partners.ghostswap.io/sign-up.
- Submit the application form (org name, website, expected monthly volume, chosen partner fee 0–4 %).
- Wait for admin approval (~24 h). Once status flips to
active, an activation email lands in their inbox. - Open /dashboard/api-credentials → click Create live credential → copy both values:
GHOSTSWAP_PUBLIC_KEY— looks likegspk_live_<32 hex>, always recoverable from the dashboard.GHOSTSWAP_SECRET— looks likegssk_live_<48 hex>, shown once at creation; can be revealed later via the audit-logged Reveal secret button.
- Set both as environment variables on the developer's server. Never paste them into code that ships to the browser.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 411 lines · 162 tokens per session scan A c835020bd4b3
ghostswap-partners-api is a skill published in the GitHub repository ghostswap1/ghostswap-agents (3 stars, last pushed 3mo ago), licensed MIT. It adds 162 tokens to every session and 5,158 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
0xarchive
Query historical and real-time crypto market data from 0xArchive across two top-level venue APIs: Hyperliquid and Lighter.xyz. HIP-3 builder perps live under the Hyperliquid namespace at /v1/hyperliquid/hip3. HIP-4 outcome markets (binary prediction markets like 'Will BTC be >= X by date Y?') live at…
coinmarketcap
Expert assistant for CoinMarketCap Pro API — price quotes, listings, historical OHLCV, market metrics, Fear & Greed Index, CMC100/CMC20 indices, exchange data, DEX data, airdrops, trending, community sentiment. Covers 10+ endpoint categories across REST + MCP + x402 pay-per-call modes. Use when the user wants: current…
nansen
Expert assistant for Nansen API — Smart Money analytics, wallet profiling, token intelligence across 37 blockchains (EVM + Solana + Bitcoin + Hyperliquid + more). Use this skill whenever the user wants to: find what smart money / funds are buying/selling, analyze a wallet's PnL, trade history, or counterparties…
solana-rpc
Expert assistant for Solana JSON-RPC — works with any provider: QuickNode, Helius, Triton, Ankr, Chainstack, or public endpoints. Standard JSON-RPC methods are identical across providers; only the URL differs. Use whenever the user wants raw Solana data: fetch transactions by signature, read account state, get block…
dexscreener
Expert assistant for DexScreener API — free, unauthenticated public API for current DEX pair data across 20+ chains (Solana, Ethereum, Base, BSC, TON, etc.). Use when the user wants: current price / volume / liquidity / market cap of any token on any chain, search a token by symbol/name/address, find all trading pairs…
dune
Expert assistant for querying and analyzing on-chain blockchain data using Dune Analytics. Use whenever the user wants to: analyze blockchain/on-chain data, write SQL for Dune, find wallet activity, track DeFi protocol metrics, analyze NFT trades, monitor token transfers, investigate smart contract events, check token…