continuous-learning-skill

continuous-learning-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 28 tokens per session (1,054 once invoked), scanned C, original, Apache-2.0.

A system for extracting reusable patterns, decisions, and lessons from coding sessions and saving them as searchable, reviewable knowledge. It keeps project-specific lessons separate from general ones.

In plain words
What is it for?
Use it to record coding insights, track confidence in them, and develop recurring lessons into skills, commands, or agent improvements.
Why use it?
It reduces the need to rediscover the same solutions across sessions and helps prevent knowledge from one project being incorrectly applied to another.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions OpenCode.

Good fit Use it to record coding insights, track confidence in them, and develop recurring lessons into skills, commands, or agent improvements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/continuous-learning-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add darellchua2/opencode-config-template --skill continuous-learning-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for continuous-learning-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/continuous-learning-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/continuous-learning-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/continuous-learning-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/continuous-learning-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for continuous-learning-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/continuous-learning-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/continuous-learning-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,054 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.01054
Opus 5.5 $0.00011 $0.00422
Sonnet 5.5 $0.00006 $0.00211
Haiku 4.5 $0.00003 $0.00105

Measured 2mo ago against content hash 34185a3d109e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

continuous-learning-skill scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

When protocol is enabled, this skill defaults to `Iterations: 10` (sufficient for typical single-pass workflows). Override with `Iterations: N` for specific tasks. Safety blocks: `.env`, `node_modules/`, `rm -rf`, `git p
skills/continuous-learning-skill/SKILL.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

The full memory-hygiene procedure (user AGENTS.md §Memory Hygiene defers here): capture reusable patterns/decisions/insights from coding sessions into LEARNINGS/ markdown, scoped project or user.

When to use me

Before any review/plan/debug: recall first. After non-trivial fixes/decisions: capture (one entry per fix/decision — never routine commits, secrets, PII, or file contents).

Storage

LEARNINGS/<category>/<slug>.md is the single store (the memory tool has no v2 plugin; the manifest auto-injects per session via the local plugin — glob+read of LEARNINGS/ is the fallback). Categories: patterns/ · decisions/ · solutions/ (short-form) · conventions/ · anti-patterns/ (short-form).

Scope: project = repo learnings (the repo's own LEARNINGS/); user = cross-project preferences (~/.config/opencode/LEARNINGS/). Project detection: git toplevel + repo name. Promote project → user only when a learning proved true in ≥2 projects.

Entry format

[Category]: [Title]
Scope: [project|user]
Confidence: [0.3-0.9]
Trigger: [when this applies]
Action: [what to do]
Context: [when/where this applies]
Detail: [what the pattern/decision is]
Rationale: [why this approach]
Evidence: [what observations support it]
Files: [related paths, if any]

Core workflow

  1. Analyze session: files touched, decisions + rationale, errors → solutions, patterns used, config/dependency changes, user corrections (highest-value signal — a wrong assumption was corrected).
  2. Extract atomic instincts: trigger + action + confidence + domain + scope + evidence. One instinct per fact; confidence from evidence strength.
  3. Categorize per the folder table above.
  4. Write the entry — always, in the body format above.
  5. Update LEARNINGS/_index.md in the same write as the entry file: insert the new entry directly below the single <!-- Entries are appended here automatically when new learnings are saved --> marker — never re-add the marker (duplicates split the index), never leave the entry unwritten (an unindexed learning is invisible to the _index.md fallback search). Match the existing entry shape: ### <title> + Category / File / Confidence / Scope / (Date) / Summary lines. When an existing learning's facts change, update its index entry (heading + summary) in the same write — a corrected file under a stale index entry is the exact drift this rule exists to kill.
  6. Suggest applications: where the learning should change behavior next session (one line).
  7. Evolve: a learning re-confirmed in later sessions raises confidence; contradicted → revise or demote (never silently delete — mark superseded).

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +1 lines 34185a3d109e
  2. 2mo ago Changed 4cbe39d0aa8c
  3. 2mo ago Changed · -502 lines 3fbf73bb5485
  4. 2mo ago Changed · -12 lines c736efb872f8
  5. 3mo ago First seen · 589 lines · 28 tokens per session scan C 0e5f7ce37f32

Subscribe to this mod's changes

continuous-learning-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 1,054 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

continuous-learning-skill compared with skills from other repositories

continuous-learning-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
continuous-learning-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0C28Claude Code, Codex
agent-harnessskillberry-ai/cap-evolveSkill715d agoApache-2.0A140Claude Code
wikiskillberry-ai/cap-evolveSkill715d agoApache-2.0A93Claude Code
knowledge-ingestopenclaw/openclawSkill396ktodayMITA80Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70kyesterdayApache-2.0A217Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A0Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k17d agoMITA184Claude Code