Agent skill

Raydium

by alsk1992 in alsk1992/CloddsBot

Raydium - swaps, CLMM positions, AMM liquidity on Solana. An agent skill from alsk1992/CloddsBot.

MITAuto-check passed

Install Raydium

skills CLI
$ npx skills add alsk1992/CloddsBot --skill raydium -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alsk1992/CloddsBot raydium --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/alsk1992/CloddsBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/skills/bundled/raydium .claude/skills/raydium && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
raydium
GitHub stars
2.9k
Token cost
~1.4k tokens
SKILL.md length
240 words
Files
2
Skills in repo
116
Repo updated
First seen
Licence
MIT

At a glance

Raydium - swaps, CLMM positions, AMM liquidity on Solana. An agent skill from alsk1992/CloddsBot.

  • Works in 3 steps: Choose a pool (e.g., SOL-USDC) → Set price range (lower, upper) → Deposit tokens - you'll provide both…
  • SKILL.md covers Commands, Examples, Pool Types and Tools Available, plus 3 more sections
  • Runs TypeScript scripts from its folder; reaches api.mainnet-beta.solana.com; needs SOLANA_PRIVATE_KEY

What it does

Raydium is an agent skill from alsk1992/CloddsBot. Raydium - swaps, CLMM positions, AMM liquidity on Solana

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `index.ts`).

It works with Solana. The repository describes itself as: Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes… The licence is MIT.

Example prompts

  • “/raydium”

Requirements

  • Node.js
  • A credential in SOLANA_PRIVATE_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Choose a pool (e.g., SOL-USDC)
  2. Set price range (lower, upper)
  3. Deposit tokens - you'll provide both tokens proportionally

What it can do on your machine

Read from SKILL.md and the folder at commit c930628. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.mainnet-beta.solana.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SOLANA_PRIVATE_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Raydium loads about 1.4k tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 240 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from alsk1992/CloddsBot at commit c930628, republished under its MIT licence (© alsk1992). 240 words, ~1,366 tokens.

Download SKILL.mdSave it as .claude/skills/raydium/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
raydium
description
Raydium - swaps, CLMM positions, AMM liquidity on Solana
command
ray
emoji
💜
gates.envs
SOLANA_PRIVATE_KEY

Raydium DEX

Raydium is a high-volume DEX on Solana with AMM pools and CLMM (Concentrated Liquidity Market Maker) pools.

Commands

Swaps
/ray swap <amount> <from> to <to>    Execute swap on Raydium
/ray quote <amount> <from> to <to>   Get quote without executing
/ray pools <token>                   List pools for token
CLMM (Concentrated Liquidity)
/ray clmm positions                  List your CLMM positions
/ray clmm create <pool> <lower> <upper> <amount>   Open position
/ray clmm add <pool> <nft> <amount>  Add liquidity to position
/ray clmm remove <pool> <nft> [%]    Remove liquidity
/ray clmm close <pool> <nft>         Close position
/ray clmm harvest                    Harvest all rewards
AMM Liquidity
/ray amm add <pool> <amountA> [amountB]   Add liquidity
/ray amm remove <pool> <lpAmount>         Remove liquidity

Examples

Swaps
/ray swap 1 SOL to USDC
/ray quote 100 USDC to RAY
/ray pools SOL
CLMM Positions
/ray clmm positions                              # List all positions
/ray clmm create ABC123... 100 200 1000000000   # Open position with price range
/ray clmm add ABC123... NFT456... 500000000     # Add liquidity
/ray clmm remove ABC123... NFT456... 50         # Remove 50%
/ray clmm harvest                                # Harvest rewards

Pool Types

TypeDescriptionFeatures
AMM (V4)Standard constant-product AMMSimple, high volume
CLMMConcentrated liquidityCapital efficient, earn fees in range
CPMMConstant product (newer)Lower fees

Tools Available

Swap Tools
ToolDescription
raydium_swapExecute swap via Raydium
raydium_quoteGet quote without executing
raydium_poolsList available pools
CLMM Tools
ToolDescription
raydium_clmm_positionsList your CLMM positions
raydium_clmm_create_positionOpen new concentrated liquidity position
raydium_clmm_increase_liquidityAdd liquidity to existing position
raydium_clmm_decrease_liquidityRemove liquidity from position
raydium_clmm_close_positionClose an empty position
raydium_clmm_harvestHarvest fees and rewards
raydium_clmm_swapSwap directly on a specific CLMM pool
raydium_clmm_create_poolCreate new CLMM pool
raydium_clmm_configsGet available fee tier configs
AMM Tools
ToolDescription
raydium_amm_add_liquidityAdd liquidity to AMM pool
raydium_amm_remove_liquidityRemove liquidity from AMM pool

TypeScript API

typescript
import {
  // Swaps
  executeRaydiumSwap,
  getRaydiumQuote,
  listRaydiumPools,

  // CLMM (Concentrated Liquidity)
  getClmmPositions,
  createClmmPosition,
  increaseClmmLiquidity,
  decreaseClmmLiquidity,
  closeClmmPosition,
  harvestClmmRewards,
  swapClmm,
  createClmmPool,
  getClmmConfigs,

  // AMM Liquidity
  addAmmLiquidity,
  removeAmmLiquidity,
} from 'clodds/solana/raydium';

// Execute swap
const swap = await executeRaydiumSwap(connection, keypair, {
  inputMint: 'So11111111111111111111111111111111111111112',
  outputMint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
  amount: '1000000000', // 1 SOL in lamports
  slippageBps: 50,
});

// Open CLMM position
const position = await createClmmPosition(connection, keypair, {
  poolId: 'POOL_ID_HERE',
  priceLower: 100,
  priceUpper: 200,
  baseAmount: '1000000000', // 1 SOL
  slippage: 0.01,
});
console.log(`Position NFT: ${position.nftMint}`);

// List positions
const positions = await getClmmPositions(connection, keypair);
for (const pos of positions) {
  console.log(`Pool: ${pos.poolId}, Liquidity: ${pos.liquidity}`);
}

// Add liquidity to position
await increaseClmmLiquidity(connection, keypair, {
  poolId: 'POOL_ID_HERE',
  positionNftMint: 'NFT_MINT_HERE',
  amountA: '500000000', // 0.5 SOL
});

// Harvest rewards
const rewards = await harvestClmmRewards(connection, keypair);
console.log(`Harvested: ${rewards.signatures.length} transactions`);

// AMM: Add liquidity
await addAmmLiquidity(connection, keypair, {
  poolId: 'AMM_POOL_ID',
  amountA: '1000000000',
  fixedSide: 'a',
  slippage: 0.01,
});

// AMM: Remove liquidity
await removeAmmLiquidity(connection, keypair, {
  poolId: 'AMM_POOL_ID',
  lpAmount: '1000000', // LP tokens to burn
  slippage: 0.1,
});

Environment Variables

bash
SOLANA_PRIVATE_KEY=<base58 or JSON array>
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com  # optional

CLMM Position Management

Opening a Position
  1. Choose a pool (e.g., SOL-USDC)
  2. Set price range (lower, upper)
  3. Deposit tokens - you'll provide both tokens proportionally
Managing Positions
  • Add liquidity: Deposit more tokens to existing position
  • Remove liquidity: Withdraw tokens (partial or full)
  • Harvest: Collect trading fees earned
  • Close: Close position after removing all liquidity
Price Range Strategy
StrategyRangeRisk/Reward
Wide range50% - 200% of currentLower fees, less IL
Narrow range95% - 105%Higher fees, more IL risk
Full range0 - infinityLike standard AMM

© alsk1992, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in src/skills/bundled/raydium of alsk1992/CloddsBot.

  • SKILL.md
  • index.ts

Open the folder on GitHubat commit c930628

Compare with similar skills

Raydium next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Raydium compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Raydium this skillalsk1992/CloddsBot2.9k—~1.4kAutomated safety check: PassMIT
Solana Devsolana-foundation/solana-dev-skill574—~3.8kAutomated safety check: PassMIT
Meme Coin Security Auditawarexone/Agentic-Bug-Hunter5.3k1 repos~2.4kAutomated safety check: PassMIT
Swapper Depositswapperfinance/swapper-toolkit852—~1.8kAutomated safety check: PassMIT
PNP Prediction Markets on Solanainternet-court/internet-court-skill6.5k—~7.5kAutomated safety check: NotesMIT
Minara Crypto Trading and WalletMinara-AI/minara-skills362—~5.7kAutomated safety check: PassNone

Similar skills

  • Solana Dev

    solana-foundation/solana-dev-skill

    A skill your agent uses when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "fuzz my…

    574 GitHub stars~3.8k tokensUpdated today
    Backend & APIsAuto-check passed
  • Meme Coin Security Audit

    awarexone/Agentic-Bug-Hunter

    Screens EVM and Solana meme coins for rug pull signs such as hidden mint, honeypot logic and fee tricks, starting with fast kill signals before any code review.

    5.3k GitHub starsUsed in 1 repo~2.4k tokens
    SecurityAuto-check passed
  • Swapper Deposit

    swapperfinance/swapper-toolkit

    Deposit and bridge funds into a wallet or protocol using Swapper Finance.

    852 GitHub stars~1.8k tokensUpdated 6 mo ago
    Business, Finance & HRAuto-check passed
  • PNP Prediction Markets on Solana

    internet-court/internet-court-skill

    Creates, trades and settles permissionless prediction markets on Solana with any SPL token as collateral, including social-media and custom-oracle markets.

    6.5k GitHub stars~7.5k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check: notes
  • Minara Crypto Trading and Wallet

    Minara-AI/minara-skills

    Drives the Minara CLI for crypto swaps, perps, limit orders, wallet transfers, deposits and withdrawals, plus AI market analysis.

    362 GitHub stars~5.7k tokensUpdated 22 days ago
    Business, Finance & HRAuto-check passed
  • Manifest

    Bonasa-Tech/manifest

    A skill your agent uses when building, debugging, or integrating with the Manifest DEX on Solana, especially for TypeScript SDK usage, transaction construction with ManifestClient, market state…

    158 GitHub stars~478 tokensUpdated today
    DevelopmentAuto-check passed

More from alsk1992/CloddsBot

All 116 skills in this repo
  • Qmd

    alsk1992/CloddsBot

    Local hybrid search for markdown notes and docs. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub starsUsed in 3 repos~1.2k tokens
    Auto-check passed
  • AI Strategy

    alsk1992/CloddsBot

    AI Strategy - natural language to trades. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub stars~670 tokensUpdated 6 days ago
    Auto-check passed
  • Alerts

    alsk1992/CloddsBot

    Create and manage price alerts for prediction markets. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub stars~460 tokensUpdated 6 days ago
    Auto-check passed
  • Analytics

    alsk1992/CloddsBot

    Performance attribution, trade analytics, and strategy optimization

    2.9k GitHub stars~1.6k tokensUpdated 6 days ago
    Auto-check passed
  • Arbitrage

    alsk1992/CloddsBot

    Automated cross-platform arbitrage detection and monitoring. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • Auto Reply

    alsk1992/CloddsBot

    Automatic response rules, patterns, and scheduled messages. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub stars~1.5k tokensUpdated 6 days ago
    Auto-check passed

Works with

Questions about Raydium

What does Raydium do?

Raydium - swaps, CLMM positions, AMM liquidity on Solana. An agent skill from alsk1992/CloddsBot. Raydium is an agent skill from alsk1992/CloddsBot.

How do I install Raydium in Claude Code?

Run `npx skills add alsk1992/CloddsBot --skill raydium -a claude-code`. Or copy the skill folder (src/skills/bundled/raydium in alsk1992/CloddsBot) into .claude/skills/raydium in your project. Claude Code loads it when a task matches its description.

How do I install Raydium in Codex?

Run `npx skills add alsk1992/CloddsBot --skill raydium -a codex`. Or copy the skill folder (src/skills/bundled/raydium in alsk1992/CloddsBot) into .agents/skills/raydium in your project. Codex loads it when a task matches its description.

Can I use Raydium in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alsk1992/CloddsBot --skill raydium -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/raydium, .gemini/skills/raydium, .github/skills/raydium and .opencode/skills/raydium in your project.

What does Raydium need to run?

Going by SKILL.md and its folder, Raydium needs TypeScript for the scripts in its folder and credentials named SOLANA_PRIVATE_KEY. Our summary lists: Node.js; A credential in SOLANA_PRIVATE_KEY.

Does Raydium access the network?

SKILL.md names 1 domain. In commands or code: api.mainnet-beta.solana.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Raydium safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Raydium use?

Raydium is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Raydium use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Raydium?

Skills that share tags, products or a category with Raydium: Solana Dev (solana-foundation/solana-dev-skill, 574 stars), Meme Coin Security Audit (awarexone/Agentic-Bug-Hunter, 5.3k stars), Swapper Deposit (swapperfinance/swapper-toolkit, 852 stars) and PNP Prediction Markets on Solana (internet-court/internet-court-skill, 6.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Raydium?

alsk1992 (a GitHub user) maintains it in alsk1992/CloddsBot, which has 2,933 GitHub stars. The repository holds 116 skills in this directory. The repository was last updated on October 2, 2026.

Source: alsk1992/CloddsBot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.