Install
$ agentstack add skill-vasilievyakov-miracle-infrastructure-learned-lessons ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Learned Lessons: Knowledge Base
Purpose
This skill accumulates knowledge from solved problems so you never search for the same thing twice.
When it activates
- After web search for problem solving: offer to record the lesson
- After using MCP tools: if a technical problem was solved
- During debugging: check the knowledge base first
- Explicit invocation: user says "/til" or "record a lesson"
Workflow after search/MCP
After successfully using web search or MCP tools to solve a technical problem:
- Ask the user briefly:
`` Record this lesson to the knowledge base? (yes/no) ``
- If yes, add an entry to the knowledge base file (default:
~/.claude/knowledge-base.md):
```markdown ## [YYYY-MM-DD] Brief title
Problem: What was not working
Symptoms: How it manifested (errors, behavior)
Solution: What helped
Tags: #python #asyncio #networking ```
- Add entries at the TOP of the file (newest lessons first)
Workflow during debugging
When systematic-debugging activates or during explicit debugging:
- Read
~/.claude/knowledge-base.mdfirst - Search for similar problems by keywords and tags
- If relevant match found, show the user
- If nothing found, continue normal debugging
Entry Format
Each entry contains:
| Field | Description | |-------|-------------| | Date | When it was learned | | Title | Gist in 5-7 words | | Problem | What you were trying to do | | Symptoms | Errors, traceback, behavior | | Solution | Specific steps or code | | Tags | For search (#python, #docker, #api) |
Commands
/til: record a lesson manually (asks for details)/lessons: show last 5 lessons/search-lessons: search the knowledge base
Important
- Do NOT record trivial things (typos, forgotten imports)
- Record what was NON-OBVIOUS and required research
- Record SPECIFIC solutions, not general advice
- Tags help search. Use technologies and concepts
Example
User: why does requests hang in asyncio?
Claude: [uses web search]
Claude: Found it! requests blocks the event loop. Use
aiohttp or run_in_executor instead.
Record this lesson to the knowledge base? (yes/no)
User: yes
Claude: Recorded with tags #python #asyncio #requests
Knowledge Base
The file ~/.claude/knowledge-base.md contains all accumulated lessons. Read this file during debugging to check for known solutions. Create it on first use if it does not exist.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: vasilievyakov
- Source: vasilievyakov/miracle-infrastructure
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.