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.
npx skills add ccashwell/evm-cortex --skill lp-analystgit clone --depth 1 https://github.com/ccashwell/evm-cortexWrote 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.
[](https://agentmods.dev/skills/ccashwell/evm-cortex/lp-analyst)<a href="https://agentmods.dev/skills/ccashwell/evm-cortex/lp-analyst"><img src="https://agentmods.dev/badge/skills/ccashwell/evm-cortex/lp-analyst/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ccashwell/evm-cortex/lp-analyst"><img src="https://agentmods.dev/badge/skills/ccashwell/evm-cortex/lp-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium analysis-evasion · line 1 Suspicious Unicode normalization or mixed-script contentFix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.06557 |
| Opus 5.5 | $0.00021 | $0.02623 |
| Sonnet 5.5 | $0.00011 | $0.01311 |
| Haiku 4.5 | $0.00005 | $0.00656 |
Grade A, and why
lp-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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 793 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LP Position Analysis
Impermanent Loss Mathematics
V2 Full-Range IL
For a 50/50 constant-product pool where r = current_price / entry_price:
IL(r) = 2√r / (1 + r) - 1
| Price Change | r | IL |
|---|---|---|
| -50% | 0.50 | -5.72% |
| -25% | 0.75 | -1.03% |
| -10% | 0.90 | -0.14% |
| 0% | 1.00 | 0.00% |
| +10% | 1.10 | -0.14% |
| +25% | 1.25 | -0.62% |
| +50% | 1.50 | -2.02% |
| +100% | 2.00 | -5.72% |
| +300% | 4.00 | -20.00% |
IL is always non-positive. The loss is symmetric on a log scale: a 2x and a 0.5x move produce the same IL.
V3 Concentrated Liquidity IL
For a position with tick range [tickLower, tickUpper] mapping to price range [Pa, Pb] where Pa < Pb, with liquidity L and current price P:
Position token amounts (the core V3 math):
If Pa ≤ P ≤ Pb (in range):
amount0 = L × (1/√P - 1/√Pb)
amount1 = L × (√P - √Pa)
If P < Pa (below range — 100% token0):
amount0 = L × (1/√Pa - 1/√Pb)
amount1 = 0
If P > Pb (above range — 100% token1):
amount0 = 0
amount1 = L × (√Pb - √Pa)
Position value in token1 terms:
value(P) = amount0 × P + amount1
Expanding for the in-range case:
value(P) = L × (P/√P - P/√Pb + √P - √Pa)
= L × (√P - √Pa + √P - P/√Pb)
= L × (2√P - √Pa - P/√Pb)
HODL value (holding the initial token amounts without providing liquidity):
At entry price P₀ (in range), the initial amounts are:
a0 = L × (1/√P₀ - 1/√Pb)
a1 = L × (√P₀ - √Pa)
HODL value at current price P:
value_HODL(P) = a0 × P + a1
= L × (P/√P₀ - P/√Pb + √P₀ - √Pa)
Impermanent loss:
IL = value_LP(P) / value_HODL(P) - 1
Concentrated positions amplify IL relative to V2. The amplification factor equals the capital efficiency multiplier.
Worked Example: ETH/USDC
Setup:
- Entry price: P₀ = 3000 USDC/ETH
- Range: Pa = 2500, Pb = 3500
- Deposit: 1 ETH + 3000 USDC worth of value
Compute initial amounts (P₀ = 3000, in range):
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.
- 2mo ago Changed · +4 lines 923b4d35c350
- 2mo ago First seen · 789 lines · 53 tokens per session scan A 9bf586e7716f
lp-analyst is a skill published in the GitHub repository ccashwell/evm-cortex (131 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 6,557 once invoked, about $0.0002 per session on Opus 5.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-09-03.
lp-analyst compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lp-analystccashwell/evm-cortex | Skill | 131 | 1mo ago | MIT | A | 53 | Claude Code, Codex |
| agentic-streetLeoYeAI/openclaw-master-skills | Skill | 2.2k | 9d ago | MIT | A | 91 | Claude Code, Codex |
| bridgealsk1992/CloddsBot | Skill | 3.1k | 18d ago | MIT | A | 13 | Claude Code, Codex |
| hyperliquidalsk1992/CloddsBot | Skill | 3.1k | 18d ago | MIT | A | 19 | Claude Code, Codex |
| marginfialsk1992/CloddsBot | Skill | 3.1k | 18d ago | MIT | A | 11 | Claude Code, Codex |
| token-pickaeonfun/aeon | Skill | 800 | yesterday | MIT | A | 25 | Claude Code, Codex |
| okx-dex-strategynirholas/three.ws | Skill | 289 | yesterday | Apache-2.0 | A | 184 | Claude Code |