tidy

tidy is a command for Claude Code from sunub/obsidian-mcp-server. It costs 27 tokens per session (334 once invoked), scanned A, original, ISC.

A command that plans and applies cleanup changes to an Obsidian Vault after explicit approval. It can organize notes, suggest titles for untitled notes, and report what it changed or rejected.

In plain words
What is it for?
Use it to review and approve cleanup of the whole Vault or one top-level folder.
Why use it?
It prevents unapproved moves or deletions and keeps a run ID so an applied cleanup can be undone later.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the vault-tidy plugin — 1 skill, 4 commands, 1 hook, 1 MCP server shipped together

Good fit Use it to review and approve cleanup of the whole Vault or one top-level folder.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sunub/obsidian-mcp-server/tidy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/sunub/obsidian-mcp-server

Made for: Claude Code.

Or install vault-tidy, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tidy

README.md
[![agentmods](https://agentmods.dev/badge/commands/sunub/obsidian-mcp-server/tidy/github.svg)](https://agentmods.dev/commands/sunub/obsidian-mcp-server/tidy)
Your own site
<a href="https://agentmods.dev/commands/sunub/obsidian-mcp-server/tidy"><img src="https://agentmods.dev/badge/commands/sunub/obsidian-mcp-server/tidy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tidy

Your own site · 80×15
<a href="https://agentmods.dev/commands/sunub/obsidian-mcp-server/tidy"><img src="https://agentmods.dev/badge/commands/sunub/obsidian-mcp-server/tidy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 334 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00334
Opus 5.5 $0.00011 $0.00134
Sonnet 5.5 $0.00005 $0.00067
Haiku 4.5 $0.00003 $0.00033

Measured today against content hash 4380bee29f43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tidy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/commands/tidy.md · 24 lines

What it actually says

Vault 정리 시작

vault-tidy 스킬의 절차에 따라 Obsidian Vault 정리를 시작한다.

인자 처리

  • 전달된 인자: $ARGUMENTS
  • 인자가 비어 있으면 tidy_plan을 인자 없이 호출해 전체 Vault를 스캔한다.
  • 인자가 있으면 앞뒤 공백을 제거한 값을 최상위 폴더 이름(scope)으로 tidy_plan에 넘긴다.

실행 규칙

  1. tidy_plan 결과를 bulk / per_item / report 티어로 나누어 미리보기를 보여준다.
  2. needsTitle 무제 노트는 본문을 읽고 vault-tidy 스킬의 제목 규칙에 맞춰 제목을 제안한다.
  3. 사용자가 명시적으로 승인한 approvedOpIds와 renames만 plan_apply에 넘긴다. 승인하지 않은 항목은 절대 넘기지 않는다.
  4. 완료 후 rejected 사유와 runId를 출력하고, 되돌리려면 /vault-tidy:undo <runId>를 실행하라고 안내한다.
  5. Vault 파일을 mv, rm 같은 셸 명령으로 직접 옮기거나 삭제하지 않는다.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 24 lines · 27 tokens per session scan A 4380bee29f43

Subscribe to this mod's changes

tidy is a command published in the GitHub repository sunub/obsidian-mcp-server (2 stars, last pushed yesterday), licensed ISC. It adds 27 tokens to every session and 334 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.

Related

tidy compared with commands from other repositories

tidy next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tidysunub/obsidian-mcp-serverCommand2yesterdayISCA27Claude Code
cancel-ralphanthropics/claude-plugins-officialCommand48ktodayApache-2.0A4Claude Code
wsdanielmiessler/LifeOSCommand20k9d agoMITA0Claude Code
engage.actionshypnguyen1209/offensive-claudeCommand4301mo agoMITA11Claude Code
promote-lessonskumaran-is/claude-code-onboardingCommand37todayMITA25Claude Code
rao92265/claude-code-playbookCommand1311d agoMITA12Claude Code
focusData-Wise/claude-pluginsCommand79d agoMITA0Claude Code