jupiter-skill
Execute Jupiter API operations on Solana - fetch quotes, sign transactions, execute swaps, prediction markets. Use when implementing token swaps, DCA, limit orders, lending, prediction markets, or any Jupiter integration. Includes scripts for Ultra and Metis swap flows.
Why use this skill?
Automate Solana swaps, limit orders, and DCA strategies with the Jupiter API skill. Fetch market data, sign transactions, and execute trades safely.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lifeofpavs/jup-skillWhat This Skill Does
The Jupiter API Skill provides a powerful command-line interface for interacting with the Solana blockchain via Jupiter, the leading liquidity aggregator. It acts as a bridge between your agentic workflows and the Solana ecosystem, enabling programmatic access to token swaps, limit orders, DCA strategies, and prediction markets. By abstracting complex transaction construction and signing processes, this skill allows users to execute trades and fetch real-time market data through four specialized utility scripts: fetch-api.ts, wallet-sign.ts, execute-ultra.ts, and send-transaction.ts.
Installation
To use the Jupiter skill, first ensure you have the necessary environment configured. Clone the source repository or install via the clawhub command: clawhub install openclaw/skills/skills/lifeofpavs/jup-skill. Once installed, navigate to the directory and run pnpm install to resolve dependencies. The skill strictly requires an x-api-key header to function with the Jupiter API. Obtain your key from portal.jup.ag and export it as an environment variable (export JUP_API_KEY=your_key_here) for a seamless experience.
Use Cases
This skill is designed for developers and power users automating their Solana operations. Common use cases include:
- Automated Trading: Implementing custom DCA or limit order strategies by programmatically fetching quotes and executing transactions.
- Prediction Markets: Interacting with Jupiter-integrated protocols for betting or synthetic asset exposure.
- DeFi Integration: Building custom swap UI/backend flows using the Ultra and Metis APIs.
- Asset Management: Periodic rebalancing of portfolios on Solana without manual intervention.
Example Prompts
- "Use the jupiter-skill to fetch the current quote for swapping 1 SOL to USDC with 0.5% slippage."
- "Get the latest search results for 'BONK' token from the Jupiter Ultra API using the fetch script."
- "Sign the transaction for my last quote using the wallet located at ~/.config/solana/id.json and then send it to the network."
Tips & Limitations
- Safety First: This skill requires access to local wallet files. Never use a high-value wallet for automated scripts; instead, create a dedicated, low-balance hot wallet.
- Rate Limiting: Ensure your API key has sufficient limits if you are running high-frequency automation.
- Environment Variables: Use environment variables for API keys rather than flags to prevent leaking keys in command history logs.
- Network Stability: Always verify transaction signatures locally before sending them to the RPC to avoid unnecessary fees on failed transactions.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lifeofpavs-jup-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api, code-execution