obsidian-mind: Command for Claude Code

.claude/commands/om-project-archive.md

om-project-archive is a command for Claude Code from breferrari/obsidian-mind. It costs 0 tokens per session (430 once invoked), scanned A, original, MIT.

A project-archiving command for moving completed notes from an active-work folder into a year-based archive while updating project indexes.

In plain words
What is it for?
Use it to archive completed projects, update their status and dates, preserve grouped workstreams, and record them in indexes and achievement notes.
Why use it?
It removes the manual work of moving project files and keeping related lists and links up to date.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is breferrari/obsidian-mind's own configuration. It tells Claude Code how to work on obsidian-mind itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything obsidian-mind configures →

Part of the obsidian plugin — 8 skills, 20 commands, 10 agents, 5 hooks, 1 MCP server shipped together

About the project

Obsidian Mind is an Obsidian vault that stores notes, links, indexes, and other accumulated context so AI coding agents can retain memory across sessions. It is designed for Claude Code and also supports Codex CLI and Gemini CLI through shared hooks, commands, and vault data. Its catalogue add-ons package the vault’s commands, agents, skills, hooks, instructions, settings, plugin, and MCP integration.

breferrari/obsidian-mind · 4,615 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to breferrari/obsidian-mind. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/breferrari/obsidian-mind/main/.claude/commands/om-project-archive.md
Clone the repo
git clone --depth 1 https://github.com/breferrari/obsidian-mind

Made for: Claude Code.

Or install obsidian, the plugin that ships this one along with the rest of its 8 skills, 20 commands, 10 agents, 5 hooks, 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 om-project-archive

README.md
[![agentmods](https://agentmods.dev/badge/commands/breferrari/obsidian-mind/om-project-archive/github.svg)](https://agentmods.dev/commands/breferrari/obsidian-mind/om-project-archive)
Your own site
<a href="https://agentmods.dev/commands/breferrari/obsidian-mind/om-project-archive"><img src="https://agentmods.dev/badge/commands/breferrari/obsidian-mind/om-project-archive/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 om-project-archive

Your own site · 80×15
<a href="https://agentmods.dev/commands/breferrari/obsidian-mind/om-project-archive"><img src="https://agentmods.dev/badge/commands/breferrari/obsidian-mind/om-project-archive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 430 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.00000 $0.00430
Opus 5 $0.00000 $0.00215
Sonnet 5 $0.00000 $0.00086
Haiku 4.5 $0.00000 $0.00043

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

Security

Grade A, and why

om-project-archive 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 9d 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/commands/om-project-archive.md · 56 lines

What it actually says

Project Archive

Move a completed project from work/active/ to work/archive/YYYY/ and update all indexes.

Usage

/om-project-archive <project name>

Workflow

1. Find the Note

Search work/active/ for the project name. Confirm with the user before proceeding.

2. Update Frontmatter

  • Set status: completed
  • Verify quarter property is set correctly
  • Verify description reflects the final state

3. Move the File

git mv "work/active/<Note>.md" "work/archive/YYYY/"

Use the year from the note's date field.

Clustered workstreams: when the project lives in a topic folder (work/active/<Topic>/ — the grouping convention for >1-note workstreams), move the WHOLE folder and keep the grouping:

git mv "work/active/<Topic>" "work/archive/YYYY/<Topic>"

Every note inside keeps its cluster context, and wikilinks resolve by basename so nothing breaks.

4. Update Indexes

  • work/Index.md: Move from Active Projects to the appropriate Completed quarter section
  • brain/North Star.md: Mark as completed in Current Focus if listed there
  • perf/Brag Doc.md: Verify the project is captured in the relevant quarter's highlights
  • brain/Memories.md: Update Recent Context if the project is mentioned as "in progress"

5. Verify

  • Run a quick check that no wikilinks are broken (Obsidian resolves by name, so moves shouldn't break links)
  • Confirm the Work Dashboard Base shows the note in "Completed" view, not "Active Work"

Important

  • Always use git mv — never copy+delete
  • Don't archive without user confirmation
  • If the project has sub-notes (like incidents have RCA + deep dive), ask if those should move too
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. 9d ago First seen · 56 lines · 0 tokens per session scan A 8f0b082db4ec

Subscribe to this mod's changes

om-project-archive is a command published in the GitHub repository breferrari/obsidian-mind (4,615 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 430 tokens. 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.