Awesome-omni-skill self-learning-skills
Memory sidecar for agent work: recall before tasks, record learnings after tasks, review recommendations, optional backport bundles.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/tools/self-learning-skills" ~/.claude/skills/diegosouzapw-awesome-omni-skill-self-learning-skills && rm -rf "$T"
manifest:
skills/tools/self-learning-skills/SKILL.mdsource content
Self-learning sidecar
Use this skill to recall prior shortcuts before you start work, and to record durable “aha” moments + recommendations after you finish.
Critical rule: if no learnings exist (cold start), say so and proceed with standard tools — do not invent memories.
1) PRE-RUN: Recall (before starting work)
When to use: Before any non-trivial task.
Action:
- Locate the project store:
<repo-root>/.agent-skills/self-learning/v1/users/<user>/ - Read
(quick skim).<project_store>/INDEX.md - If you need targeted recall, run:
python scripts/self_learning.py list --query "<keywords>"- Optional filters:
,--skill <name>--tag skill:<name>
- Summarize 3–7 directly actionable bullets relevant to the current task (titles + IDs only; no long dumps).
2) POST-RUN: Record (after finishing work)
When to use: You discovered something durable (schema, fix, command sequence, constraint, etc.).
Action:
- Capture 1–5 Aha Cards (durable, reusable, specific, non-sensitive). Format:
.references/FORMAT.md- Ensure every Aha Card and Recommendation has
(useprimary_skill
if unsure).unknown - Set
toscope
(repo/run-specific) orproject
(generally reusable; a backport candidate).portable - If you rediscovered the same learning, treat it as reinforcement (signal) rather than duplicating the full card.
- Ensure every Aha Card and Recommendation has
- Capture 1–5 concrete recommendations (what to change and where).
- Persist:
(or stdin)python scripts/self_learning.py record --json payload.json
Output requirement: print a short summary + top 3 items, then point to “view more” (
INDEX.md / review --format json). Do not dump long JSON by default.
3) REVIEW: Dashboard / Next actions
When to use: “What’s still open?”, “What’s stale?”, “What should we backport?”, “Most useful learnings this week?”
Action:
python scripts/self_learning.py review --days 7- Full JSON: add
--format json - Filters:
,--skill <name>
,--scope project|portable
,--status proposed,accepted,in_progress--query "<keywords>"
4) MAINTENANCE / Governance
- Repair store hygiene (append-only):
python scripts/self_learning.py repair --apply - Update recommendation status/scope:
python scripts/self_learning.py rec-status --id rec_... --status done --scope portable --note "..." - Optional backport bundle (explicit + auditable):
python scripts/self_learning.py export-backport --skill-path <skill-dir> --ids <aha_ids> [--make-diff] [--apply] - Inspect backport markers in a skill:
python scripts/self_learning.py backport-inspect --skill-path <skill-dir>
Docs
- Setup/background:
README.md - Integration templates (no hooks):
references/INTEGRATION.md - Rubric/format/portability:
,references/RUBRIC.md
,references/FORMAT.mdreferences/PORTABILITY.md