SessionStart
01Hook Claude Code
Runs when a session starts on startup and resume, executing session_start_loader.py via uv. From grimoire-rs/grimoire.
Hook Claude Code
Runs when a session starts on startup and resume, executing session_start_loader.py via uv. From grimoire-rs/grimoire.
Hook Claude Code
Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing pre_tool_use_validator.py, pre_commit_verification.py and conventional_commit_validator.py via uv (3 commands). From grimoire-rs/grimoire.
Hook Claude Code
Runs after a tool call finishes for Edit, MultiEdit and Write tool calls, executing post_tool_use_tracker.py via uv. From grimoire-rs/grimoire.
Hook Claude Code
Runs when the agent finishes a response, executing stop_validator.py via uv. From grimoire-rs/grimoire.
Hook Claude Code
Runs when a subagent finishes, executing subagent_stop_logger.py via uv. From grimoire-rs/grimoire.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, executing user_prompt_router.py via uv. From grimoire-rs/grimoire.
Settings file Claude Code
Agent settings declaring 6 hook events (SessionStart, PreToolUse, PostToolUse, Stop) and 12 allowed tools.
Skill Claude CodeCodex
Use when a bug is reported, something is broken, an error or crash needs fixing, a wrong output appears, or a regression shows up — guides Grimoire's Reproduce → Root-Cause → failing-test-FIRST → Fix → Verify discipline and will not let the fix begin until a failing regression test is recorded. Use also when the user…
Skill Claude CodeCodex
Use when writing code, fixing a bug, implementing a feature, or improving code structure. Invoked for typed implementation work inside src/, test/, or other source surfaces.
Skill Claude CodeCodex
Use for code review, quality audits, SOLID/DRY consistency checks, pattern audits across the codebase, or verifying anti-pattern compliance across a scope.
Skill Claude CodeCodex
Use when the user says "commit", "/commit", "save progress", or asks to land working changes on a feature or worktree branch. Grimoire working-phase posture — minimises commit count, can amend rolling Checkpoints, offers a one-time PR prompt. For pre-merge cleanup, use /finalize.
Skill Claude CodeCodex
Use when authoring or editing Grimoire documentation — user guide, reference pages, doc pages under docs/, or doc narrative structure.
Skill Claude CodeCodex
Use when the user says "finalize", "/finalize", "prepare this branch for main", "clean up history", "squash the branch", or landing a branch on main. Rewrites Checkpoint working-phase commits into clean Conventional Commits before fast-forward merge. Flags: --squash-all, --dry-run.
Skill Claude CodeCodex
Use when creating or editing skills, rules, agents, or hooks under .claude/. Also when AI knowledge has drifted from project patterns, a new Claude Code feature lands, or syncing artifacts to current state. Modes: create, audit, refresh, review, research .
Skill Claude CodeCodex
Use when auditing the freshness of .claude/rules/subsystem-.md files against current codebase state, or when a subsystem has undergone significant change.
Skill Claude CodeCodex
Use when user asks "what's next" or "next step". Prints next slash command from current state via a sonnet subagent. Flags: --clear, --list.
Skill Claude CodeCodex
Use when designing test suites, writing acceptance tests, validating an implementation against a spec, or planning test coverage before implementation. Trigger: /qa-engineer.
Skill Claude CodeCodex
Use for security audits, threat modelling, vulnerability assessment, or evaluating the attack surface of a new capability before merge. Trigger: /security-auditor.
MCP server Claude CodeCodexCursor +2
GitHub's hosted MCP server: lets the agent search code, read and create issues and pull requests. Remote server at api.githubcopilot.com.
MCP server Claude CodeCodexCursor +2
Gives the agent up-to-date documentation and code examples for libraries and frameworks, fetched on demand so answers are not stuck at the model's training cutoff. Runs locally from the @upstash/context7-mcp npm package.
Instructions file CodexOpenCode
Instructions for grimoire-rs/grimoire, covering agents.md, what is grimoire, project identity, rule catalog and build & development commands.
Instructions file
Instructions for grimoire-rs/grimoire: Project context lives in AGENTS.md — one file, every agent. Edit that file, never this one; this is only the Claude Code import hook.
Skill Claude CodeCodex
Craft effective AI agent configuration — skills, rules, agents, and instructions — for any AI coding client. Use when writing or reviewing a SKILL.md, rule file, or agent definition; when deciding between a skill, rule, hook, or always-on instruction; when a config file grows past its context budget; or when a skill…
Skill Claude CodeCodex
Author, validate, and package grim-publishable artifacts — skill directories, rule files, agent definitions, MCP server descriptors, and bundle TOMLs. Use when creating or editing an artifact for grim build or grim release; when choosing frontmatter or catalog metadata fields; when adding a vendor-namespaced metadata…