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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.05470 |
| Opus 5.5 | $0.00065 | $0.02188 |
| Sonnet 5.5 | $0.00032 | $0.01094 |
| Haiku 4.5 | $0.00016 | $0.00547 |
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 2mo 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 — 422 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.
- 2mo ago Changed · +11 lines 12c5078914bf
- 3mo 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 1mo ago), licensed MIT. It adds 162 tokens to every session and 5,470 once invoked, about $0.0006 per session on Opus 5.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.
ghostswap-partners-api compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ghostswap-partners-apighostswap1/ghostswap-agents | Skill | 3 | 1mo ago | MIT | A | 162 | Claude Code |
| 0xarchive0xArchiveIO/0xarchive-skill | Skill | 11 | 1mo ago | MIT | A | 312 | Claude Code |
| nft-standardswshobson/agents | Skill | 43k | yesterday | MIT | A | 48 | Claude Code |
| solidity-securitywshobson/agents | Skill | 43k | yesterday | MIT | A | 38 | Claude Code |
| pump-swarmalsk1992/CloddsBot | Skill | 3.1k | 17d ago | MIT | A | 13 | Claude Code, Codex |
| trading-solanaalsk1992/CloddsBot | Skill | 3.1k | 17d ago | MIT | A | 28 | Claude Code, Codex |
| publicalsk1992/CloddsBot | Skill | 3.1k | 17d ago | MIT | A | 0 | Claude Code, Codex |