# Jupiter routing

> Jupiter routing is an open-source agent skill for finance and payments. Prepares a Jupiter swap route quote for one approved Solana buy or sell. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/swcstudiospace/PumpGrok/tree/main/skills/jupiter-routing
- **Repository:** https://github.com/swcstudiospace/pumpgrok
- **GitHub stars:** 93
- **License:** AGPL-3.0
- **Skill name:** jupiter-routing
- **Collection:** https://github.com/swcstudiospace/PumpGrok
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-12-04

## About

This skill prepares a single trade route on Solana using the Jupiter aggregator for the PumpGrok trading desk. It requests a quote-only order for the exact input mint, output mint, amount and slippage from an approved ticket, then records the price impact as a ratio. It also estimates a priority fee and caps it so fee spikes cannot drain the wallet.

The skill is strictly a preparation step. It refuses to run unless the ticket is approved and the risk check is clear, and it stops if any parameter drifts from the ticket. The route is handed to simulation and paper-fill tools, and the skill never signs, never submits, and never treats the quote as the fill price. On timeouts or ambiguous results it reports the situation for reconciliation by transaction signature rather than retrying.

It expects a Jupiter API key in the JUPITER_API_KEY environment variable where the endpoint requires one, plus access to a Solana RPC for fee estimates. The skill is written for the SNIPER and EXIT bots and depends on companion execution and gating tools defined in the same repository.

## When your agent uses it

> Primary execution path for PumpGrok. Obtain the best route via Jupiter. Set slippage and priority fees, verify exact parameters against the approved ticket, and prepare a single-send transaction. Used only by SNIPER and EXIT.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/swcstudiospace/PumpGrok/tree/HEAD/skills/jupiter-routing)
- [License: AGPL-3.0](https://github.com/swcstudiospace/PumpGrok/tree/HEAD/skills/jupiter-routing)

## Features

- **Quote-only route request:** Requests a Jupiter order for the exact approved mints, amount and slippage without taking or submitting a swap.
- **Ticket parameter checks:** Refuses to proceed unless the ticket is approved, the risk verdict is clear, and parameters match exactly.
- **Price impact conversion:** Converts the reported price impact from percentage points into a ratio for downstream checks.
- **Priority fee cap:** Estimates the priority fee on-chain and limits it to a configured maximum to guard against spikes.
- **Stale quote protection:** Requires a fresh re-quote when the route is older than about 30 to 60 seconds before any send.
- **Single-send safety:** Stops and reports unknown results for reconciliation by signature instead of retrying without new approval.

## Good for

- Prepare a Jupiter route for an approved Solana token buy
- Get a quote for exiting an approved Solana position
- Check that slippage and priority fee settings match an approved trade ticket
- Simulate a prepared swap route before a paper fill

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/jupiter-routing` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/jupiter-routing &&
cp -R "$tmp/skills/jupiter-routing" ~/.claude/skills/jupiter-routing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/jupiter-routing` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/jupiter-routing` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/jupiter-routing &&
cp -R "$tmp/skills/jupiter-routing" ~/.agents/skills/jupiter-routing &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/jupiter-routing` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/jupiter-routing` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/jupiter-routing &&
cp -R "$tmp/skills/jupiter-routing" ~/.cursor/skills/jupiter-routing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/jupiter-routing` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/swcstudiospace/PumpGrok.git --path skills/jupiter-routing
```

Or copy the folder to `~/.gemini/skills/jupiter-routing` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/jupiter-routing`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/jupiter-routing &&
cp -R "$tmp/skills/jupiter-routing" ~/.copilot/skills/jupiter-routing &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/jupiter-routing` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/swcstudiospace/PumpGrok.git
```

Then copy `PumpGrok/skills/jupiter-routing` into your agent's skills folder as `jupiter-routing`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which bots use Jupiter routing?

It is used only by the SNIPER and EXIT bots, for the single approved buy or sell.

### Does Jupiter routing execute trades?

No. It only prepares a quote-only route. It never signs or submits, and fills come from a separate placement step.

### What happens if the API key is missing?

The skill proceeds without a key only where the endpoint allows it, and it states this in the handoff.

### What happens if a quote is too old?

The route must be re-quoted before any placement; a stale route is never sent.

### How do I install Jupiter routing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/jupiter-routing to use it in all your projects, or to .claude/skills/jupiter-routing in one project.

### Does Jupiter routing run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Jupiter routing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Jupiter routing?

The closest alternatives to Jupiter routing are Desk execution protocol, Paper broker, Desk trade lifecycle, Solana market data and Desk operating model.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Desk execution protocol](https://ai-powered.com/skills/desk-execution-protocol): Desk execution protocol is an open-source agent skill for finance and payments.
- [Paper broker](https://ai-powered.com/skills/paper-broker): Paper broker is an open-source agent skill for finance and payments.
- [Desk trade lifecycle](https://ai-powered.com/skills/desk-trade-lifecycle): Desk trade lifecycle is an open-source agent skill for finance and payments.
- [Solana market data](https://ai-powered.com/skills/solana-market-data): Solana market data is an open-source agent skill for finance and payments.
- [Desk operating model](https://ai-powered.com/skills/desk-operating-model): Desk operating model is an open-source agent skill for finance and payments.
- [Tron swap](https://ai-powered.com/skills/tron-swap): Tron swap is an open-source agent skill for finance and payments.
- [Pumpgrok setup](https://ai-powered.com/skills/pumpgrok-setup): Pumpgrok setup is an open-source agent skill for finance and payments.
- [Pump swap SDK](https://ai-powered.com/skills/pump-swap-sdk): Pump swap SDK is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/jupiter-routing
