ghostswap-partners-api

ghostswap-partners-api is a skill for Claude Code from ghostswap1/ghostswap-agents. It costs 162 tokens per session (5,470 once invoked), scanned A, original, MIT.

A guide for connecting an application to the GhostSwap Partners API, a server interface for non-custodial cryptocurrency swaps. Users send one cryptocurrency and receive another in a destination wallet.

In plain words
What is it for?
Use it to build swap forms or widgets, quote exchange rates, accept one token and credit another, or add swaps to wallets, apps, bots, and payment flows.
Why use it?
It explains how to add crypto exchange functionality while keeping the swap credentials and processing on a server.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ghostswap-partners-api plugin — 1 skill, 1 MCP server shipped together

Good fit Use it to build swap forms or widgets, quote exchange rates, accept one token and credit another, or add swaps to wallets, apps, bots, and payment flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ghostswap1/ghostswap-agents/ghostswap-partners-api
Install

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.

Any agent
npx skills add ghostswap1/ghostswap-agents --skill ghostswap-partners-api
Clone the repo
git clone --depth 1 https://github.com/ghostswap1/ghostswap-agents

Made for: Claude Code.

Or install ghostswap-partners-api, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

Wrote 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.

agentmods badge for ghostswap-partners-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/ghostswap1/ghostswap-agents/ghostswap-partners-api/github.svg)](https://agentmods.dev/skills/ghostswap1/ghostswap-agents/ghostswap-partners-api)
Your own site
<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.

agentmods 80×15 button for ghostswap-partners-api

Your own site · 80×15
<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>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,470 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash 12c5078914bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/ghostswap-partners-api/SKILL.md · 422 lines

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_*, or gssk_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:

  1. Sign in at https://partners.ghostswap.io/sign-up.
  2. Submit the application form (org name, website, expected monthly volume, chosen partner fee 0–4 %).
  3. Wait for admin approval (~24 h). Once status flips to active, an activation email lands in their inbox.
  4. Open /dashboard/api-credentials → click Create live credential → copy both values:
    • GHOSTSWAP_PUBLIC_KEY — looks like gspk_live_<32 hex>, always recoverable from the dashboard.
    • GHOSTSWAP_SECRET — looks like gssk_live_<48 hex>, shown once at creation; can be revealed later via the audit-logged Reveal secret button.
  5. Set both as environment variables on the developer's server. Never paste them into code that ships to the browser.

Read the full file on GitHub · 422 lines

Changes

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.

  1. 2mo ago Changed · +11 lines 12c5078914bf
  2. 3mo ago First seen · 411 lines · 162 tokens per session scan A c835020bd4b3

Subscribe to this mod's changes

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.

Related

ghostswap-partners-api compared with skills from other repositories

ghostswap-partners-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ghostswap-partners-apighostswap1/ghostswap-agentsSkill31mo agoMITA162Claude Code
0xarchive0xArchiveIO/0xarchive-skillSkill111mo agoMITA312Claude Code
nft-standardswshobson/agentsSkill43kyesterdayMITA48Claude Code
solidity-securitywshobson/agentsSkill43kyesterdayMITA38Claude Code
pump-swarmalsk1992/CloddsBotSkill3.1k17d agoMITA13Claude Code, Codex
trading-solanaalsk1992/CloddsBotSkill3.1k17d agoMITA28Claude Code, Codex
publicalsk1992/CloddsBotSkill3.1k17d agoMITA0Claude Code, Codex