learn-on
Enable continuous learning mode for automatic insight extraction
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-28
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!