vault-tidy

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

A cleanup workflow for an Obsidian vault, which is a folder of linked notes managed by the Obsidian app. It finds items such as duplicate notes, attachments, empty folders, and untitled notes, then prepares proposed changes for approval.

In plain words
What is it for?
Use it to organize vault files, suggest titles for untitled notes, remove empty folders, and review or undo cleanup changes.
Why use it?
It reduces clutter while protecting links between notes. Changes are previewed and only approved items are applied, with an option to undo a completed run.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to organize vault files, suggest titles for untitled notes, remove empty folders, and review or undo cleanup changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sunub/obsidian-mcp-server/vault-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.

Any agent
npx skills add sunub/obsidian-mcp-server --skill vault-tidy
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 vault-tidy

README.md
[![agentmods](https://agentmods.dev/badge/skills/sunub/obsidian-mcp-server/vault-tidy/github.svg)](https://agentmods.dev/skills/sunub/obsidian-mcp-server/vault-tidy)
Your own site
<a href="https://agentmods.dev/skills/sunub/obsidian-mcp-server/vault-tidy"><img src="https://agentmods.dev/badge/skills/sunub/obsidian-mcp-server/vault-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 vault-tidy

Your own site · 80×15
<a href="https://agentmods.dev/skills/sunub/obsidian-mcp-server/vault-tidy"><img src="https://agentmods.dev/badge/skills/sunub/obsidian-mcp-server/vault-tidy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 618 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.00081 $0.00618
Opus 5.5 $0.00032 $0.00247
Sonnet 5.5 $0.00016 $0.00124
Haiku 4.5 $0.00008 $0.00062

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

Security

Grade A, and why

vault-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/skills/vault-tidy/SKILL.md · 32 lines

What it actually says

Vault 정리

링크를 지키며 Vault를 정리한다. 파일은 tidy_plan, plan_apply, plan_undo로만 바꾼다.

절차

  1. 계획 만들기. 사용자가 범위를 말하지 않았으면 인자 없이 tidy_plan을 부른다. 특정 폴더를 말했으면 그 폴더 이름을 scope로 넘긴다.

  2. 미리보기를 단계별로 보여준다.

    • bulk: 요약 표(종류별 건수와 예시 5개)로 보여주고 한 번에 승인받는다.
    • per_item: 항목마다 번호를 붙인 표로 보여주고, 사용자가 번호로 고르게 한다.
    • report: "직접 확인이 필요한 항목"으로 보여준다. 실행하지 않는다.
  3. 무제 노트 제목 짓기. needsTitle 항목은 노트를 읽고 제목을 제안해 per_item 표에 함께 넣는다.

    • 본문의 핵심 주제를 담은 명사구
    • 30자 이내
    • 같은 폴더의 기존 파일명과 겹치지 않게
    • 날짜만으로 짓지 않는다
  4. 승인한 것만 실행한다. 사용자가 승인한 id와 제목만 plan_apply에 넘긴다. 제목은 renames({ path, title })로 넘긴다. 승인하지 않은 항목은 절대 넘기지 않는다. 서버가 확인 대화창으로 한 번 더 묻는다. 결과에 cancelled가 있으면 아무것도 바뀌지 않은 것이다. 사용자가 다시 요청하기 전에는 재시도하지 않는다.

  5. 결과를 알린다. rejected가 있으면 사유와 함께 보여준다. 마지막에 runId를 알리고 "되돌리려면 말씀하세요"라고 말한다.

  6. 되돌리기. 사용자가 되돌리길 원하면 plan_undo를 runId와 함께 부르고, conflicts가 있으면 보여준다.

  7. 셸 명령 금지. Vault 파일을 mv, rm 같은 셸 명령으로 옮기거나 지우지 않는다. 링크가 깨진다. 이 플러그인의 Hook도 그런 명령을 막는다.

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 Changed 1010e60e32f4
  2. 8d ago First seen · 32 lines · 81 tokens per session scan A faf9a23bcc70

Subscribe to this mod's changes

vault-tidy is a skill published in the GitHub repository sunub/obsidian-mcp-server (2 stars, last pushed yesterday), licensed ISC. It adds 81 tokens to every session and 618 once invoked, about $0.0003 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-20.

Related

vault-tidy compared with skills from other repositories

vault-tidy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vault-tidysunub/obsidian-mcp-serverSkill2yesterdayISCA81Claude Code
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
gogopenclaw/openclawSkill395ktodayMITA20Claude Code, Codex
feishudeepseek-ai/deepseek-harnessSkill288k6d agoMITA90Claude Code, Codex
wecomdeepseek-ai/deepseek-harnessSkill288k6d agoMITA90Claude Code, Codex
boxNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k6d agoMITA33Claude Code, Codex