distill

Solid

Synthesize wiki pages from related memories. One endpoint, one flow: daemon clusters and synthesizes what it can; agent finishes whatever the daemon couldn't (no LLM or cluster too big). Invoked as `/distill [target]`.

AI & Automation 47 stars 5 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /distill Force a distillation pass now. The daemon's background distill cycles run on its own clock; `/distill` is the explicit user-triggered pass. ## Mental model Distillation is four operations bundled into one flow: - **emerge** — cluster new memories into new pages - **absorb** — assign orphan memories to existing pages, propose new pages from topics that 2+ existing pages link to but no page is named for - **refresh** — regenerate stale pages from their source memories (only when the user has not edited the page; pages you have touched stay locked) - **merge** — combine duplicate pages flagged by the daemon's global review The default flow runs all four. The `rebuild` verb is a destructive opt-in that overrides the lock on a single page. ## Single flow One POST to the daemon. Response splits into: - `pages_created` / `created_ids`: pages the daemon synthesized itself (only when daemon has an LLM). - `pending`: clusters the daemon couldn't finish. The agent synthesizes each in this session and POSTs them back to `/api/pages`. Trigger timing is the only thing that differs between background distill cycles and this skill. Code path is the same; daemon hands back clusters when it can't synthesize; whoever called fills in the rest. ## Argument parsing The `/distill` skill accepts one optional inline token of the form `space:<name>` anywhere in the argument string. Extract it before treating the rest as the target: raw_args="<the full argument string...

Details

Author
7xuanlu
Repository
7xuanlu/wenlan
Created
3 months ago
Last Updated
today
Language
Rust
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category