swapper-toolkit CLAUDE.md

Repository guidance for the Swapper AI Agent Toolkit, a collection of skills for depositing funds, swapping tokens, and managing wallets in decentralized finance, where financial services run on blockchain networks. It explains Swapper Finance and the current deposit skill.

In plain words
What is it for?
Use it when working on the deposit skill, its deeplink parameters, or the planned token-swap and wallet-management skills.
Why use it?
It gives agents the exact structure and flow for creating a deposit link, including the wallet, blockchain network, and token details. This reduces errors when connecting a user to a DeFi deposit.

Instructions file

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.

agentmods
npx agentmods add instructions/swapperfinance/swapper-toolkit/claude-md
Clone the repo
git clone --depth 1 https://github.com/swapperfinance/swapper-toolkit
Per session 599 This file is loaded in full into every session.
When invoked 599 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00599 $0.00599
Opus 5 $0.00300 $0.00300
Sonnet 5 $0.00120 $0.00120
Haiku 4.5 $0.00060 $0.00060

Measured 2d ago against content hash 6dc3fe7c47e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

swapper-toolkit CLAUDE.md 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 2d 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.

CLAUDE.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Swapper AI Agent Toolkit

This repository contains the Swapper AI Agent Toolkit — skills that give AI agents the ability to deposit funds, swap tokens, and manage wallets in DeFi.

What is Swapper Finance?

Swapper Finance is the payment infrastructure layer for Web3. It lets users and agents deposit funds into DeFi protocols via payment cards (Mastercard, Visa, Apple Pay, Google Pay), crypto transfers, and wallet connections. Supports 170+ countries. Cross-chain via Chainlink CCIP. End-to-end orchestration via Chainlink CRE. Card processing via Mastercard.

Repository structure

skills/
  swapper-deposit/    # Deposit and bridge funds into DeFi
    skill.md          # Skill definition (read by agents)
  swapper-trade/       # Token swap skill (coming soon)
    skill.md
  swapper-wallet/     # Wallet management skill (coming soon)
    skill.md
CLAUDE.md             # This file (read by Claude Code automatically)
README.md             # Repository overview
package.json          # Skill pack metadata

How the deposit skill works

  1. Agent calls /swapper-deposit with wallet address, chain, token
  2. Skill generates a Swapper deposit deeplink with correct parameters
  3. Deeplink opens in user's browser
  4. User completes deposit via Swapper widget (card, transfer, or wallet)
  5. Funds land in the target wallet or protocol on the target chain

The skill does NOT execute transactions — it generates a link. The user always confirms.

https://deposit.swapper.finance?integratorId=d6e438dfa14e80709b19&dstChainId=CHAIN_ID&dstTokenAddr=TOKEN_ADDR&depositWalletAddress=WALLET_ADDR&utm_source=swapper-deposit&extendedView=true
  • integratorId is always d6e438dfa14e80709b19 (hardcoded)
  • For native tokens (ETH, POL, BNB), use 0x0000000000000000000000000000000000000000 as token address

Supported chains

Chain Chain ID
Ethereum 1
Base 8453
Arbitrum 42161
Optimism 10
Polygon 137
Fast fast
Solana solana
HyperEVM 999
BNB Chain 56
Avalanche 43114

Read the full file on GitHub · 64 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. 2d ago First seen · 64 lines · 599 tokens per session scan A 6dc3fe7c47e0

Subscribe to this mod's changes

swapper-toolkit CLAUDE.md is an instructions file published in the GitHub repository swapperfinance/swapper-toolkit (846 stars, last pushed 4mo ago), licensed MIT. It adds 599 tokens to every session, about $0.0030 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-30.

Related

Other instructions, from other repositories