# Learning

Toggle or check the status of Lilac's optional learning hook, which records task details locally when enabled.

**Canonical URL:** https://skillshunter.net/skills/discovered-ea91e163871f072ed81cae2c4b921201826f612dc12e0064

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-ea91e163871f072ed81cae2c4b921201826f612dc12e0064

**Markdown URL:** https://skillshunter.net/skills/discovered-ea91e163871f072ed81cae2c4b921201826f612dc12e0064.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-ea91e163871f072ed81cae2c4b921201826f612dc12e0064/download

**Category:** Software & Development

**Source URL:** https://github.com/DevPatel128/lilac-plugin/blob/7e77aadbd31442412fba6856e43e4a2d8b781a6d/skills/learning/SKILL.md

**Source commit:** 7e77aadbd31442412fba6856e43e4a2d8b781a6d

**Listing approved at:** 2026-11-30

**Created at:** 2026-11-28T18:58:10.000000Z

**Updated at:** 2026-11-30T06:51:10.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Ensure the user explicitly types `on` to activate learning, as it records data locally in `~/.lilac/agents/<name>/learned/`. Delete all data with `rm -r ~/.lilac` if needed.

### When to use it

- Check the current status of the learning hook
- Enable the learning hook to record task details locally
- Disable the learning hook to prevent data recording

## Skill instructions

---
name: learning
description: Show, turn on or turn off Lilac's optional learning hook. Off by default. Usage /lilac:learning status|on|off
disable-model-invocation: true
argument-hint: "status | on | off"
---
# Lilac learning switch

The argument must be exactly `status`, `on` or `off`. If it is anything else, or empty, use `status`.

Run: `node "${CLAUDE_PLUGIN_ROOT}/learning/config.mjs" $ARGUMENTS`

Then explain in one or two lines. When on: Lilac records only the task text (first 200 characters), the outcome, the failed check names and a rework count, with secrets and emails removed, in `~/.lilac/agents/<name>/learned/` on this computer. Nothing is sent anywhere. When off: nothing is recorded. Never turn it on unless the user typed `on`. Delete all data: `rm -r ~/.lilac`.

Approvals are self-attested. An approval file proves a human-looking approval exists, it cannot prove a human wrote it. The control is that the agent instructions forbid writing approvals and promotion needs the owner to run `learning/promote.mjs` themselves. Never write an approval file, and never run promote, for the user.

