Continuous Learning logo

Continuous Learning

CommunityPopular
rohitg00
continuous-learning

Auto-extract patterns from coding sessions, track corrections, and build reusable knowledge with confidence scoring

Overview

Publisherrohitg00
Repositoryawesome-claude-code-toolkit
Skill namecontinuous-learning
Stars
2.6K
Forks
963
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by rohitg00 on GitHub. Read the source before you install it.

Installation

Install the Continuous Learning AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rohitg00/awesome-claude-code-toolkit.git /tmp/awesome-claude-code-toolkit
mkdir -p .claude/skills
cp -r /tmp/awesome-claude-code-toolkit/skills/continuous-learning .claude/skills/continuous-learning
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Continuous Learning in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Continuous Learning on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Continuous Learning is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

yaml
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

ScoreMeaningAction
0.95+Verified across multiple projectsApply automatically
0.80-0.94Confirmed in this codebaseApply and mention
0.60-0.79Observed but not fully validatedSuggest with caveat
0.40-0.59Hypothesis based on limited dataAsk before applying
<0.40Speculative, needs validationDocument 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
markdown
## Session Learnings (2025-06-15)

### Corrections Applied
- [0.85] TypeScript: Use `satisfies` instead of `as` for type narrowing with object literals
- [0.90] Next.js: Server Actions must be async functions, even for synchronous operations

### Successful Patterns
- [0.80] PostgreSQL: Partial indexes on status columns reduced query time by 60%
- [0.75] React: Extracting data fetching into Server Components eliminated 3 useEffect hooks

### Anti-Patterns Identified
- [0.70] Avoid: Nesting more than 2 levels of Suspense boundaries (causes waterfall)
- [0.65] Avoid: Using `any` to suppress TypeScript errors in catch blocks (use `unknown`)

Knowledge Base Organization

Structure the knowledge base by domain:

knowledge/
  error-handling.md      # Error patterns across languages
  testing.md             # Test patterns and anti-patterns
  performance.md         # Optimization learnings
  api-design.md          # API design decisions
  deployment.md          # Infrastructure learnings
  project-specific.md    # Current project conventions

Each file follows the same entry format. Deduplicate entries with matching observation fields by incrementing frequency and updating confidence.

Correction Tracking

When a user corrects code or approach:

  1. Record what was originally produced
  2. Record what the correction was
  3. Identify the root cause (wrong assumption, missing context, outdated pattern)
  4. Create or update a learning entry
  5. Search for similar patterns that might need the same correction
markdown
### Correction Log
- **Original**: Used `useEffect` to fetch data on mount
- **Correction**: Moved data fetching to Server Component
- **Root cause**: Applied client-side SPA pattern in Server Component context
- **Generalization**: In Next.js App Router, prefer server-side data fetching for initial page data
- **Confidence**: 0.90 (confirmed across 4 components)

Pattern Reinforcement

Track how often patterns are applied and whether they hold:

Pattern: "Use zod for API input validation"
  Applied: 12 times
  Confirmed: 11 times
  Corrected: 1 time (edge case with file uploads)
  Confidence: 0.92
  Status: ESTABLISHED

Statuses:

  • EMERGING (frequency < 3) - New pattern, needs validation
  • GROWING (frequency 3-7) - Building evidence, apply with mention
  • ESTABLISHED (frequency 8+, confidence > 0.85) - Apply automatically
  • DEPRECATED - Once valid, now superseded by a better approach

Integration with Memory Files

Store learnings in the project's memory file (CLAUDE.md or equivalent):

  • High-confidence learnings (>0.85) go in the main instructions section
  • Medium-confidence (0.60-0.84) go in a dedicated "Learnings" section
  • Low-confidence (<0.60) stay in session notes until validated
  • Deprecated patterns move to an archive section with reason for deprecation

Review and prune the knowledge base monthly. Remove entries that have not been referenced in 90 days and have confidence below 0.70.

Frequently asked questions

What does the Continuous Learning AI skill do?

Auto-extract patterns from coding sessions, track corrections, and build reusable knowledge with confidence scoring

Why use Continuous Learning on TypingMind?

Because you install it once and use it with any model. Continuous Learning is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Continuous Learning in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/rohitg00/awesome-claude-code-toolkit/tree/main/skills/continuous-learning. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Continuous Learning?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Continuous Learning?

As many as you like. As long as a model supports skills, you can use Continuous Learning with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Continuous Learning AI skill free?

Yes. It is published on GitHub by rohitg00 under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇