Continuous Improvement logo

Continuous Improvement

Organization
l-gevity
continuous-improvement

Protocol for updating skills based on user feedback and root-cause analysis to prevent recurring mistakes. Use this skill when deciding HOW and WHEN to evaluate or update other agent skills.

Overview

Publisherl-gevity
Repositoryl-gevity-skills
Skill namecontinuous-improvement
Stars
72
Forks
13
Bundled files
Instructions only
LicenseMIT
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 l-gevity on GitHub. Read the source before you install it.

Installation

Install the Continuous Improvement 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.
    https://github.com/l-gevity/l-gevity-skills/tree/main/.agents/skills/continuous-improvement
  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/l-gevity/l-gevity-skills.git /tmp/l-gevity-skills
mkdir -p .claude/skills
cp -r /tmp/l-gevity-skills/.agents/skills/continuous-improvement .claude/skills/continuous-improvement
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Continuous Improvement 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 Improvement 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 Improvement 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 Improvement Protocol (Meta-Learning)

This protocol governs the agent's meta-learning process (Kaizen). It ensures that SKILL files evolve organically, preventing recurring errors through systemic, root-cause adjustments, without growing bloated.

Core Directives

  1. Automation Before Prose: Before adding a manual instruction to a SKILL document, check whether the lesson can be encoded as a test, linter, schema, type, build gate, or template. Observe a new check failing without the rule before calling it enforced; a check never seen to fail is a hypothesis, not a safeguard. If automation is infeasible or too costly, record why and add the smallest useful prose rule.
  2. Density Over Volume: Prefer replacing, merging, or tightening existing rules before adding new ones. Prune only rules proven obsolete, contradicted, or owned elsewhere.
  3. Root-Cause Focus: Do not preserve a symptom as the rule. Trace the error to its root cause (e.g., misunderstood framework, missing boundary rule) and fix the most upstream reusable guidance.
  4. Single Owner, Explicit References: Keep each rule's primary authority in one SKILL. Other SKILLs may mention it briefly as a cross-reference when routing users to the owner would prevent misuse.
  5. Operationalize Before Broadening: For skill-library updates, add or extend validation, templates, or primer checks before broad prose changes. If prose is still needed, keep the rule at the owning SKILL and route siblings to it.
  6. Promote Before Repinning: When a consumer project proves a reusable lesson, update the canonical generic skill library first. Publish that revision, then repin the consumer; keep project facts in a local overlay.

When to use this skill

  • Triggered by user corrections, systemic failures, or regression triggers that are likely to recur beyond the current conversation (full catalogue in §1).
  • Triggered when the user asks to improve, optimize, prune, or audit the skill library itself.
  • Out of scope: This skill dictates the triggers, analysis, and mindset for updating SKILLs. It does NOT dictate the formatting/layout of the SKILLs (follow your project's skill-authoring conventions) nor does it define the architectural code rules themselves (see architecture-guidelines).

Skill-Library Optimization Mode

When the subject is the skills themselves, optimize in this order:

  1. Name the observed failure the change prevents — a correction, transcript, incident, or scenario. Preferred wording, or a request to extend or complete a skill, is not one; without it, return a proposal with an M verdict instead of editing.
  2. Check whether validation can catch it: mirror sync, frontmatter, primer backlinks, output contract presence, owner/routing conflicts, or template shape.
  3. Edit the owning SKILL.md only. Sibling skills get cross-references unless they must make a routing decision.
  4. Keep .agents/skills, .claude/skills, and the matching .documentation/READ-*.md primer aligned in the same change. If the skill's public role or trigger changed, update the README.md skill index too.
  5. Run python scripts/validate-skills.py. If no mechanical check can cover the lesson, record why in the output contract.

Consumer-to-Library Promotion

Use this sequence when learning originates in a consumer project:

  1. Capture the concrete failure, correction, or repeated successful pattern and its verification evidence in the consumer.
  2. Extract the smallest behavior that applies without the project name, private paths, roles, domain taxonomy, local commands, or provider assumptions.
  3. Update the one canonical generic owner in the skill library. Add a skill only when the capability has a distinct trigger, lifecycle, and output contract.
  4. Update mirrors, primers, indexes, root routing guidance, and validation in the same library change.
  5. Validate and publish the library revision.
  6. Repin or reinstall that revision in the consumer, then retain only its project profile and other domain-specific skills locally.

Do not overwrite a generic library from a consumer tree or treat byte-identical vendored files as locally owned. If a local emergency patch is unavoidable, mark it as temporary divergence with an upstream owner and remove it when the published fix is repinned.


1. Triggers for Learning

Initiate this protocol to examine and update existing SKILL.md files when encountering:

Trigger TypeScenario
CorrectionUser explicitly corrects an architectural pattern, approach, or rule.
RegressionA fix for one issue breaks another, indicating an undocumented system boundary.
New PatternA new, validated structural standard is successfully introduced to the codebase.
Systemic FailureThe same class of anti-pattern or fragile workaround is attempted repeatedly, or once with high blast radius.
Process BreakRecurring CI/CD failures or linter bottlenecks indicating a broken foundational rule.
Skill OptimizationUser asks to optimize, prune, audit, or increase efficiency of the skill library itself.

2. Analyze Root Cause

Determine the underlying reason before writing a new rule. Ask:

  • Missing/Ambiguous: Was the requirement undocumented, too broad, too absolute, or written with the wrong force?
  • Conflict: Did two SKILL rules contradict each other?
  • Ignored Rule: Was a rule clear but ignored due to lack of visibility in the file? Improve placement or wording before promoting it to a warning block.
  • Technical Constraint: Was the failure due to a misunderstood platform or framework behavior?

3. The Update Execution

When generating the actual update to the relevant SKILL.md file:

  • Actionable Constraints: Ensure new rules are testable, direct, scoped, and explicit about exceptions.
  • Review Sibling Skills: Check existing skills to ensure you are not creating an ownership conflict or duplicating the rule's primary authority.
  • Eliminate Outdated Logic: Replace or delete previous rules only when they contradict, overlap with, or are made obsolete by the new learning. Preserve useful exceptions and migration notes.
  • Maintain Mirrors and Validate: keep mirrors, primers, and the index aligned as Optimization Mode steps 4–5 require; extend the validator when a drift pattern can be detected mechanically.

4. Verification & Notification

Ensure the learning "sticks":

  • Verification: If applicable, add a unit test, lint rule, schema check, or perform an audit showing the previous mistake is now caught earlier or made less likely. Do not claim structural impossibility unless an enforced gate guarantees it. For skill-library changes, run python scripts/validate-skills.py. A changed decision rule is a behavioral hypothesis: record the originating miss as a scenario that fails before the change and passes after, and apply the new rule to the change itself before calling it ready.
  • Notify: Conclude the improvement sequence with a concise summary back to the user:

    "Updated [Skill/Test] to prevent [issue] by mandating [new practice]."

5. Output Contract

When applying this skill, emit:

Subject:        <skill / test / linter / schema / template>
Trigger:        <correction | regression | new pattern | systemic failure | process break | skill optimization>
Root cause:     <missing/ambiguous | conflict | ignored rule | technical constraint | ownership gap>
Owner:          <skill/test/linter/schema/template that should own the fix>
Automation:     <implemented | infeasible | deferred> - <reason>
Decision:       <replace | add | delete | cross-reference | no change>
Verification:   <checks performed, and the observed failure without the rule>
Next action:    <edit made, check added, follow-up owner, or stop>
Residual risk:  <what still depends on judgment or future enforcement>

6. See also

  • architecture-guidelines — first-principles rules that updates from this skill propagate back into.
  • defect-shift-left — when a recurring correction can be encoded as a Stage 0–5 gate instead of a SKILL rule (Directive 1).

Frequently asked questions

What does the Continuous Improvement AI skill do?

Protocol for updating skills based on user feedback and root-cause analysis to prevent recurring mistakes. Use this skill when deciding HOW and WHEN to evaluate or update other agent skills.

Why use Continuous Improvement on TypingMind?

Because you install it once and use it with any model. Continuous Improvement 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 Improvement in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/l-gevity/l-gevity-skills/tree/main/.agents/skills/continuous-improvement. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Continuous Improvement?

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 Improvement?

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

Is the Continuous Improvement AI skill free?

Yes. It is published on GitHub by l-gevity under the MIT 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 👇