compound

Capture debugging insights as structured memory events with LESSON, PROBLEM, CAUSE, and FIX.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Motium-AI/claude-code-toolkit --skill compound-motium-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compound
Source: https://github.com/Motium-AI/claude-code-toolkit/tree/main/config/skills/compound
Command: npx skills add https://github.com/Motium-AI/claude-code-toolkit --skill compound-motium-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies learning from debugging sessions by capturing the key memory of what was solved, enabling cross-session recall and faster future problem solving.

Core Features & Use Cases

  • Memory-event capture: Store LESSON, PROBLEM, CAUSE, and FIX as structured records.
  • Cross-session reuse: Makes insights available to future sessions without re-derivation.
  • Entity tagging: Attach 5-12 search keywords (concepts and paths) for quick retrieval.
  • Use Case: After a non-trivial bug fix, capture the learning so teammates and future runs can benefit.

Quick Start

After you solve a problem, run the memory capture workflow to store a memory event. Provide a LESSON, PROBLEM, CAUSE, and FIX, and specify key entities to tag for future search.

Frequently Asked Questions about compound

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

FAQPage Schema
How do I save debugging lessons for future sessions instead of re-deriving the fix?

To save debugging lessons for future sessions, capture the solved problem as a structured memory event using LESSON, PROBLEM, CAUSE, and FIX fields. This stores the insight via a memory hook so future runs can automatically ingest and surface the learning.

What is a memory event and how does cross-session learning work?

A memory event is a structured record of a solved problem containing LESSON, PROBLEM, CAUSE, and FIX components. Cross-session learning works by storing these events via a memory hook, allowing future sessions to automatically ingest and surface relevant insights without re-derivation.

How do I tag debugging insights so they are easy to retrieve later?

To tag debugging insights for easy retrieval, attach 5-12 search keywords covering relevant concepts and file paths to the memory event. This entity tagging ensures quick retrieval when future sessions encounter similar issues.

When should I capture a problem solution as a memory event?

You should capture a problem solution as a memory event after debugging non-trivial issues and other significant learning moments. This ensures complex fixes and insights are preserved for cross-session recall rather than lost when the session ends.

Can I use cross-session memory capture for non-debugging learning moments?

Yes, you can use cross-session memory capture for non-debugging learning moments. The skill applies after debugging non-trivial issues and other learning moments, requiring you to structure any insight with LESSON, PROBLEM, CAUSE, and FIX for future retrieval.

Do I need any specific dependencies to store memory events?

You do not need any specific dependencies to store memory events. The skill uses a built-in memory hook to store the structured records, requiring no external components or modules to enable cross-session learning and retrieval.