prism-openclaw
Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools, through the OpenClaw Gateway. Use when the user asks about "prism", "DLMM", "liquidity agent", "Meteora pools", "rebalance positions", "paper trade Solana", or wants the agent to check/trade/manage Prism positions.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- prism-openclaw
- tags
- [ "solana", "defi", "liquidity", "meteora", "dlmm", "trading-agent" ]
- author
- irfndi
- license
- MIT
- version
- 0.0.31
- homepage
- https://github.com/irfndi/prism-liquidity-agent
- metadata
- { "openclaw": { "os": [ "darwin", "linux" ], "emoji": "🔺", "requires": { "bins": [ "prism" ] }, "capabilities": [ "mcp", "http" ] } }
- description
- Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools, through the OpenClaw Gateway. Use when the user asks about "prism", "DLMM", "liquidity agent", "Meteora pools", "rebalance positions", "paper trade Solana", or wants the agent to check/trade/manage Prism positions.
- compatibility
- Requires Bun 1.4+, the `prism` CLI, and a Helius RPC key.
- user-invocable
- true
03 SKILL.md 正文
Prism Liquidity Agent (OpenClaw)
Prism is an autonomous liquidity agent for Solana Meteora DLMM pools. This skill lets OpenClaw query Prism, receive alerts, and remind the user to check positions.
When to use
- User asks about liquidity pool management on Solana.
- User wants to start, stop, configure, or monitor the Prism trading agent.
- User says "check my Prism positions", "any alerts from Prism?", or "should I rebalance?"
- Prism sent an alert via the OpenClaw Gateway and the user replies for context.
Quick start
# Configure (non-interactive)
prism setup --non-interactive --helius-key=$HELIUS_API_KEY
# Start with OpenClaw overlay enabled
export AGENTIC_MODE=true
export AGENT_RUNTIME=openclaw
export AGENT_GATEWAY_URL=ws://127.0.0.1:18789
prism dev
Regular checks
OpenClaw should remind the user every hour while Prism is running:
# Run from this skill's scripts folder
{baseDir}/scripts/prism-checkin.sh
This fetches a short markdown summary suitable for Telegram/Discord/Slack/WhatsApp.
On-demand queries
| Query | Command |
|---|---|
| Full JSON status | prism status --json |
| Messaging summary | {baseDir}/scripts/prism-checkin.sh |
| Open positions | curl -s http://127.0.0.1:18790/positions |
| Recent decisions | curl -s http://127.0.0.1:18790/decisions |
Decision flow
For each pool on each scan cycle:
- Fetch pool state and bin array from Meteora via Helius RPC.
- Compute metrics: fee/IL ratio, volume authenticity, bin utilization, TVL velocity.
- Apply decision rules: EXIT → REBALANCE → HOLD → ENTER.
- Run risk gates: confidence, max positions, allocation cap.
- Execute in paper or live mode.
Alert priorities
When Prism sends an alert through the Gateway, surface it according to priority:
critical— immediate notification (TVL collapse, trailing stop, stop-loss).warning— batched or quiet notification (volume auth drop, fee/IL drop, large unrealized loss).info— included in the next hourly summary (ENTER, REBALANCE).
Files
- references/agent-runtime.md — Full setup guide.
- references/decision-rules.md — Decision logic.
- references/env-vars.md — Environment variables.
- scripts/prism-checkin.sh — Messaging-friendly summary.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.