reorganize

reorganize is a skill for Claude Code, Codex from onebrain-ai/onebrain. It costs 73 tokens per session (2,571 once invoked), scanned A, original, Apache-2.0.

A vault-restructuring tool that migrates an older five-folder layout to eight folders or organizes flat notes into subfolders.

In plain words
What is it for?
Use it for a full vault-layout migration or for grouping flat notes into appropriately named subfolders.
Why use it?
It provides a defined way to change the vault's structure while preserving its contents and keeping Obsidian links working.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present.

Part of the onebrain plugin — 32 skills, 5 agents, 2 hooks shipped together

Good fit Use it for a full vault-layout migration or for grouping flat notes into appropriately named subfolders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onebrain-ai/onebrain/reorganize
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 onebrain-ai/onebrain --skill reorganize
Clone the repo
git clone --depth 1 https://github.com/onebrain-ai/onebrain

Made for: Claude Code, Codex.

Or install onebrain, the plugin that ships this one along with the rest of its 32 skills, 5 agents, 2 hooks.

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 reorganize

README.md
[![agentmods](https://agentmods.dev/badge/skills/onebrain-ai/onebrain/reorganize.svg)](https://agentmods.dev/skills/onebrain-ai/onebrain/reorganize)
Your own site
<a href="https://agentmods.dev/skills/onebrain-ai/onebrain/reorganize"><img src="https://agentmods.dev/badge/skills/onebrain-ai/onebrain/reorganize.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,571 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00073 $0.02571
Opus 5 $0.00036 $0.01286
Sonnet 5 $0.00015 $0.00514
Haiku 4.5 $0.00007 $0.00257

Measured 8d ago against content hash 093ae5b6ca14, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

reorganize 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 8d ago.

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.

.claude/plugins/onebrain/skills/reorganize/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reorganize Vault

This skill handles two scenarios:

  • Legacy migration (old 5-folder → new 8-folder structure): adds 02-areas/, 04-resources/, 05-agent/, renumbers archive/logs. Run this if your vault was set up before the 8-folder layout.
  • Subfolder migration (original purpose, unchanged): moves flat notes into kebab-case subfolders within their existing folders.

Before You Begin

Check vault version: Read onebrain.yml. If the folders.areas key is absent, this vault uses the old structure and needs full migration : run the Full Migration section first. If folders.areas is present, skip to the Subfolder Migration section.

Important: Obsidian wikilinks ([[Note Name]]) resolve by filename regardless of path : moving files does NOT break any existing links in your vault.


Full Migration (5-folder → 8-folder)

Only run if onebrain.yml is missing folders.areas.

  1. Create new folders: 02-areas/, 04-resources/, 05-agent/memory/
  2. Rename 03-archive/06-archive/: move all contents preserving YYYY/MM/ structure
  3. Rename 04-logs/07-logs/: move all contents preserving YYYY/MM/ structure
  4. Classify existing 02-knowledge/ notes:
    • If tags include research, summary, or reference in frontmatter → move to 04-resources/[same subfolder]
    • If frontmatter has a source: field matching /research, /summarize, or /reading-notes → move to 04-resources/[same subfolder]
    • Otherwise → keep in 03-knowledge/ (treat as synthesized content)
    • Notes that cannot be automatically classified → list them and ask the user before moving
  5. Verify 05-agent/MEMORY-INDEX.md exists; if not, create an empty MEMORY-INDEX.md with the standard frontmatter (total_active: 0, total_needs_review: 0, updated: YYYY-MM-DD)
  6. Update onebrain.yml with all 8 keys:
    folders:
      inbox: 00-inbox
      projects: 01-projects
      areas: 02-areas
      knowledge: 03-knowledge
      resources: 04-resources
      agent: 05-agent
      archive: 06-archive
      logs: 07-logs
    
  7. Report: files moved to 04-resources/, files kept in 03-knowledge/, files needing manual review

Read the full file on GitHub · 238 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 238 lines · 73 tokens per session scan A 093ae5b6ca14

Subscribe to this mod's changes

reorganize is a skill published in the GitHub repository onebrain-ai/onebrain (26 stars, last pushed 10d ago), licensed Apache-2.0. It adds 73 tokens to every session and 2,571 once invoked, about $0.0004 per session on Opus 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-08-30.

Related

Other skills, from other repositories

priority-dashboard

Use this to rebuild, inspect, or temporarily steer {{username}}'s current PersonalOS priority dashboard from canonical Actions, Attention Triggers, and owner context. Do NOT use it to create, complete, or independently manage tasks; use task-manager for Action and Trigger lifecycle changes.

vincentmumme/personalos-boilerplate · 60 tokens

wrap-session-up

End-of-session review for a Claude Code conversation. Replays what was discussed, checks for open action items, documents relevant outcomes in the brain vault, and creates Todoist tasks for anything untracked. Use at the end of a work session to ensure nothing falls through the cracks.

michaeljauk/brain-starter · 60 tokens

task-manager

Use this when {{username}} or an agent wants to add, review, prioritize, complete, defer, park, or inspect todos, open loops, confirmed actions, waiting states, or attention triggers. Maintains atomic records under operations/actions/ and operations/attention-triggers/ as the only local action truth. Do NOT use for…

vincentmumme/personalos-boilerplate · 90 tokens

gws-obsidian-prep

Cross-skill recipe: fetch today's (or tomorrow's) Google Calendar events via gws CLI and create meeting prep notes in the Obsidian vault.

michaeljauk/brain-starter · 0 tokens

resume

A workflow for reopening a paused task by scanning its saved project notes, blockers, logs, and delegated work. It presents the parked tasks so the user can choose which one to continue.

dzhokhov/markdown-agent-vault-ru · 204 tokens

vault-onboarding-guide

An interactive guide for learning a file-based knowledge store with an agent. It teaches how to organize incoming material, projects, plans, tasks, logs, parked work, and resumed work.

dzhokhov/markdown-agent-vault-ru · 187 tokens