/clean
Tidy and sync — commit changed notes, clear processed Inbox (with approval), and push
> /plugin marketplace add Michael-OvO/obsidian-knowledge-agent > /plugin install obsidian-knowledge@obsidian-knowledge-agent
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/clean
Context preview
What this command does when you run it.
Tidy and sync — commit changed notes, clear processed Inbox (with approval), and push
Command definition
clean.mddescription: Tidy and sync — commit changed notes, clear processed Inbox (with approval), and push argument-hint: [optional: a commit message]
Tidy up and sync the vault to git. Respect every boundary — never touch `.obsidian/`, never delete without approval.
1. **Survey.** Run `git --no-pager status` and group the changes (new notes, edits, learned-state changes) into a short summary. 2. **Commit.** Stage and commit the note changes with `$ARGUMENTS` as the message, or a clear inferred one (e.g. `notes: add 3 ML notes, fix links`). Keep any pending learned-rule changes as a separate `chore(learn):` commit — see `/obsidian-knowledge:evolve`. 3. **Inbox.** If `Inbox/` still holds material that has already been processed, offer to clear it (move, archive, or delete) — only with my explicit approval. 4. **Push** if a remote exists and I haven't said otherwise. Report what was committed and pushed.
Talk to your vault. It does the rest. You drop it in. It files, it teaches, and it remembers how you like your notes. Point any agentic assistant at your Obsidian vault and talk to it — "save this link", "organize my inbox", "ingest the syllabus in Inbox".
Repo: Michael-OvO/obsidian-knowledge-agent
Other commands on obsidian-knowledge-agent.
- /capture
Quickly save something as a single clean note in the right place — a link, a thought, an article, a snippet
Open command - /doctor
Check vault health — broken links, orphans, missing frontmatter, MISSING placeholders — and propose fixes
Open command - /evolve
Review and approve the agent's proposed updates to its own learned rules
Open command - /help
Show everything the Obsidian Knowledge Agent can do, with every command and an example
Open command - /ingest
Turn material into notes at the right altitude — a quick capture, a small collection, or a full build
Open command - /log
Append a quick timestamped entry to today's daily log
Open command

