Skip to content
Productivity
Command

/clean

Tidy and sync — commit changed notes, clear processed Inbox (with approval), and push

From plugin
obsidian-knowledge-agent
20612 skills12 commands
Install
> /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.md
description: 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.

Ships withobsidian-knowledge-agent

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".

Get the whole plugin
Stats
206
Stars
12
Forks
Maintained
Maintenance
Python
Language
MIT
License
1mo ago
Last commit
2mo ago
Created

Repo: Michael-OvO/obsidian-knowledge-agent