Назад към всички

learn-on

// Enable continuous learning mode for automatic insight extraction

$ git log --oneline --stat
stars:194
forks:37
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namelearn-on
descriptionEnable continuous learning mode for automatic insight extraction
user_invokabletrue

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

  1. Read knowledge/state.json
  2. Update the state:
    {
      "learning_mode": true,
      "learning_mode_since": "[current ISO timestamp]",
      "queries_since_extraction": 0
    }
    
  3. Write updated state back to knowledge/state.json
  4. 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 /learn manually while continuous mode is active
  • Use /knowledge to see current learning status