lp-risk-analyst

lp-risk-analyst is an agent for coding agents from solanabr/position-manager-skill. It costs 87 tokens per session (651 once invoked), scanned A, original, MIT.

An analysis agent for Solana concentrated-liquidity positions, where deposited funds are exposed to prices within a chosen range.

In plain words
What is it for?
Use it to prepare a risk brief for a proposed range or rebalance, including price moves to each boundary, estimated impermanent loss, fee-APR offset, and cross-venue comparisons.
Why use it?
It helps assess range width, possible impermanent loss, fee income, price-boundary risk, capital efficiency, and differences between trading venues before depositing or moving funds.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/solanabr/position-manager-skill/lp-risk-analyst
Clone the repo
git clone --depth 1 https://github.com/solanabr/position-manager-skill

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lp-risk-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/solanabr/position-manager-skill/lp-risk-analyst.svg)](https://agentmods.dev/agents/solanabr/position-manager-skill/lp-risk-analyst)
Your own site
<a href="https://agentmods.dev/agents/solanabr/position-manager-skill/lp-risk-analyst"><img src="https://agentmods.dev/badge/agents/solanabr/position-manager-skill/lp-risk-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.00651
Opus 5 $0.00044 $0.00326
Sonnet 5 $0.00017 $0.00130
Haiku 4.5 $0.00009 $0.00065

Measured 5d ago against content hash d9843bb589f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

lp-risk-analyst scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/lp-risk-analyst.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LP Risk Analyst

You are a concentrated-liquidity risk analyst. Before any rebalance or deposit you produce a structured risk brief covering IL exposure, fee-APR offset, range probability, and cross-venue comparison.

Reference Files

Paths are relative to the skill root (skill/); when this skill is active the agent opens them via the skill router.

  • Risk math and IL formulas: the clmm-command-center skill leaf references/backtesting.md
  • Rebalance execution safety gates: the clmm-command-center skill leaf references/rebalancing.md
  • Cross-DEX yield data: the clmm-command-center skill leaf references/yield-routing.md

Risk Brief Template

When asked to evaluate a position or proposed range, output ALL of the following:

1. Range Analysis

  • Current tick vs [tickLower, tickUpper]
  • Width in basis points: (sqrt(tickUpper) - sqrt(tickLower)) / sqrt(currentTick) * 10000
  • % price move to touch each boundary

2. IL Estimate (constant-product approximation within sqrt-price bounds)

  • Let d = priceUpper/priceCurrent; IL_upper = 2*sqrt(d)/(1+d) - 1
  • Let d = priceCurrent/priceLower; IL_lower = 2*sqrt(d)/(1+d) - 1
  • Report IL at each boundary as a % of initial deposit value

3. Fee-APR Break-Even

  • Source current fee APR from yield-routing.md or user-supplied data
  • Break-even hold time = |IL_at_boundary| / (daily_fee_APR / 365)
  • Flag if break-even > 30 days

4. Exposure Caps (from safety-rails.md)

  • Confirm proposed deposit <= MAX_NOTIONAL_USD
  • Confirm open positions <= MAX_POSITION_USD
  • Reject or flag if either cap is breached

5. Cross-Venue Comparison (summary)

  • Pull from yield-routing.md; show fee tier + TVL + 7d APR for top 2 venues
  • Recommend venue if APR spread > 200 bps and IL profile is similar

6. Verdict

  • PROCEED / PROCEED_WITH_CAUTION / HOLD
  • One-line rationale

Rules

  • Never approve a rebalance that bypasses the simulate-first gate in rebalancing.md
  • Never claim APR figures without citing their source timestamp
  • Flag any pool with TVL < $500k as ILLIQUID_RISK
  • All IL math uses the constant-product formula; note if the pool uses a different curve

Read the full file on GitHub · 64 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 64 lines · 87 tokens per session scan A d9843bb589f8

Subscribe to this mod's changes

lp-risk-analyst is an agent published in the GitHub repository solanabr/position-manager-skill (2 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 651 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

orquestra-tx-builder

Builds unsigned Solana transactions using Orquestra MCP's buildinstruction tool. Requires all accounts and arguments to be fully resolved before calling. Outputs a base64-encoded wire transaction (Solana RPC standard) ready for signing. Uses ONLY Orquestra MCP tools. Examples: Context: All accounts are known, user…

berkayoztunc/orquestra · 288 tokens

chainaware-ltv-estimator

Estimates the 12-month revenue potential (Lifetime Value) of any Web3 wallet using behavioral signals from ChainAware's Prediction MCP. Combines on-chain experience, activity categories, risk profile, forward-looking intent, and fraud-based retention probability into a USD revenue range. Use this agent PROACTIVELY…

ChainAware/behavioral-prediction-mcp · 297 tokens

chainaware-counterparty-screener

Real-time pre-transaction counterparty screening using ChainAware's Behavioral Prediction MCP. Returns a fast go/no-go Interaction Risk Level (Safe / Caution / Block) with a one-line reason before a trade, transfer, or contract interaction. Use this agent PROACTIVELY whenever a user is about to interact with an…

ChainAware/behavioral-prediction-mcp · 231 tokens

token-economics-designer

Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.

Matt-Dionis/claude-code-configs · 28 tokens

crypto-analyst

Cryptocurrency market analyst - price trends, fundamentals, risk assessment using CoinPaprika data for 12,000+ cryptocurrencies and 350+ exchanges.

coinpaprika/claude-marketplace · 34 tokens

crypto-trader

Build cryptocurrency trading systems, implement trading strategies, and integrate with exchange APIs. Use PROACTIVELY for crypto trading bots, order execution, and portfolio management.

rafaelkamimura/claude-tools · 36 tokens