# grimoire

This skill helps create and check .spell files, run Grimoire strategies, and debug CLI failures. Use it for validate, simulate, advisory, and cast workflows.

- 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/SKILL.md
- Updated: 2026-05-08
- HTML: https://affpapa.org/en/nevibecode/skills/grimoire

## What it does

\`grimoire` gives an agent a working procedure for Grimoire, from CLI setup and `.spell` authoring to `format`, `compile`, `validate`, `simulate`, `cast`, and `resume`. It points syntax and flag work to bundled reference files, with separate guidance for advisory decisions and replay runs.

The CLI can run through a global install, `npx -y @grimoirelabs/cli`, or the repo-local Bun command `bun run packages/cli/src/index.ts --`. The skill covers venue checks, RPC and signer diagnostics, wallet commands, and cross-chain options. Irreversible actions require `cast --dry-run` first, followed by explicit confirmation before a live `cast`.

Setup data may be written to `.grimoire/setup.env` as plaintext secret material, so keep that file local. Passwords and private keys must stay out of agent prompts and inline command assignments.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

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

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add franalgaba/grimoire --skill grimoire -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/SKILL.md

## When to use it
- author or edit a `.spell` file
- validate a spell and fix its warnings
- replay an advisory run by `runId`
- simulate a strategy on a chain
- check RPC, signer, or venue readiness

## Example prompts
- Create `spells/strategy.spell`, format it, and run `validate` on the result.
- Simulate this strategy on chain `1`, then prepare a safe dry run.
- Diagnose the `venue doctor` failure for the current adapter and suggest a fix.

## Similar
- [find-skills](https://affpapa.org/en/nevibecode/skills/find-skills.md) — skill · 4000000 installs
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [grill-me](https://affpapa.org/en/nevibecode/skills/grill-me.md) — skill · 1424476 installs
- [grill-with-docs](https://affpapa.org/en/nevibecode/skills/grill-with-docs.md) — skill · 1219756 installs
- [improve-codebase-architecture](https://affpapa.org/en/nevibecode/skills/improve-codebase-architecture.md) — skill · 1163035 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs

From the same set: [franalgaba/grimoire](https://affpapa.org/en/nevibecode/by/franalgaba/grimoire.md) — 2 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
