learn-on
Enable continuous learning mode for automatic insight extraction
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Learn On
Enable continuous learning mode. When active, the router will periodically extract insights during the session.
What This Does
Activates continuous learning mode where:
- The router monitors query activity
- After a threshold (10 queries or 30 minutes), extraction is triggered automatically
- Insights are appended to the knowledge base without manual intervention
This is useful for long sessions where you want to capture insights as you go without remembering to run /learn manually.
Instructions
- Read
knowledge/state.json - Update the state:
{ "learning_mode": true, "learning_mode_since": "[current ISO timestamp]", "queries_since_extraction": 0 } - Write updated state back to
knowledge/state.json - Confirm to user
Output Format
Continuous Learning: ENABLED
────────────────────────────
Learning mode is now active.
Extraction will trigger automatically:
- Every 10 queries, or
- Every 30 minutes of activity
Insights will be saved to:
- knowledge/learnings/patterns.md
- knowledge/learnings/quirks.md
- knowledge/learnings/decisions.md
Use /learn-off to disable, or /learn for manual extraction.
Notes
- Learning mode persists across the session but resets on new sessions
- The router checks this state on each query and triggers extraction when thresholds are met
- You can still run
/learnmanually while continuous mode is active - Use
/knowledgeto see current learning status
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-28
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!