continuous-learning

A learning system for coding work that records corrections, successful approaches, and recurring mistakes as reusable notes with confidence scores.

In plain words
What is it for?
Use it to review session outcomes, document coding patterns, and decide which lessons are reliable enough to apply again.
Why use it?
It helps prevent the same mistakes from being repeated and preserves useful lessons from earlier coding sessions.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/global-mindee/way/continuous-learning
Any agent
npx skills add Global-mindee/WAY --skill continuous-learning
Clone the repo
git clone --depth 1 https://github.com/Global-mindee/WAY

Made for: Claude Code, Codex.

Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,301 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00021 $0.01301
Opus 5 $0.00010 $0.00651
Sonnet 5 $0.00004 $0.00260
Haiku 4.5 $0.00002 $0.00130

Measured 2d ago against content hash 0f9c5968c5fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

continuous-learning 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 2d 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/01_dx-and-quality/continuous-learning/SKILL.md · 142 lines

How it starts

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

Continuous Learning

Pattern Extraction Framework

After every significant coding session, extract and categorize learnings into three buckets:

  1. Corrections - Mistakes caught during review or by the user
  2. Successful Approaches - Patterns that worked well and should be repeated
  3. Anti-Patterns - Approaches that caused problems and should be avoided

Learning Entry Format

pattern:
  id: "LEARN-2025-0042"
  category: "error-handling"
  type: "correction"         # correction | success | anti-pattern
  confidence: 0.85           # 0.0 to 1.0
  language: "typescript"
  context: "API error responses"
  observation: "Returning raw error messages from database exceptions exposes internals"
  lesson: "Always map database errors to application-level error codes before returning"
  example:
    before: "catch (e) { res.status(500).json({ error: e.message }) }"
    after: "catch (e) { logger.error(e); res.status(500).json({ error: 'INTERNAL_ERROR' }) }"
  frequency: 3               # times this pattern has been observed
  last_seen: "2025-06-15"

Confidence Scoring

Score Meaning Action
0.95+ Verified across multiple projects Apply automatically
0.80-0.94 Confirmed in this codebase Apply and mention
0.60-0.79 Observed but not fully validated Suggest with caveat
0.40-0.59 Hypothesis based on limited data Ask before applying
<0.40 Speculative, needs validation Document but do not apply

Update confidence based on:

  • +0.10 when pattern is confirmed correct by user
  • +0.05 when pattern is observed again in a different context
  • -0.15 when pattern leads to a correction
  • -0.20 when pattern is explicitly rejected by user

Session Wrap-Up Protocol

At the end of each session or before context compaction:

  1. Review changes made - Scan diffs for patterns
  2. Identify corrections - What was changed after initial implementation?
  3. Note successful first-attempts - What worked without revision?
  4. Record environment details - Framework versions, config specifics
  5. Update confidence scores - Adjust based on session outcomes
  6. Write to knowledge base - Append new entries to CLAUDE.md or LEARNED.md

Read the full file on GitHub · 142 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. 2d ago First seen · 142 lines · 21 tokens per session scan A 0f9c5968c5fc

Subscribe to this mod's changes

continuous-learning is a skill published in the GitHub repository Global-mindee/WAY (11 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 1,301 once invoked, about $0.0001 per session on Opus 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-30.

Related

Other skills, from other repositories

ArXiv

Search and retrieve arXiv academic papers by topic, category, or paper ID — with AlphaXiv-enriched AI-generated overviews. Uses arXiv Atom API across cs.AI/cs.LG/cs.CL/cs.CR/cs.MA/cs.SE/cs.IR. Three workflows: Latest, Search, Paper. USE WHEN arxiv, papers, latest papers, research papers, recent ML papers, paper…

danielmiessler/LifeOS · 123 tokens

session-retrospective

Formalises the post-phase insight harvest and substrate encoding loop: articulate lessons learned, gap-analyse which are already encoded, route encoding gaps to the correct fleet agents, and commit the result. USE FOR: closing a phase with ≥2 novel patterns observed; ending a session where new techniques outperformed…

EndogenAI/dogma · 136 tokens

flutter-design

Use when writing, reviewing, or refactoring Flutter mobile UI code. Teaches Flutter-specific design principles (Material 3 + Cupertino adaptive), type scales, theming, spacing grids, motion, interaction, responsive layout, and UX writing. Prevents common Flutter AI-slop patterns like hardcoded Colors.purple, missing…

obiwancenobi/klamben · 91 tokens

debrief

Review exploration progress. Use to get a tree health report, ingest hypothesis feedback events, decide what to explore next, audit cross-direction lessons, or get a cross-tree review of the current state. Wide read across the whole map, narrow write — proposes and routes; doesn't change tree substance.

AgentCommander/exploration-map · 61 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

ljg-learn

Deep concept anatomist that deconstructs any concept through 8 exploration dimensions (history, dialectics, phenomenology, linguistics, formalization, existentialism, aesthetics, meta-philosophy) and compresses insights into an epiphany. Use when user asks to explain, dissect, or deeply understand a concept, term, or…

lijigang/ljg-skills · 113 tokens