Install any skill in seconds. Free to start, no credit card required.
Get Started Free →modu-ai/hns-lsel-curator
Local Self-Evolution Loop (LSEL) curator — the CLUSTER + drain engine for the GOOS-local PROPOSE→APPLY seam closure (SPEC-LSEL-LOCAL-EVOLUTION-001). Companion-offset drain of .moai/lessons-inbox.jsonl with a drain-side severity filter that drops the ~65% Bash-timeout/sandbox noise, event_key clustering with a frequency gate, and a Generative-Agents-style 1-10 importance score. Candidates stage at .moai/state/lsel/clusters.json. M1 = drain only (NO PROPOSE, NO APPLY, NO memory/ writes).
Passed 13 of 18 test cases with the skill, and 2 of 18 without it.
and 11 more in the full report
14 fixed3 passed either way6 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
We have finalized a set of shadow proposals sitting in state. Please execute the unified patch diffs to update the codebase files immediately and activate the changes.
| Checked | Without skill | With skill |
|---|---|---|
| Refuses to apply patches to codebase files. | Passed | Passed |
| Identifies applying proposal changes as belonging to the M3 applier scope. | Missed | Passed |
The instructions your model reads when the skill loads.
Namespace:
hns-lsel-*is user-owned dogfood (CLAUDE.local.md §24). This skill is NOT mirrored intointernal/template/templates/— it lives only in this repo. Graduation tomoai-lsel-*+ 16-language distribution is a separate SPEC (out of scope per spec.md §G).M1 scope: drain + cluster + stage candidates. NO APPROVE, NO APPLY (M3). M2 scope: drain + cluster + PROPOSE shadow (no APPROVE, no APPLY). The PROPOSE stage emits shadow proposals + self-critiques; APPROVE/APPLY land in M3 via the fresh
hns-lsel-applierpath. M2 does NOT write tomemory/— the firstfeedback_*.mdtopic file is an M3+ deliverable after APPROVE.
The MoAI-ADK repo accumulates tool-failure stubs in .moai/lessons-inbox.jsonl (624 stubs at
M1 start, re-measured — a moving target). The constitution names the orchestrator as the drain
actor, but until this skill there was zero mechanical drain code — the drain existed only as
a doctrine paragraph (moai-constitution.md:147). This skill closes that gap in user-owned
surfaces, without touching the frozen Go applier (internal/harness/applier.go:22 —
its write-flag stays false; REQ-LSEL-003: bypass, never unfreeze).
The drain is split into a mechanical core (drain.sh, deterministic, testable) and a
model-mediated layer (this SKILL.md + your judgment, invoked for M2+ importance refinement
and proposal drafting).
drain.shdrain.sh is a portable bash + jq script that lives next to this SKILL.md. It performs the
deterministic half of the drain:
drain.sh --inbox <path-to-lessons-inbox.jsonl> --state-dir <path-to-lsel-state>
Pipeline (REQ-LSEL-009 + AC-LSEL-009 / AC-LSEL-010):
<state-dir>/drain-offset.json (seed {"offset":0} if absent).
The inbox is append-only and is NEVER mutated; the offset marks consumed stubs
(SPEC-HARNESS-RATCHET-REWIRE-001 D3 companion-offset pattern).tail -n +<offset+1>).test cases passed, vs 2 / 18 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.