continuous-learning-v2

continuous-learning-v2 is a skill for Claude Code from shennawardana23/skillme. It costs 123 tokens per session (1,611 once invoked), scanned A, original, Apache-2.0.

A learning system for a coding agent that watches each tool call and stores small, confidence-scored behavior patterns called instincts.

In plain words
What is it for?
Use it to collect recurring coding behaviors, group related patterns into skills or commands, and keep project rules separate from general ones.
Why use it?
Reviewing only an entire session can miss useful details, while project-specific habits can accidentally affect unrelated projects.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event.

Part of the skillme plugin — 148 skills, 2 commands shipped together

Good fit Use it to collect recurring coding behaviors, group related patterns into skills or commands, and keep project rules separate from general ones.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shennawardana23/skillme/continuous-learning-v2
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 shennawardana23/skillme --skill continuous-learning-v2
Clone the repo
git clone --depth 1 https://github.com/shennawardana23/skillme

Made for: Claude Code.

Or install skillme, the plugin that ships this one along with the rest of its 148 skills, 2 commands.

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-v2

README.md
[![agentmods](https://agentmods.dev/badge/skills/shennawardana23/skillme/continuous-learning-v2/github.svg)](https://agentmods.dev/skills/shennawardana23/skillme/continuous-learning-v2)
Your own site
<a href="https://agentmods.dev/skills/shennawardana23/skillme/continuous-learning-v2"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/continuous-learning-v2/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-v2

Your own site · 80×15
<a href="https://agentmods.dev/skills/shennawardana23/skillme/continuous-learning-v2"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/continuous-learning-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,611 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00123 $0.01611
Opus 5.5 $0.00049 $0.00644
Sonnet 5.5 $0.00025 $0.00322
Haiku 4.5 $0.00012 $0.00161

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

Security

Grade A, and why

continuous-learning-v2 scanned grade A with 0 findings 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 3mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/continuous-learning-v2/SKILL.md · 161 lines

How it starts

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

Continuous Learning v2 (instinct-based)

A finer-grained alternative to continuous-learning: instead of evaluating a whole session once at the end and writing out full skill files, this approach observes every tool call via hooks and accumulates small, atomic, confidence-scored "instincts" that later get clustered into skills, commands, or agents. See continuous-learning for when the simpler whole-session approach is enough — don't reach for this added complexity unless you actually need per-behavior confidence tracking or project/global separation.

Why hooks instead of a Stop hook

A Stop hook only fires once, on sessions that end normally, and only gets one pass over the whole transcript. PreToolUse/PostToolUse hooks fire on every single tool call, deterministically — so no candidate pattern is missed because the session ended unusually, and observation happens incrementally rather than in one large end-of-session pass.

The instinct model

An instinct is one atomic, learned behavior — one trigger, one action — not a full skill:

---
id: prefer-explicit-error-returns
trigger: "when writing a function that can fail"
confidence: 0.7
domain: "code-style"
source: "session-observation"
scope: project
project_id: "a1b2c3d4e5f6"
---

# Prefer Explicit Error Returns

## Action
Return an explicit error value rather than panicking, for any function
whose failure is an expected, recoverable condition.

## Evidence
- User corrected a panic-based approach to an error-return approach twice
- Pattern held across three subsequent sessions without correction

Properties that make this different from a whole extracted skill:

  • Atomic — one trigger, one action, easy to evaluate independently
  • Confidence-weighted — a number, not a boolean, that can move up or down as evidence accumulates
  • Domain-tagged — code-style, testing, git, debugging, etc.
  • Evidence-backed — records what observations produced it, so a human reviewing it later can see why it exists
  • Scope-aware — project by default, promotable to global

Read the full file on GitHub · 161 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 161 lines · 123 tokens per session scan A 1c1088d71ecb

Subscribe to this mod's changes

continuous-learning-v2 is a skill published in the GitHub repository shennawardana23/skillme (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 123 tokens to every session and 1,611 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

continuous-learning-v2 compared with skills from other repositories

continuous-learning-v2 next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
continuous-learning-v2shennawardana23/skillmeSkill41mo agoApache-2.0A123Claude Code
persistent-memorymthines/agent-skillsSkill22yesterdayMITA67Claude Code
opencode-memorycarson2222/skillsSkill1115mo agoApache-2.0A77Claude Code, Codex
project-scaffoldHadi99K/AGENT_SKILLSSkill31mo agoMITA75Claude Code, Codex
team-summaryHadi99K/AGENT_SKILLSSkill31mo agoMITA57Claude Code, Codex
learn-from-experienceshibing624/skillsSkill204mo agononeA123Claude Code, Codex
memory-integrationtroykelly/claude-skillsSkill1210mo agononeA28Claude Code