learned-lessons

Record solved problems into a centralized Markdown knowledge base.

17|1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/vasilievyakov/miracle-infrastructure --skill learned-lessons
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learned-lessons
Source: https://github.com/vasilievyakov/miracle-infrastructure/tree/main/skills/learned-lessons
Command: npx skills add https://github.com/vasilievyakov/miracle-infrastructure --skill learned-lessons

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Accumulates knowledge from solved problems so you never search for the same thing twice.

Core Features & Use Cases

  • Recording solved problems to a central knowledge base after they are solved.
  • Retrieval during debugging to check for existing solutions before performing a web search.
  • Persistence across sessions with entries stored in ~/.claude/knowledge-base.md and newest entries added to the top.
  • Manual workflow: use /til to record a lesson, and use /lessons or /search-lessons to access the knowledge base.

Quick Start

Run /til after solving a problem to add a new lesson to the knowledge base.

Frequently Asked Questions about learned-lessons

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

FAQPage Schema
How do I record solved debugging problems to avoid searching for the same issue twice?

You record solved debugging problems by running the /til command after finding a solution. This writes a structured entry with the date, title, problem, symptoms, solution, and tags into a centralized knowledge base. New entries are prepended so the latest lessons appear first.

Can I check my existing knowledge base for a solution before performing a new web search?

Yes, you can check your existing knowledge base for a solution before performing a new web search by using the /lessons or /search-lessons command. The system automatically retrieves relevant past solutions during debugging to prevent repeating previous work.

Where are my recorded lessons and solved problems stored for persistence across sessions?

Recorded lessons and solved problems are stored in the ~/.claude/knowledge-base.md file. This ensures persistence across sessions by keeping all entries in a structured markdown format with the newest solutions added to the top.

What is the best way to maintain a searchable memory of technical solutions found via web search?

The best way to maintain a searchable memory of technical solutions is to capture them into a structured knowledge base immediately after solving them via web search. Recording entries with specific tags and symptoms allows for instant retrieval during future debugging.

Do I need any external dependencies or tools to start recording lessons into a knowledge base?

No external dependencies or tools are needed to start recording lessons into a knowledge base. The system operates independently by writing structured problem and solution entries directly to a local markdown file in your environment.

What limitations should I expect when using a local markdown file for debugging knowledge retrieval?

A limitation of using a local markdown file for debugging knowledge retrieval is that entries are text-based and stored locally. Retrieval effectiveness depends on the consistency of your recorded tags and symptoms rather than a relational database query system.