learning-capture
Installation
SKILL.md
Learning Capture
Use this skill when setting up, using, or troubleshooting Terraphim's automatic learning capture system that records failed commands and their context.
Overview
Terraphim learning capture automatically records bash command failures during AI-assisted development sessions. Each failure is stored as a structured Markdown document with the command, error output, exit code, working directory, and timestamp.
Key Capabilities:
- Automatic capture via PostToolUse Claude Code hook
- Structured Markdown storage in
~/.local/share/terraphim/learnings/ - Query past failures by command pattern
- Add corrections to existing learnings
- Install hooks for Claude Code, Codex, and OpenCode