Install any skill in seconds. Free to start, no credit card required.
Get Started Free →notque/learn
Manually teach error pattern and solution to learning database.
6 of 22 test cases passed with the skill.
Tokens, turns and time describe resource use, not a dollar price.
Lift withheld: 6 comparable cases; this report requires 8.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
The resolution is to add `export PATH=$PATH:/usr/local/go/bin` to ~/.bashrc. Please save this fix into the learning memory.
| Checked | Without skill | With skill |
|---|---|---|
| Asks the user to specify the missing error pattern or symptom | Missed | Passed |
| Refrains from recording into the database until error pattern is provided | Missed | Passed |
The instructions your model reads when the skill loads.
Parse a user-provided "error -> solution" pair, classify it, store it in the cross-session learning database at high confidence, and confirm back. One pattern per invocation. All database operations go through the learning-db.py CLI.
Extract two fields from the user's input:
error_pattern: The error message or symptom textsolution: The fix or resolution textAccepted input formats:
/learn "error pattern" -> "solution"/learn "error pattern" => "solution"Both fields must be non-empty. If either is missing, ask the user for the missing part before proceeding. If the error pattern is vague (e.g., "it broke") or the solution is non-actionable (e.g., "fix it"), ask the user to provide the specific error message and concrete fix steps — vague patterns fail to match future errors and waste database space.
Determine fix_type and fix_action from the solution text by applying these rules in order:
pip install, npm install, apt install) -> fix_type=auto, fix_action=install_dependencyreplace_all -> fix_type=auto, fix_action=use_replace_allfix_type=skill, fix_action=<skill-name>fix_type=agent, fix_action=<agent-name>fix_type=manual, fix_action=apply_suggestionExecute the learning-db.py CLI to persist the pattern. Always pass user-provided strings as CLI arguments exactly as shown — never inline them into Python code via f-strings or string concatenation, because quotes or special characters in error text will break the script and create injection risk.
python3 ~/.claude/scripts/learning-db.py record \
"<error_type>" \
"<error_signature>" \
"<error_pattern> → <solution>" \
--category error \
test cases passed with the skill
More skills from the same source and nearby in the registry, with their headline benchmark lift.