brainstorming-lore
Use only when designing or materially changing an artifact owned by the Lore system, or when the person says quiero hacer esto y…
Use when the kit's published surface must be reconciled against actual usage in the user's tree. Trigger on "stale-lore", "retira capacidades", "capacidades sin ejercicio", "purge unused skills", or after a major refactoring that renames or replaces published capabilities. Not
Claude Code
$ npx -y skills add andresanemic/lore-plugin --skill stale-lore --agent claude-code
Codex
$ npx skills add andresanemic/lore-plugin --skill stale-lore -a codex -y
Cursor
$ npx skills add andresanemic/lore-plugin --skill stale-lore -a cursor -y
Gemini CLI
$ npx skills add andresanemic/lore-plugin --skill stale-lore -a gemini-cli -y
GitHub Copilot
$ npx skills add andresanemic/lore-plugin --skill stale-lore -a github-copilot -y
OpenCode
$ npx skills add andresanemic/lore-plugin --skill stale-lore -a opencode -y
Windsurf
$ npx skills add andresanemic/lore-plugin --skill stale-lore -a windsurf -y
name: stale-lore description: >- Use when the kit's published surface must be reconciled against actual usage in the user's tree. Trigger on "stale-lore", "retira capacidades", "capacidades sin ejercicio", "purge unused skills", or after a major refactoring that renames or replaces published capabilities. Not yours: operating a project's criteria body belongs to transmute-lore; saving one lesson belongs to save-to-lore.
> Invoke with the Skill tool as `stale-lore`, or with the phrases «retira capacidades» / «capacidades sin ejercicio» when the published kit surface must be reconciled against actual usage.
The kit announces capabilities — eight skills, contracts, a `<!-- lore:always-on -->` block — and those promises accumulate. Some get exercised daily. Others were written for a problem that no longer exists, or were superseded by a better mechanism. A kit that promises everything and uses nothing is not a kit: it is a catalog nobody verified.
This skill reconciles promise against evidence. It derives the list of central capabilities from what the kit publishes, searches the user's tree for proof of exercise, marks each receipt with its `ejercido` state, and withdraws the ones that crossed the stale threshold — with a declarative trace so the withdrawal itself is auditable.
> **The withdrawal is declarative, not surgical.** It writes a changelog entry and marks the > receipt. It does not delete the skill from the kit, does not edit the user's `lore/`, and does not > touch any tree the user owns. If the user ignores the withdrawal, that is their jurisdiction.
> **The field `ejercido` lives in the kernel receipt, not in the skill.** This skill writes it as > an extension compatible with kernel 0.1.4. Kernel 0.1.5 will read it natively. The contract is > `{ ejercido: 'ejercido' | 'no-ejercido' | 'stale', ejercicio_en: ISO date }`.
> **Language rule:** write every output, index line and changelog entry in the language the target > uses (the kit is Spanish, so this skill's output is Spanish). The receipt field `ejercido` is > Spanish canonical — never rename it to English.
> **External artifacts:** before delivering a user artifact, replace every internal label with the > audience's language while preserving its meaning; the final changelog, report or document > contains zero internal labels.
A capability is central when the kit publishes it as a skill: `skills/<nombre>/SKILL.md`. The directory is the source — a skill that exists on disk is a published promise. The list is derived from the tree, never hardcoded: a new skill enters the list the day its `SKILL.md` lands, and no list has to be updated by hand.
The contract's `<!-- lore:always-on -->` block and the README announce the kit, but they do not define the capability list — they are the surface the list is reconciled *against*, not its source.
This skill does not trust autodeclaration: a skill that exists on disk but never left its artifact is a promise, not an exercise.
A capability is exercised when it leaves **the artifact it produces** in the user's tree. A mention is not an artifact. A name that appears in active documentation, in a `FASES.md` line, or in the capability's own `SKILL.md` proves nothing about use — the kit's own README names all nine skills and exercises none of them. Reading a name is not running a capability.
| Capability | The artifact that proves it was exercised | |---|---| | `save-to-lore` | a Pista (`**Pista**`) in `lore/` | | `use-lore` | the `<!-- lore:always-on -->` block in a contract | | `transmute-lore` | a crystallization in `cristalizaciones/`, or a `.lore-mycelium` marker | | `brainstorming-lore` | an agreement in `specs/` | | `create-area` | a tree with `lore/` and `proyectos/` | | `create-bot` | a tree with `canon/`, `lore/` and `CLAUDE.md` | | `vespi` | a receipt in `.lore/receipts/` or a `recibo` in `operations/` | | `create-project` | **no detector declared** | | `stale-lore` | **no detector declared** — it measures; it is not measured |
**A capability without a declared detector is never declared `stale`.** This skill does not assert what it did not measure. Reporting `sinDetector` is a result, not a gap: it says «the kit has not decided what artifact this capability leaves», which is a decision for the kit's owner, not a verdict from this skill.
**A `FASES.md` mention is not exercise.** It is the exact false green this skill exists to avoid: a tree can name every capability in its state file and have exercised none.
The kernel receipt carries a field named `ejercido` with three possible values:
| Value | Meaning | |---|---| | `ejercido` | Receipt exists and is within the threshold | | `no-ejercido` | Receipt exists but the capability was declared unused by a human decision | | `stale` | No receipt within the threshold, or no receipt at all |
This skill writes the field with `marcaEjercido(recibo, estado)`. It returns a **copy** of the receipt — never mutates the original. Kernel 0.1.5 will read this field natively; in 0.1.4 it travels as a compatible extension.
The default threshold is **7 days** (`STALE_POR_DEFECTO_DIAS`). Configurable per invocation.
Run `leeCapacidadesCentrales(raiz)` against the kit root. This reads `skills/<nombre>/SKILL.md` and returns a sorted list. If the tree has no `skills/`, the list is empty — no capability is invented.
For each capability, run `buscaRastroCapacidad(capacidad, raiz, { ahora })`. This runs the capability's detector against the user's tree and returns `{ encontrado, ultimoUso, fuentes, sinDetector }`. A capability with `encontrado: false` and `sinDetector: false` was **never exercised**; one with `sinDetector: true` has no detector and is not evaluated.
Stop explaining your project to the AI every morning. With your approval, Lore turns lessons into project criteria the AI can use next time. Provider-neutral and local-first.
Use only when designing or materially changing an artifact owned by the Lore system, or when the person says quiero hacer esto y…
Use when starting a brand-new WORK AREA that groups several projects of the same kind (web, research, blog, video, apps…) —…
Use when building a BOT, federating existing Areas under one bot, or auditing a bot that already exists (its scope, README or…
Use when starting a brand-new PROJECT inside an existing WORK AREA (created with create-area) — before it has its own…
Use when saving a lesson to the Lore after a worthwhile fix, distilling an external body of criteria, or reviewing loose notes.…
Use when a project's existing criteria must be operated as a whole, or when criteria are scattered, duplicated, in mixed…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.