Logo van Continuous Learning

Continuous Learning

Community
brucesongs
continuous-learning

After completing a penetration test engagement - When encountering a novel attack technique or defense - After a tool produces unexpected results - When identifying recurring patterns across targets - User says "learn", "remember this", "pattern.

Add to TypingMind

Overzicht

Uitgeverbrucesongs
Repositorykali-claw
Skillnaamcontinuous-learning
Sterren
70
Forks
18
Meegeleverde bestanden
14
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 14

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door brucesongs op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Continuous Learning in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/brucesongs/kali-claw/tree/main/skills/continuous-learning
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brucesongs/kali-claw.git /tmp/kali-claw
mkdir -p .claude/skills
cp -r /tmp/kali-claw/skills/continuous-learning .claude/skills/continuous-learning
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Continuous Learning in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Continuous Learning automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Continuous Learning niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Continuous Learning

Summary

Continuous Learning skill domain covering knowledge operations.

Tools: High, Medium, Low, Negative, Attack Patterns, Defense Patterns, Tool Behaviors, Environment Patterns (+1 more)

Domain: knowledge

Use Cases

  1. Post-Engagement Learning — After a penetration test, extract reusable patterns from observations and tool outputs
  2. Cross-Session Knowledge Building — Accumulate tool behavior knowledge across multiple engagements into structured entries
  3. Pattern Recognition — Identify recurring vulnerabilities, tool limitations, and effective technique combinations
  4. Knowledge Confidence Tracking — Assign and update confidence scores for learned facts based on corroboration frequency
  5. Memory Layering — Distill raw observations into layered knowledge: immediate notes → verified patterns → core principles

Activation

  • After completing a penetration test engagement
  • When encountering a novel attack technique or defense
  • After a tool produces unexpected results
  • When identifying recurring patterns across targets
  • User says "learn", "remember this", "pattern", "lesson learned"

Learning Cycle

┌──────────┐    ┌───────────┐    ┌───────────┐
│ Pattern  │───→│ Extract & │───→│ Confidence │
│ Detection│    │ Structure │    │  Scoring  │
└──────────┘    └───────────┘    └───────────┘
                                        │
┌──────────┐    ┌───────────┐    ┌───────┴───┐
│ Cross-   │←──│  Memory   │←──│  Storage  │
│ Reference│    │ Retrieval │    │           │
└──────────┘    └───────────┘    └───────────┘

Step 1: Pattern Detection

Identify learnable patterns from observations:

Pattern CategoryWhat to Look For
Attack PatternsSuccessful exploitation techniques, unexpected bypasses
Defense PatternsWAF rules detected, IDS triggers, rate limiting behaviors
Tool BehaviorsTools that produced false positives, missed findings, gave unusual output
Environment PatternsCommon misconfigurations, typical network architectures
Engagement PatternsTime allocation, methodology gaps, scope surprises

Step 2: Extract & Structure

Transform raw observation into structured knowledge:

markdown
## Knowledge Entry: [ID]
- **Category:** [Attack / Defense / Tool / Environment / Engagement]
- **Context:** [When/where this was observed]
- **Pattern:** [What happened]
- **Root Cause:** [Why it happened, if known]
- **Applicability:** [When this knowledge is relevant]
- **Source:** [Engagement type, tool, or research]
- **Date:** [When observed]

Step 3: Confidence Scoring

Rate confidence based on supporting evidence:

Confidence LevelCriteriaStorage Action
HighObserved 3+ times across different engagements, independently verifiedStore as established pattern
MediumObserved 1-2 times, consistent with known theoryStore as provisional pattern
LowSingle observation, unclear root causeStore as observation only
NegativePreviously held belief contradicted by evidenceFlag old entry for review, store correction

Step 4: Storage

Save structured knowledge to the appropriate memory layer:

Short-term (Engagement): Tactical observations for current engagement

  • Specific tool configurations that worked
  • Target-specific quirks discovered
  • Time-critical findings to revisit

Medium-term (Technique): Technique-level knowledge reusable across engagements

  • Effective payload patterns for specific technologies
  • Bypass techniques for specific WAF/IDS products
  • Tool-specific tips and gotchas

Long-term (Strategic): Strategic patterns about security landscapes

  • Emerging attack technique trends
  • Common architectural weaknesses by industry
  • Tool capability boundaries and gaps

Step 5: Cross-Reference

Link new knowledge to existing entries:

  • Does this contradict a previous observation?
  • Does this reinforce a previous observation?
  • Does this fill a gap in existing knowledge?
  • Is this a variant of a known pattern?

Knowledge Categories

Attack Pattern Library

markdown
### [Pattern Name]
- **Technique:** [ATT&CK technique ID if applicable]
- **Prerequisites:** [What must be true for this to work]
- **Steps:** [How to execute]
- **Indicators of success:** [How to know it worked]
- **Variations observed:** [Different contexts where it applied]
- **Counter-indications:** [When NOT to attempt this]

Tool Mastery Notes

markdown
### [Tool Name] - [Specific Use Case]
- **Command:** [Exact command with flags]
- **Context:** [When this configuration is optimal]
- **Output interpretation:** [How to read the results]
- **Gotchas:** [Common mistakes or misleading output]
- **Alternatives:** [Other tools for the same job]
- **Performance notes:** [Speed/resource considerations]

Engagement Lessons

markdown
### Lesson: [Title]
- **Engagement type:** [Black box / White box / Red team / Bug bounty]
- **What happened:** [Description]
- **What we learned:** [Key takeaway]
- **What we'd do differently:** [Process improvement]
- **Applicable scenarios:** [When this lesson is relevant]

Learning Triggers

Automatic pattern extraction should occur when:

  1. An exploit succeeds unexpectedly — Why did it work? What was different?
  2. A tool gives unexpected output — Is this a false positive, a real finding, or a tool bug?
  3. A target behaves unusually — Custom defense? Misconfiguration? Honeypot?
  4. An attack chain works particularly well — What made the chain effective?
  5. A previously reliable technique fails — Has the target been patched? Is there a new defense?
  6. Time is wasted on a dead end — What signal was missed that could have prevented this?

Integration with Other Skills

SkillLearning Opportunity
verification-loopLearn which verification methods are most reliable per finding type
terminal-opsLearn optimal evidence capture formats per engagement type
deep-researchLearn which sources are most authoritative per topic
search-firstLearn which repositories have the best exploits per technology
vulnerability-assessmentLearn scanner false positive patterns per target technology
web-sqli / web-xssLearn payload patterns effective against specific WAFs
network-pentestLearn network architecture patterns and their common weaknesses
security-bounty-hunterLearn which vulnerability types are most rewarded per platform

Knowledge Quality Rules

  1. Never store assumptions as facts — Label speculation clearly
  2. Always include context — Where, when, and under what conditions
  3. Prefer specific over general — "SQL injection in parameter X of WordPress plugin Y v3.2" beats "SQL injection exists"
  4. Include negative results — "Tool X missed finding Y" is as valuable as "Tool X found Y"
  5. Date everything — Knowledge has a shelf life; dated entries can be refreshed
  6. Source attribution — Every entry must trace back to a specific observation or research

Detection Methods

Learning Pipeline Anomalies

  • Training data injection: Sudden spike in training data volume from untrusted source.
  • Model weight drift: Model weights changing unexpectedly between training cycles.
  • Backdoor activation: Specific input patterns triggering anomalous predictions.

RAG / Knowledge Base Indicators

  • Vector store poisoning: Documents with embedding far from cluster centroid.
  • Retrieval anomalies: Specific queries consistently retrieving same documents (potential trigger).
  • Cross-user data leakage: User A's query retrieving User B's indexed documents.

SIEM Detection Rules

  • Splunk SPL: index=ml training_run=* | stats dc(data_source) by model_version | where dc > 5
  • LangSmith / Helicone: Anomaly detection on RAG retrieval patterns.

Defense Evasion Techniques

Data Poisoning Stealth

  • Slow injection: Add poisoned samples over multiple training cycles; below distribution shift threshold.
  • Mimic legitimate distribution: Match poisoned samples' statistics to legitimate data.
  • Trigger-based backdoor: Activates only on specific input patterns; otherwise benign.
  • Label-flipping attacks: Flip labels of small % of samples; degrades model accuracy subtly.

RAG Poisoning Stealth

  • Match embedding distribution: Poisoned documents close to legitimate cluster centroid.
  • Trigger via specific query: Backdoor activates only on attacker's specific query pattern.
  • Cross-tenant indexing: Index poison in tenant A; affect queries from tenant B (if not isolated).

Memory Poisoning Stealth

  • Long-term memory manipulation: Modify agent memory to plant triggers for future sessions.
  • Cache poisoning: Poison LLM gateway cache; affects future users.
  • Gradual trust building: Build up reputation over time, then exploit at scale.

Anti-Patterns

  • Storing unverified findings — Verify before storing (use verification-loop)
  • Over-generalizing — One observation does not make a universal rule
  • Ignoring context — A technique that worked in one context may fail in another
  • Knowledge hoarding — Store structured patterns, not raw data dumps
  • Never pruning — Review and update stored knowledge periodically
  • Confidence inflation — Be honest about confidence levels

Orchestration

ECC Loop Pattern

  • Pattern: Learning Cycle (detect pattern → extract & structure → score confidence → store → cross-reference)
  • Rationale: Learning is inherently iterative — each observation refines understanding, confidence scores evolve with more evidence, and cross-referencing with existing knowledge prevents contradictions
  • Integration: All skills (consumes observations from every engagement), verification-loop (learns which verification methods are most reliable), search-first (learns which sources have best results per topic), terminal-ops (learns optimal evidence formats)

Cross-Skill Pipeline

[all skills] → continuous-learning → MEMORY.md / chronicle
                       ↓                         ↑
              verification-loop (FP patterns)   deep-research (context enrichment)

Quality Gate

  • Pre-condition: Observation from real engagement or verified research
  • Post-condition: Structured knowledge entry with confidence level and source attribution
  • Verification: Entry cross-referenced against existing knowledge, no contradictions

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Continuous Learning?

After completing a penetration test engagement - When encountering a novel attack technique or defense - After a tool produces unexpected results - When identifying recurring patterns across targets - User says "learn", "remember this", "pattern.

Waarom Continuous Learning gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Continuous Learning bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Continuous Learning in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/brucesongs/kali-claw/tree/main/skills/continuous-learning. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Continuous Learning gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Continuous Learning gebruiken?

Zoveel als je wilt. Je kunt Continuous Learning gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Continuous Learning gratis?

Ja. Deze skill is door brucesongs op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇