Agent skill

Prism

by irfndi in irfndi/prism-liquidity-agent

Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools.

MITAuto-check passedBusiness, Finance & HR

Install Prism

skills CLI
$ npx skills add irfndi/prism-liquidity-agent --skill prism -a claude-code

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

GitHub CLI
$ gh skill install irfndi/prism-liquidity-agent prism --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/irfndi/prism-liquidity-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/prism .claude/skills/prism && 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
prism
GitHub stars
122
Token cost
~1.5k tokens
SKILL.md length
549 words
Files
7 (incl. scripts, references)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools.

  • Works in 5 steps: Fetch pool state and bin array from… → Compute metrics: fee/IL ratio, volume… → Apply decision rules in order → …
  • The user asks about prism
  • SKILL.md covers When to use, Quick start, Common commands and Decision flow, plus 4 more sections
  • Runs Shell scripts from its folder; calls bun; needs HELIUS_API_KEY and WALLET_PRIVATE_KEY

What it does

Prism is an agent skill from irfndi/prism-liquidity-agent. Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools. Use when the user asks about "prism", "DLMM", "liquidity agent", "Meteora pools", "rebalance positions", "paper trade Solana", or "start the trading agent".

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/agent-runtime.md`, `references/decision-rules.md` and `references/env-vars.md`). Compatibility notes: Requires Bun 1.4+, the prism CLI, and a Helius RPC key.

It sits in Business, Finance & HR, covering Trading and backtesting. It works with Solana. The repository describes itself as: Autonomous LP trading agent - auto-rebalancing with backtested strategies - Currently support Meteora DLMM. The licence is MIT.

When your agent uses it

  • The user asks about prism
  • Liquidity agent
  • Rebalance positions
  • Paper trade Solana

Example prompts

  • “liquidity agent”
  • “Meteora pools”
  • “rebalance positions”
  • “/prism”

Requirements

  • A Bash shell
  • A credential in HELIUS_API_KEY
  • A credential in WALLET_PRIVATE_KEY
  • Compatibility (from SKILL.md): Requires Bun 1.4+, the `prism` CLI, and a Helius RPC key.

Workflow steps

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

  1. Fetch pool state and bin array from Meteora via Helius RPC.
  2. Compute metrics: fee/IL ratio, volume authenticity, bin utilization, TVL velocity.
  3. Apply decision rules in order
  4. Run risk gates: confidence, max positions, allocation cap, paper validation.
  5. Execute in paper or live mode.

What it can do on your machine

Read from SKILL.md and the folder at commit d15c63e. 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 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bun

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

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

    • HELIUS_API_KEY
    • WALLET_PRIVATE_KEY

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

  • Compatibility

    Requires Bun 1.4+, the `prism` CLI, and a Helius RPC key.

    From compatibility in the SKILL.md frontmatter.

Context cost

Prism loads about 1.5k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 60 tokens; SKILL.md has 549 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

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); the scripts in this folder are not scanned.

SKILL.md

The full file from irfndi/prism-liquidity-agent at commit d15c63e, republished under its MIT licence (© irfndi). 549 words, ~1,488 tokens.

Download SKILL.mdSave it as .claude/skills/prism/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
prism
description
Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools. Use when the user asks about "prism", "DLMM", "liquidity agent", "Meteora pools", "rebalance positions", "paper trade Solana", or "start the trading agent".
compatibility
Requires Bun 1.4+, the `prism` CLI, and a Helius RPC key.
version
0.0.31
license
MIT
author
irfndi
homepage
https://github.com/irfndi/prism-liquidity-agent
tags
solana, defi, liquidity, meteora, dlmm, trading-agent
metadata.chain
solana
metadata.protocol
meteora-dlmm

Prism Liquidity Agent

Prism is an autonomous liquidity agent for Solana Meteora DLMM pools. It runs locally, makes deterministic rebalancing decisions, and can optionally ask a local agent runtime (Hermes via ACP or OpenClaw via Gateway) for a second opinion when running as an agent skill.

When to use

  • User asks about liquidity pool management on Solana.
  • User wants to check pool health or position performance.
  • User needs to rebalance concentrated liquidity positions.
  • User mentions Meteora DLMM, fee-IL ratio, volume authenticity, or bin arrays.
  • User wants to start, stop, configure, or monitor the Prism trading agent.

Quick start

bash
# Install dependencies
bun install

# Configure (non-interactive)
prism setup --non-interactive --helius-key=$HELIUS_API_KEY

# Start paper trading (default)
prism dev

# Live trading (requires wallet)
export WALLET_PRIVATE_KEY=...
prism dev

Common commands

CommandPurpose
prism status --jsonJSON snapshot for agents/skills
prism status --messageMarkdown summary for messaging apps
prism devStart the trading agent
prism backtest --days 7Run historical simulation
prism backtest --source replay --days 7 --pools <addr>Replay on-chain snapshots
prism wallet showShow wallet balance
prism whoamiShow account info

Decision flow

For each pool on each scan cycle:

  1. Fetch pool state and bin array from Meteora via Helius RPC.
  2. Compute metrics: fee/IL ratio, volume authenticity, bin utilization, TVL velocity.
  3. Apply decision rules in order:
    • EXIT — TVL drop, stop-loss, trailing-stop, high volatility, low volume auth.
    • REBALANCE — drift > 60%, OOR grace expired, net benefit positive.
    • HOLD — existing position with healthy fee/IL ratio.
    • ENTER — new pool, strict thresholds (fee/IL > 1.8, auth > 0.8, util > 0.4).
  4. Run risk gates: confidence, max positions, allocation cap, paper validation.
  5. Execute in paper or live mode.

Key metrics

  • feeIlRatio: Fees earned vs impermanent loss. Target > 1.2 to hold, > 1.8 to enter.
  • volumeAuthenticity: 0–1 score filtering wash-traded volume. Skip below 0.7.
  • binUtilization: Active bins / total bins. Skip below 0.3.
  • tvlVelocity: Recent TVL change. EXIT if drop exceeds 30%.

Risk gates

  • Confidence below CONFIDENCE_THRESHOLD (default 0.65) → reject.
  • Max open positions reached → reject ENTER.
  • Per-pool allocation > MAX_PER_POOL_ALLOCATION_PCT (default 40%) → cap.
  • Portfolio drawdown > 10% → pause new entries.
  • Stop-loss STOP_LOSS_PCT (default 15%) triggered → EXIT.
  • Trailing stop TRAILING_STOP_PCT (default 10%) from peak → EXIT.
Show full SKILL.md (223 more words)Show less

Agent runtime integration

When Prism runs as a skill under an agent runtime, set AGENTIC_MODE=true. Prism will:

  • Ask the agent runtime to review high-confidence decisions.
  • Send periodic check-ins with open positions and portfolio summary.
  • Call the agent immediately on ENTER, EXIT, or REBALANCE.

Supported runtimes:

  • Hermes: AGENT_RUNTIME=hermes (ACP over stdio)
  • OpenClaw: AGENT_RUNTIME=openclaw (Gateway WebSocket)
  • Auto-detect: AGENT_RUNTIME=auto (default)
Pull queries (MCP + HTTP)

When AGENTIC_MODE=true, Prism exposes agent pull interfaces:

  • MCP server (stdio): tools prism_status, prism_positions, prism_decisions, prism_config. Enable with AGENT_MCP_ENABLED=true (disabled by default).
  • HTTP fallback on 127.0.0.1:AGENT_HTTP_PORT (default 0, disabled): GET /status, /positions, /decisions, /config, /health. Set AGENT_HTTP_PORT to a non-zero port to enable.

Agent runtimes can query these on demand instead of waiting for push check-ins.

Runtime-specific skill variants

For tighter integration, install a runtime-specific variant:

  • skills/prism-openclaw/ — OpenClaw-compatible frontmatter, single-line JSON metadata, hourly check-in script.
  • skills/prism-hermes/ — Hermes-compatible frontmatter with metadata.hermes.blueprint for hourly scheduled checks.

The universal skills/prism/ skill works for both but may not enable runtime-specific features like the Hermes blueprint scheduler.

Messaging apps (Telegram, WhatsApp, Discord, Slack)

Prism does not send messages directly. The agent runtime owns the messaging channel and forwards Prism check-ins/alerts. Use prism status --message to get a short markdown summary formatted for messaging apps.

Files

© irfndi, 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 6 other files (scripts, references) in skills/prism of irfndi/prism-liquidity-agent.

  • SKILL.md
  • references/agent-runtime.md
  • references/decision-rules.md
  • references/env-vars.md
  • references/meteora-dlmm.md
  • scripts/prism-checkin.sh
  • scripts/prism-status.sh

Open the folder on GitHubat commit d15c63e

Compare with similar skills

Prism 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.

Prism compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prism this skillirfndi/prism-liquidity-agent122—~1.5kAutomated safety check: PassMIT
Drift SDKalsk1992/CloddsBot2.9k1 repos~625Automated safety check: PassMIT
Solana Sniper Botnpc-live/clawfirm156—~913Automated safety check: NotesNone
Solana Payments Wallets Tradingnpc-live/clawfirm1561 repos~4.7kAutomated safety check: PassMIT
Copy Tradingagiprolabs/claude-trading-skills410—~2.4kAutomated safety check: PassMIT
Gmgn PortfolioGMGNAI/gmgn-skills604—~5.8kAutomated safety check: NotesMIT

Similar skills

  • Drift SDK

    alsk1992/CloddsBot

    Drift Protocol perpetual futures trading on Solana (direct SDK)

    2.9k GitHub starsUsed in 1 repo~625 tokens
    Business, Finance & HRAuto-check passed
  • Solana Sniper Bot

    npc-live/clawfirm

    Autonomous Solana token sniper and trading bot. An agent skill from npc-live/clawfirm.

    156 GitHub stars~913 tokensUpdated 3 mo ago
    Business, Finance & HRAuto-check: notes
  • Pay people in SOL or USDC, buy and sell tokens, check prices, discover trending and new tokens, create and manage Solana wallets, stake SOL, earn yield through lending and managed vaults, borrow…

    156 GitHub starsUsed in 1 repo~4.7k tokens
    Business, Finance & HRAuto-check passed
  • Copy Trading

    agiprolabs/claude-trading-skills

    Wallet evaluation, monitoring, and copy-trade strategy design for Solana DEX trading

    410 GitHub stars~2.4k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Gmgn Portfolio

    GMGNAI/gmgn-skills

    Analyze one or many crypto wallets by address — holdings, batch realized/unrealized P&L, win rate, trading history, performance stats, specific token balance, and tokens created by a developer…

    604 GitHub stars~5.8k tokensUpdated 10 days ago
    Business, Finance & HRAuto-check: notes
  • Trading Signal

    binance/binance-skills-hub

    Per-trade smart-money signals — each result is a discrete buy or sell event from a tracked smart-money wallet, with trigger price, current price, max gain since trigger, and exit rate.

    1.1k GitHub stars~682 tokensUpdated 27 days ago
    Business, Finance & HRAuto-check passed

More from irfndi/prism-liquidity-agent

  • Prism Openclaw

    irfndi/prism-liquidity-agent

    Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools, through the OpenClaw Gateway.

    122 GitHub stars~791 tokensUpdated 10 days ago
    Auto-check passed
  • Prism Hermes

    irfndi/prism-liquidity-agent

    Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools, through Hermes ACP.

    122 GitHub stars~807 tokensUpdated 10 days ago
    Auto-check passed
  • Prism Maintain

    irfndi/prism-liquidity-agent

    Maintain the Prism codebase: measure cyclomatic complexity, refactor hotspots, and enforce the anti-slop type discipline.

    122 GitHub stars~1k tokensUpdated 10 days ago
    Auto-check passed

Works with

Questions about Prism

What does Prism do?

Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools. Prism is an agent skill from irfndi/prism-liquidity-agent. Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools.

When should I use Prism?

Prism fits situations like: the user asks about prism; liquidity agent; rebalance positions; paper trade Solana.

How do I install Prism in Claude Code?

Run `npx skills add irfndi/prism-liquidity-agent --skill prism -a claude-code`. Or copy the skill folder (skills/prism in irfndi/prism-liquidity-agent) into .claude/skills/prism in your project. Claude Code loads it when a task matches its description.

How do I install Prism in Codex?

Run `npx skills add irfndi/prism-liquidity-agent --skill prism -a codex`. Or copy the skill folder (skills/prism in irfndi/prism-liquidity-agent) into .agents/skills/prism in your project. Codex loads it when a task matches its description.

Can I use Prism 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 irfndi/prism-liquidity-agent --skill prism -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prism, .gemini/skills/prism, .github/skills/prism and .opencode/skills/prism in your project.

What does Prism need to run?

Going by SKILL.md and its folder, Prism needs a shell for the scripts in its folder, the command-line tools its instructions call (bun) and credentials named HELIUS_API_KEY and WALLET_PRIVATE_KEY. Our summary lists: A Bash shell; A credential in HELIUS_API_KEY; A credential in WALLET_PRIVATE_KEY. Compatibility (from SKILL.md): Requires Bun 1.4+, the `prism` CLI, and a Helius RPC key..

Does Prism access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Prism 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Prism use?

Prism is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Prism use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.

What are the alternatives to Prism?

Skills that share tags, products or a category with Prism: Drift SDK (alsk1992/CloddsBot, 2.9k stars), Solana Sniper Bot (npc-live/clawfirm, 156 stars), Solana Payments Wallets Trading (npc-live/clawfirm, 156 stars) and Copy Trading (agiprolabs/claude-trading-skills, 410 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prism?

irfndi (a GitHub user) maintains it in irfndi/prism-liquidity-agent, which has 122 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 28, 2026.

Source: irfndi/prism-liquidity-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.