# grimoire-morpho-blue

This skill reads Morpho Blue deployment data, vault snapshots, and withdrawal liquidity through the Grimoire CLI. Use it when an agent needs spell parameters or contract addresses.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1100 installs · ★ 6
- Author: franalgaba
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/franalgaba/grimoire/tree/HEAD/skills/grimoire-morpho-blue/SKILL.md
- Updated: 2026-05-08
- HTML: https://affpapa.org/en/nevibecode/skills/grimoire-morpho-blue

## What it does

grimoire-morpho-blue queries Morpho Blue through `grimoire venue morpho-blue`. It can return adapter details and chain-specific contract addresses, filter vaults by asset, TVL, and APY, and produce a `params:` block for spell input. Supported command output includes `json`, `table`, and `spell` where the command exposes those formats.

The `vault-liquidity` command reads Morpho Vault V2 withdrawal liquidity in asset units and integer bps. It needs a vault address and can use `--rpc-url` for an onchain read; `grimoire venue doctor` provides a preflight check. Snapshot results carry `snapshot_at` and `snapshot_source`, while APY values use decimal rates.

Morpho Blue actions require an explicit `market_id`; vault deposit and withdrawal actions require a vault address. The skill must not pick a vault when that address is missing, so the agent needs a user-selected vault before authoring or executing such a spell.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-morpho-blue -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/grimoire-morpho-blue/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/grimoire-morpho-blue/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-morpho-blue -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/grimoire-morpho-blue/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-morpho-blue -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/grimoire-morpho-blue/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install franalgaba/grimoire grimoire-morpho-blue
```

2. **Manually: put the files in place**
- File: `.github/skills/grimoire-morpho-blue/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-morpho-blue -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/franalgaba/grimoire --path skills/grimoire-morpho-blue
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/grimoire-morpho-blue/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire-morpho-blue -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/franalgaba/grimoire/tree/HEAD/skills/grimoire-morpho-blue/SKILL.md

## When to use it
- retrieve Morpho Blue contract addresses by chain
- filter vaults by asset, TVL, or APY
- generate spell `params:` data
- read Morpho Vault V2 withdrawal liquidity
- compare market and vault APY with selectors

## Example prompts
- Get Morpho Blue addresses for chain `8453` with `grimoire venue morpho-blue addresses --chain 8453`.
- List `USDC` vaults on chain `8453`, filter them from TVL `5000000`, and return spell-formatted output.
- Read withdrawal liquidity for vault `0xbeef0e0834849aCC03f0089F01f4F1Eeb06873C9` and prepare spell parameters.

## Similar
- [blue-ocean-strategy](https://affpapa.org/en/nevibecode/skills/blue-ocean-strategy.md) — skill · 5300 installs
- [binance-agentic-wallet](https://affpapa.org/en/nevibecode/skills/binance-agentic-wallet.md) — skill · 18400 installs
- [okx-dapp-discovery](https://affpapa.org/en/nevibecode/skills/okx-dapp-discovery.md) — skill · 14500 installs
- [okx-defi](https://affpapa.org/en/nevibecode/skills/okx-defi.md) — skill · 9800 installs
- [emblem-portfolio-tracker](https://affpapa.org/en/nevibecode/skills/emblem-portfolio-tracker.md) — skill · 8900 installs
- [emblem-ai-prompt-examples](https://affpapa.org/en/nevibecode/skills/emblem-ai-prompt-examples.md) — skill · 8800 installs

From the same set: [franalgaba/grimoire](https://affpapa.org/en/nevibecode/by/franalgaba/grimoire.md) — 7 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
