jupiter-swap-migration

jupiter-swap-migration is a skill for Claude Code from jup-ag/agent-skills. It costs 51 tokens per session (1,330 once invoked), scanned A, original, MIT.

A migration guide for moving Jupiter swap integrations from the older Metis or Ultra APIs to Swap API v2.

In plain words
What is it for?
Use it to update base URLs, authentication, endpoints, request parameters, and the flow for building swap transactions.
Why use it?
It explains the changes needed when existing swap code uses older endpoints or parameters.

Skill for Claude Code

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

Part of the claude plugin — 4 skills, 1 MCP server shipped together

Good fit Use it to update base URLs, authentication, endpoints, request parameters, and the flow for building swap transactions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jup-ag/agent-skills/jupiter-swap-migration
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 jup-ag/agent-skills --skill jupiter-swap-migration
Clone the repo
git clone --depth 1 https://github.com/jup-ag/agent-skills

Made for: Claude Code.

Or install claude, the plugin that ships this one along with the rest of its 4 skills, 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 jupiter-swap-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/jup-ag/agent-skills/jupiter-swap-migration/github.svg)](https://agentmods.dev/skills/jup-ag/agent-skills/jupiter-swap-migration)
Your own site
<a href="https://agentmods.dev/skills/jup-ag/agent-skills/jupiter-swap-migration"><img src="https://agentmods.dev/badge/skills/jup-ag/agent-skills/jupiter-swap-migration/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 jupiter-swap-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/jup-ag/agent-skills/jupiter-swap-migration"><img src="https://agentmods.dev/badge/skills/jup-ag/agent-skills/jupiter-swap-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,330 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.00051 $0.01330
Opus 5 $0.00026 $0.00665
Sonnet 5 $0.00010 $0.00266
Haiku 4.5 $0.00005 $0.00133

Measured 11d ago against content hash 20aca875086f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

jupiter-swap-migration 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 11d 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.

.plugins/integrate-jupiter/claude/skills/jupiter-swap-migration/SKILL.md · 87 lines

How it starts

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

Jupiter Swap Migration Guide

Migrate existing Jupiter swap integrations from Metis (v1) or Ultra to the unified Swap API v2.

Target Base URL: https://api.jup.ag/swap/v2 Auth: x-api-key from developers.jup.ag (unchanged)

Use/Do Not Use

Use when:

  • Migrating code that calls api.jup.ag/swap/v1/quote, api.jup.ag/swap/v1/swap-instructions, or ultra-api.jup.ag.
  • Updating Jupiter swap endpoints to v2.
  • Switching from Metis two-step flow to the unified /build or /order endpoint.

Do not use when:

  • Building a new Jupiter integration from scratch (use integrating-jupiter skill instead).
  • Working with non-swap Jupiter APIs (Lend, Trigger, Recurring, etc.).

Triggers: ultra, metis, ultra swap, ultra api, ultra-api.jup.ag, /ultra/v1, swap/v1, swap-instructions, migrate swap, ultra migration, metis migration, swap v1 to v2, v1 to v2, upgrade jupiter, swap-instructions deprecated, deprecated swap, old jupiter api, swap upgrade, update swap api, quote endpoint deprecated, swap stopped working, swap broken, ExactOut removed, swapMode removed, userPublicKey, parameter rename, addressLookupTable, response format changed


Migration Paths

Source Target Effort When to choose
Ultra → /order GET /swap/v2/order + POST /swap/v2/execute Minimal (URL change only) Default for Ultra users
Metis → /build GET /swap/v2/build Moderate (parameter + response mapping) Need transaction composability
Metis → /order GET /swap/v2/order + POST /swap/v2/execute Moderate (flow change) Don't need tx modification, want managed execution

Path Details

Each path has a dedicated example with before/after code, parameter mappings, and response changes:

Read the full file on GitHub · 87 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 87 lines · 51 tokens per session scan A 20aca875086f

Subscribe to this mod's changes

jupiter-swap-migration is a skill published in the GitHub repository jup-ag/agent-skills (83 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 1,330 once invoked, about $0.0003 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 skills, from other repositories