Brain Add Pattern banner
bizzar0helldemon bizzar0helldemon

Brain Add Pattern

Development community

Description

--- name: brain-add-pattern description: Add an error pattern and solution to the brain's pattern store for automatic recognition --- ## Purpose Add a new error pattern to `$BRAIN_PATH/brain-mode/pattern-store.json`. Once added, the PostToolUseFailure hook will automatically match future errors containing the pattern key and inject the solution into your context. ## Steps ### 1. Gather pattern information Ask the user for the following (or extract from recent conversation context if a speci

Installation

Installs to ~/.claude/skills/bizzar0helldemon-claude-brain-toolkit-brain-add-pattern/SKILL.md

Terminal
mkdir -p ~/.claude/skills/bizzar0helldemon-claude-brain-toolkit-brain-add-pattern && curl -fsSL https://raw.githubusercontent.com/bizzar0helldemon/claude-brain-toolkit/HEAD/commands/brain-add-pattern.md -o ~/.claude/skills/bizzar0helldemon-claude-brain-toolkit-brain-add-pattern/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository