self-learning-skills
Memory sidecar for agent work: recall before tasks, record learnings after tasks, review recommendations, optional backport bundles.
Best use case
self-learning-skills is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Memory sidecar for agent work: recall before tasks, record learnings after tasks, review recommendations, optional backport bundles.
Teams using self-learning-skills should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
How self-learning-skills Compares
| Feature / Agent | self-learning-skills | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Memory sidecar for agent work: recall before tasks, record learnings after tasks, review recommendations, optional backport bundles.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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**.
## CLI path (important)
This skill ships an optional helper CLI at `<SKILL_DIR>/scripts/self_learning.py` (where `<SKILL_DIR>` is the directory that contains this `SKILL.md`).
- Codex default: `${CODEX_HOME:-$HOME/.codex}/skills/self-learning-skills`
- In the commands below, replace `<SKILL_DIR>` with your install path.
## 1) PRE-RUN: Recall (before starting work)
**When to use:** Before any non-trivial task.
**Action:**
1. Locate the project store: `<repo-root>/.agent-skills/self-learning/v1/users/<user>/`
2. Read `<project_store>/INDEX.md` (quick skim).
3. If you need targeted recall, run:
- `python3 <SKILL_DIR>/scripts/self_learning.py list --query "<keywords>"`
- Optional filters: `--skill <name>`, `--tag skill:<name>`
4. 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:**
1. Capture **1–5** Aha Cards (durable, reusable, specific, non-sensitive). Format: `references/FORMAT.md`.
- Ensure every Aha Card and Recommendation has `primary_skill` (use `unknown` if unsure).
- Set `scope` to `project` (repo/run-specific) or `portable` (generally reusable; a backport candidate).
- If you rediscovered the same learning, treat it as reinforcement (signal) rather than duplicating the full card.
2. Capture **1–5** concrete recommendations (what to change and where).
3. Persist:
- `python3 <SKILL_DIR>/scripts/self_learning.py record --json payload.json` (or stdin)
4. If you used an existing Aha Card or Recommendation, mark it as used:
- `python3 <SKILL_DIR>/scripts/self_learning.py use --aha aha_...[,aha_...] [--rec rec_...[,rec_...]]`
- Or include `used_aha_ids` / `used_rec_ids` (or `used: {aha_ids, rec_ids}`) in the `record` payload to auto-append usage signals.
**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:**
- `python3 <SKILL_DIR>/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): `python3 <SKILL_DIR>/scripts/self_learning.py repair --apply`
- Update recommendation status/scope: `python3 <SKILL_DIR>/scripts/self_learning.py rec-status --id rec_... --status done --scope portable --note "..."`
- Optional backport bundle (explicit + auditable): `python3 <SKILL_DIR>/scripts/self_learning.py export-backport --skill-path <skill-dir> --ids <aha_ids> [--make-diff] [--apply]`
- Inspect backport markers in a skill: `python3 <SKILL_DIR>/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.md`, `references/PORTABILITY.md`Related Skills
continuous-learning
Claude Codeセッションから再利用可能なパターンを自動的に抽出し、将来の使用のために学習済みスキルとして保存します。
continuous-learning-v2
フックを介してセッションを観察し、信頼度スコアリング付きのアトミックなインスティンクトを作成し、スキル/コマンド/エージェントに進化させるインスティンクトベースの学習システム。
nanobanana-ppt-skills
AI-powered PPT generation with document analysis and styled images
makepad-skills
Makepad UI development skills for Rust apps: setup, patterns, shaders, packaging, and troubleshooting.
machine-learning-ops-ml-pipeline
Design and implement a complete ML pipeline for: $ARGUMENTS
claude-scientific-skills
Scientific research and analysis skills
cc-skill-continuous-learning
Development skill from everything-claude-code
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
self-improvement
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
ht-skills
管理灏天文库文集和文档,支持新建文集、新建文档、查询文集/文档、更新文档、修改文档归属、管理文档层级。适用于 OpenClaw 自主写文章并上传、文集创建、文档入库、文档移动等场景。
self-xyz
Integrate Self (self.xyz) — a privacy-first identity protocol using zero-knowledge proofs to verify passports and ID cards. Use when the user mentions Self protocol, Self identity, self.xyz, passport verification, zero-knowledge identity verification, SelfAppBuilder, SelfBackendVerifier, SelfVerificationRoot, or wants to add privacy-preserving KYC, age verification, nationality checks, OFAC screening, or Sybil resistance using real-world identity documents. Covers frontend QR code integration, backend proof verification, and on-chain smart contract verification on Celo.
web-skills-protocol
Auto-discover and use Web Skills Protocol (WSP) skills when interacting with websites. Use this skill whenever the user asks you to interact with, use, or perform actions on a website or web service — such as searching a site, placing an order, deploying an app, or calling a web API. Before scraping HTML or guessing at interfaces, check if the site publishes a skills.txt or agents.txt file that teaches you how to use it properly. If a website has complex elements (e.g., heavy JavaScript, interactive UIs), activating this skill can also help you understand the site's purpose and capabilities. Do NOT use for local file operations or non-web tasks.