memento-commit

Attach memento session notes to git commits via refs/notes/commits.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/ether-moon/knowledge-distillery --skill memento-commit
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: memento-commit
Source: https://github.com/ether-moon/knowledge-distillery/tree/main/plugins/knowledge-distillery/skills/memento-commit
Command: npx skills add https://github.com/ether-moon/knowledge-distillery --skill memento-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Replaces the default commit workflow to ensure every commit carries a structured session summary for downstream knowledge distillation.

Core Features & Use Cases

  • Auto-generates a commit message that reflects the change and intent.
  • Attaches a memento session summary as a git note on refs/notes/commits for provenance and evidence extraction.
  • Replaces the default commit workflow when the knowledge-distillery plugin is installed, ensuring consistent context capture.

Quick Start

Invoke a commit action (e.g., run the plugin's commit command) to create a normal git commit and attach a memento session note.

Frequently Asked Questions about memento-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I attach session notes to a git commit automatically?▼

To attach session notes to a git commit automatically, this Skill generates a structured memento summary and attaches it as a git note on refs/notes/commits during the workflow, ensuring provenance for downstream knowledge distillation.

What is the best way to ensure provenance and evidence extraction during code changes?▼

The best way to ensure provenance during code changes is to enforce session-rich commits. This Skill replaces the default workflow to attach a memento session summary as a git note, providing structured evidence for downstream extraction.

Do I need the knowledge-distillery plugin to use memento session commits?▼

Yes, you need the knowledge-distillery plugin. This Skill requires integration with the knowledge-distillery plugin to replace the default commit workflow and successfully attach memento session notes for evidence extraction.

How does a memento commit align commit messages with project conventions?▼

A memento commit aligns messages with project conventions by auto-generating a commit message that reflects the change and intent, while simultaneously attaching a structured session summary as a git note on refs/notes/commits.

Can I use standard git notes for knowledge distillation without a specialized commit workflow?▼

Standard git notes lack the structured session summaries required for distillation. This Skill replaces the default workflow to auto-generate intent-reflecting messages and attach memento notes specifically for provenance and evidence extraction.