Articles · AI agent deep dives
Let the agent reorganize your messy vault
200 messy notes in Inbox? One prompt to classify, rename, and add frontmatter.
Kition Team·Feb 4, 2026·1 min read
A prompt template
Read Inbox/. Group files by topic (max 6 groups).
For each file:
- add YAML frontmatter with: title, topic, created_date
- rename file as <topic>/<kebab-case-title>.md
- keep original content unchanged
Run as a plan: propose first, ask before moving anything.Why this works
- It uses filesystem tools to read all files; the LLM derives topics
- Plan mode lets you intervene: "no, merge topic 3 and 4"
- All renames / moves are patches — one click to revert
Related reading
AI agent deep dives
Plan mode: letting the agent decompose hard tasks
update_plan makes the agent break a big goal into 5-10 actionable steps; you can interrupt and rewrite any step.
AI agent deep dives
The complete agent toolset, organized
A cheat-sheet of six tool families with common usage — perfect for copy-pasting into agent system prompts.
