shennawardana23/skillme/continuous-learning-v2

Claude Code and agent skill by shennawardana23/skillme

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when designing a fine-grained, hook-driven learning system that observes every tool call (not just session end), stores atomic "instincts" with confidence scores, and evolves clusters of related instincts into skills, commands, or agents — with project-scoped vs. global separation so React conventions don't leak into a Python repo. Trigger phrases include "observe every tool call for patterns", "score confidence on a learned behavior", "keep this pattern scoped to this project", or "cluster these instincts into a skill". For the simpler session-end, whole-skill approach, see continuous-learning.

Install

npx vskill@latest install shennawardana23/skillme/continuous-learning-v2

SKILL.md

The same SKILL.md was published earlier as shennawardana23/skillme/continuous-learning-v2.

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:

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

Confidence scoring

ScoreMeaningBehavior
0.3TentativeSuggested, not enforced
0.5ModerateApplied when relevant
0.7StrongApplied by default
0.9Near-certainTreated as a core behavior

Confidence rises when the pattern is repeatedly observed, when the user doesn't correct the suggested behavior, or when independent evidence agrees with it. Confidence falls when the user explicitly corrects the behavior, when contradicting evidence appears, or when the pattern goes unobserved for a long stretch — an instinct that decays on disuse avoids permanently enforcing a preference the project has since moved past.

Project scoping

Detect the current project (a git remote URL, or a repo path as a fallback when no remote exists) and store instincts under that project's identity rather than in one global pool. This prevents a React-specific convention learned in one repo from silently applying inside an unrelated Python service, which is the failure mode a single global instinct pool has no way to prevent.

Pattern typeScopeExample
Language/framework conventionproject"Use hooks, not classes, in this repo"
File-structure preferenceproject"Tests live under internal/.../_test.go"
Security practiceglobal"Always validate external input"
General engineering practiceglobal"Write the failing test first"
Tool workflow preferenceglobal"Read before Edit"

Promotion, project to global: when the same instinct shows up independently in two or more projects with consistently high confidence, promote it to global scope — that's the signal it's a general practice rather than something specific to one codebase's conventions. Don't promote on a single project's evidence alone; that's exactly the cross-project contamination this scoping exists to prevent.

Evolution: instincts to skills/commands/agents

Individually, instincts are too granular to read through one at a time. Periodically cluster related instincts (same domain, related triggers) into a higher-level artifact:

  • A cluster of related code-style instincts becomes a skill.
  • A cluster describing a recurring multi-step workflow becomes a command.
  • A cluster describing a consistent specialized role becomes an agent

definition.

This evolution step is where the atomic, hard-to-review instinct layer turns into something a human can actually read, approve, and maintain — treat instincts as the working memory and the evolved artifact as the thing that actually ships.

See references/instinct-file-structure.md for a worked example of the on-disk layout (project-scoped vs. global directories, observation logs, evolved-artifact directories) if you're implementing this system rather than just applying the model conceptually.

Gotchas

  • Confidence scoring only has integrity if corrections actually decay

it — a system that only ever raises confidence, never lowers it on contradiction, converges to enforcing whatever was observed first regardless of whether it's still correct.

  • Storing everything globally by default (no project scoping) is the

single biggest source of cross-project contamination — a convention correct for one stack actively wrong for another.

  • Auto-promoting an instinct to global scope from evidence in a single

project defeats the purpose of scoping in the first place; require independent evidence from multiple projects.

  • Raw observations (every tool call, every prompt) are a much larger and

more sensitive artifact than the instincts derived from them — keep observation logs local and only export/share the derived instincts, never the raw log.

Real-world grounding

The instinct-and-confidence-score design generalizes a familiar idea from recommendation and reputation systems: a small number of unweighted observations shouldn't have the same authority as a pattern reinforced across many independent instances, and a signal that stops recurring should lose influence over time rather than being locked in permanently from its first observation. Applying that discipline to learned developer-preference behavior is what separates this from just writing down the first pattern the model noticed and treating it as gospel.

Verification

  • [ ] Observation happens via PreToolUse/PostToolUse hooks, not a single end-of-session pass
  • [ ] Every instinct has a confidence score that can rise and fall with evidence
  • [ ] Instincts are scoped to a project by default; promotion to global requires multi-project evidence
  • [ ] Related instincts are periodically clustered into a reviewable skill/command/agent
  • [ ] Only derived instincts are ever exported or shared — never raw observation logs

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/shennawardana23/skillme/continuous-learning-v2/badge)](https://verified-skill.com/skills/shennawardana23/skillme/continuous-learning-v2)

Something wrong with this skill or its page? Tell us.