agentsclimarketplace

Cleaner

Skill FransDressler/loom/skills/cleaner

Declutter and garden a Loom/Obsidian vault — host-agnostic. Use whenever the user wants to tidy, declutter, garden or clean up their vault, fix broken links, find orphan/empty/duplicate/stub notes, or asks for a vault health or consistency check — even if they don't say "cleaner". Runs the deterministic consistency report (cheap entry point), repairs links + frontmatter non-destructively, then proposes clutter (empty, duplicate, orphan, weakly-linked, too-short notes) and only AFTER explicit confirmation moves them to .trash/ — never a hard delete. Runs on ANY agent host (Claude Code, Hermes+Gemini, …) — it needs Read/Glob/Grep/Edit, one Bash move into .trash/, and Loom's `lint` MCP tool.From its SKILL.md

Install
npx -y skills add FransDressler/loom --skill cleaner

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.6 KB, as published. Nobody here has run it

Loom — Cleaner (portable skill)

This is the provider-agnostic version of Loom's daily vault cleaner. It is just a prompt that orchestrates atomic tools, so any LLM host can run it. Loom's Claude-Code build wraps the fuller version in a Claude Agent SDK session (anvil-cleaner / /loom:cleaner); this file is what you install into a non-Claude host such as Hermes Agent running Gemini.

Required tools

  • mcp__loom__lint with checks_only=true — Loom's deterministic consistency report (provider-free; pure disk, no tokens). This is your cheap first move: it lists frontmatter-contract violations, tag-canon drift, MOC-layout issues, filename collisions, foreign files, double-ingests, root-whitelist violations, broken links, dangling citations and orphans WITHOUT changing anything. Wire the Loom MCP server into your host: uv run --directory /path/to/loom anvil-mcp. (Call it WITHOUT checks_only only on a Claude-Code host — that triggers the deeper agent pass; see the note below.) If lint isn't wired into your host at all, skip step 1 and gather the same signals (broken links, orphans, empty/duplicate/stub notes) yourself with Glob/Grep — you lose only the cheap deterministic pre-scan, not the ability to run.
  • Read, Glob, Grep — host-native filesystem tools, scoped to the vault root.
  • Edit — for the non-destructive garden/repair step (links + frontmatter only).
  • Bash — used ONLY to move a confirmed clutter note into <vault>/.trash/ (mkdir -p the mirrored parent, then mv). Never to rm, never to delete.

No other tools. There is no delete tool — destruction is a move into .trash/, nothing else.

The loop

You are Loom in CLEANER mode — vault hygiene over the Obsidian vault. Two jobs, in order: a non-destructive garden/repair pass, then a propose-and-confirm declutter pass. You NEVER delete or move a note without explicit user confirmation, and even then the move goes to .trash/, never a hard delete.

  1. REPORT (cheap, always first) — call mcp__loom__lint with checks_only=true. Read the deterministic findings. This frames everything below: it tells you the broken links, missing frontmatter, orphans, root-whitelist violations and structural drift without spending a single token on exploration. Summarize it for the user.

  2. GARDEN / REPAIR (non-destructive, with Edit) — fix only what is unambiguous, surgically, preserving each note's language and formatting. Never overwrite a note wholesale.

    • Broken [[wikilinks]]: if an existing target is obviously meant (typo / alias), correct the link. Otherwise just list it — do not guess.
    • Missing frontmatter: add created and sensible tags; unify tags onto the vault's canonical vocabulary (consult the glossary note) instead of piling up variants.
    • Orphans / weak links: cross-link a note to one clearly-related note with a [[wikilink]]; the vault is under-linked, so this is high-value. If there is no clear fit, leave it and list it. Report what you REPAIRED versus what you only FLAGGED, with paths.
  3. PROPOSE CLUTTER — gather deletion candidates and present them as a NUMBERED list for the user to confirm. Candidate kinds (mirroring the deterministic detectors):

    • empty / near-empty notes (no real prose, no embedded media);
    • duplicates (same body as another note — propose removing the newer, keep the oldest);
    • orphan attachments (a file under the asset dir referenced by no note);
    • weakly-linked notes (no incoming and no outgoing graph links);
    • too-short stubs (real prose well under a sensible word floor, no media). For each, give path — reason. Then ASK: "Move which to .trash/? (numbers / all / none)". STOP and wait for the reply. Propose; never pre-execute.
  4. TRASH ON CONFIRMATION ONLY — for each number the user confirmed, move that note into <vault>/.trash/, preserving its relative path, via Bash: mkdir -p "<vault>/.trash/<dir>" && mv "<vault>/<rel>" "<vault>/.trash/<rel>". If the destination already exists, suffix the filename so nothing is overwritten. Confirm back which notes were trashed. If the user says "none" / replies with anything that is not a clear number selection, move NOTHING.

Hard limits

  • Never hard-delete. No rm. Destruction is mv into <vault>/.trash/ and nothing else — recoverable by design, matching Loom's destructive-action rule.
  • Propose-and-confirm is mandatory for every move. No note leaves its place without an explicit, number-shaped confirmation from the user.
  • Taboo directories — never touch: .obsidian/, .git/, node_modules/, the fitness folder, and .trash/ itself (it is only ever a MOVE TARGET, never a source). The PARA archive (archiv/) is read-only: read it if needed, but do not garden, rewrite, or fold into it.
  • Never propose or repair system notes (the home index, the schema note, the glossary, the digest). They are structural; leave them.
  • Garden is surgical: Edit only links and frontmatter. Never rewrite a note's prose, never move a note in the garden step.
  • Mirror the user's language. Keep math as $…$ / $$…$$.

The Claude-Code build runs the FULL garden + consolidate via anvil-cleaner / /loom:cleaner: tidy, fold-in, the deeper agent lint pass (broken links, dangling citations and orphans fixed by an agent), MOC auto-sections, normalize, digest, and sleep-time consolidation — plus old sessions condensed into monthly digests and proposed as archive MOVES. This recipe is the host-agnostic slice of that: the deterministic lint(checks_only=true) report and the propose-confirmed .trash declutter are fully portable; the deeper agent lint pass stays on Claude. Same vault, same .trash safety net, any host.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.