memento-commit
Installation
SKILL.md
memento-commit
Commit workflow that creates a normal git commit AND attaches a memento session summary as a git note on refs/notes/commits. The downstream pipeline (mark-evidence, collect-evidence, extract-candidates) reads these notes as evidence for knowledge distillation.
Replaces the default commit workflow when the knowledge-distillery plugin is installed.
When to Use
- Any time the user asks to commit, save changes, or invokes a commit action
- In repositories with the knowledge-distillery plugin installed
Allowed Tools
Bash (git commands + rm -f tmp/vault-refs.jsonl cleanup), Read (for reading tmp/vault-refs.jsonl). No other file writes, no MCP servers, no vault access.