lifelong-learning

Captures routing experiences and optimizes System 1 and System 2 thresholds via GRPO batch learning.

3|2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/Yoodaddy0311/artibot --skill lifelong-learning-yoodaddy0311
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lifelong-learning
Source: https://github.com/Yoodaddy0311/artibot/tree/main/plugins/artibot/skills/lifelong-learning
Command: npx skills add https://github.com/Yoodaddy0311/artibot --skill lifelong-learning-yoodaddy0311

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI routing systems make static decisions that never improve from past outcomes. This Skill closes the loop by recording every routing decision, batch-learning from outcomes with GRPO, and transferring validated patterns between fast (System 1) and deep (System 2) caches so routing accuracy improves over time. ## Core Features & Use Cases - Experience Collection: Records each routing decision with input, complexity score, outcome, latency, and confidence into a structured JSON log. - GRPO Batch Learning: Groups experiences by domain and complexity, compares System 1 vs System 2 success rates, and adjusts routing thresholds within a clamped [-0.1, 0.1] step. - Knowledge Transfer: Promotes patterns to System 1 after 3 consecutive System 2 successes and demotes them after 2 consecutive System 1 failures, with human checkpoints for review. - Use Case: After a week of sessions, run the learning cycle to discover that medium-complexity refactoring requests succeed more often in System 2, then automatically lower the routing threshold so future similar requests route correctly. ## Quick Start Ask the agent to run the lifelong learning cycle to batch-process this session's routing experiences and update the System 1 and System 2 caches.

Frequently Asked Questions about lifelong-learning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does GRPO batch learning improve routing decisions?▼

GRPO groups experiences by domain and complexity range, then compares System 1 versus System 2 success rates within each group. The routing threshold is adjusted by adaptRate multiplied by the relative advantage, clamped to [-0.1, 0.1] per batch.

How do I trigger the lifelong learning pipeline manually?▼

Use the /learn command to trigger the pipeline manually. It also activates automatically at session end via the nightly-learner hook, during pattern discovery in routing, or on knowledge transfer triggers.

When are patterns promoted from System 2 to System 1?▼

A pattern is promoted after 3 consecutive successes in System 2 with confidence consistently above 0.8. It is demoted back after 2 consecutive System 1 failures or when confidence drops below the minimum threshold.

Where does the learning pipeline store its data?▼

State is persisted under ~/.claude/artibot/, including daily-experiences.json, learning-log.json, system1-patterns.json, transfer-log.json, evaluations.json, and tool-history.json, plus patterns/ and memory/ directories.

When should I not use continuous learning for routing?▼

Skip it for one-off tasks or throwaway experiments where no routing pattern or user preference is worth persisting. It should also not trigger during active task execution, only at session end or on explicit learning triggers.