Loading...
Loading...
Core Grimoire CLI for compiling, validating, simulating, and executing .spell files. Use when you need to run any grimoire command.
npx skill4agent add franalgaba/grimoire grimoire.spellsimulatecastgrimoire-vmgrimoire-aavegrimoire-uniswapgrimoire-morpho-bluegrimoire-hyperliquid--format spell.grimoiregrimoire init [--force] [--vm]--vm.spellgrimoire compile <spell> [-o <file>] [--pretty].spellspells/grimoire compile-all [dir] [--fail-fast] [--json].spellgrimoire validate <spell> [--strict]grimoire simulate <spell> [-p <json>] [--vault <address>] [--chain <id>] [--state-dir <dir>] [--no-state]
[--advisor-skills-dir <dir>...]
[--advisory-pi] [--advisory-replay <runId>] [--advisory-provider <name>] [--advisory-model <id>]
[--advisory-thinking <level>] [--advisory-tools <mode>] [--pi-agent-dir <dir>]grimoire cast <spell> [-p <json>] [--vault <address>] [--chain <id>] \
[--dry-run] [--key-env <name>] [--keystore <path>] [--password-env <name>] \
[--rpc-url <url>] [--gas-multiplier <n>] [--skip-confirm] [-v] [--json] \
[--advisor-skills-dir <dir>...] [--state-dir <dir>] [--no-state] \
[--advisory-pi] [--advisory-replay <runId>] [--advisory-provider <name>] [--advisory-model <id>] \
[--advisory-thinking <level>] [--advisory-tools <mode>] [--pi-agent-dir <dir>]grimoire venues [--json]@grimoirelabs/venuesgrimoire venue <adapter> [args...]grimoire history # list all spells with state
grimoire history <spellId> # runs for a specific spell
grimoire history <spellId> --limit 5 --jsongrimoire log <spellId> <runId> [--json] [--state-dir <dir>]grimoire wallet generate # create new keystore
grimoire wallet address --keystore <path> --password-env <name>
grimoire wallet balance --keystore <path> --password-env <name> --chain <id> --rpc-url <url>
grimoire wallet import --private-key <hex>
grimoire wallet wrap --amount <n> --chain <id> --keystore <path> --password-env <name>
grimoire wallet unwrap --amount <n> --chain <id> --keystore <path> --password-env <name>bun run packages/cli/src/index.ts <command> [args]PRIVATE_KEY--key-envKEYSTORE_PASSWORD--password-envRPC_URL--rpc-url.grimoire/grimoire.db--no-state--state-dir--advisor-skills-dir <dir>simulatecastSKILL.mdskillsallowedTools**...**advise--advisory-pipi
/login
# select OpenAI Codexpinpx @mariozechner/pi-coding-agent~/.pi/agent--pi-agent-dirgrimoire simulate spells/my-spell.spell \
--advisory-pi \
--advisory-provider openai-codex \
--advisory-model gpt-5.2 \
--advisory-tools nonegrimoire simulate spells/my-spell.spell --advisory-pi
grimoire simulate spells/my-spell.spell --advisory-replay <runId>