obsidian-decide

obsidian-decide is a command for Claude Code from eugeniughelbur/obsidian-second-brain. It costs 20 tokens per session (1,108 once invoked), scanned A, original, MIT.

A command for recording decisions in Obsidian, a note-taking application. It can make a short dated note or a formal Architecture Decision Record, a document explaining an important technical choice.

In plain words
What is it for?
It helps capture routine choices in project notes and document larger decisions—such as reorganising folders, adopting a convention, or choosing a technology—with their context, options, reasons, and consequences.
Why use it?
It prevents decisions made during a conversation from being forgotten or scattered across notes.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the obsidian-second-brain plugin — 1 skill, 47 commands, 3 hooks shipped together

Good fit It helps capture routine choices in project notes and document larger decisions—such as reorganising folders, adopting a convention, or choosing a technology—with their context, options, reasons, and consequences.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/eugeniughelbur/obsidian-second-brain/obsidian-decide
About the project

obsidian-second-brain turns an Obsidian vault into persistent, searchable memory for Claude Code and other command-line coding agents, storing knowledge as linked Markdown notes. It is for developers, founders, writers, and researchers who want agents to retain project context across sessions. Its catalogue entries provide commands, hooks, a plugin, a skill, and instructions for capturing, finding, and maintaining that memory.

eugeniughelbur/obsidian-second-brain · 4,376 stars · on GitHub · eugeniughelbur.github.io

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/eugeniughelbur/obsidian-second-brain

Made for: Claude Code.

Or install obsidian-second-brain, the plugin that ships this one along with the rest of its 1 skill, 47 commands, 3 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 obsidian-decide

README.md
[![agentmods](https://agentmods.dev/badge/commands/eugeniughelbur/obsidian-second-brain/obsidian-decide/github.svg)](https://agentmods.dev/commands/eugeniughelbur/obsidian-second-brain/obsidian-decide)
Your own site
<a href="https://agentmods.dev/commands/eugeniughelbur/obsidian-second-brain/obsidian-decide"><img src="https://agentmods.dev/badge/commands/eugeniughelbur/obsidian-second-brain/obsidian-decide/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 obsidian-decide

Your own site · 80×15
<a href="https://agentmods.dev/commands/eugeniughelbur/obsidian-second-brain/obsidian-decide"><img src="https://agentmods.dev/badge/commands/eugeniughelbur/obsidian-second-brain/obsidian-decide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,108 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.00020 $0.01108
Opus 5 $0.00010 $0.00554
Sonnet 5 $0.00004 $0.00222
Haiku 4.5 $0.00002 $0.00111

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

Security

Grade A, and why

obsidian-decide 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 10d 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.

commands/obsidian-decide.md · 47 lines

How it starts

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

Use the obsidian-second-brain skill. Execute /obsidian-decide $ARGUMENTS:

Two depths, one command. The optional argument narrows focus to a topic. Add --formal (or lead with adr) to write a full Architecture Decision Record instead of a one-line log entry.

  • Default (lightweight): capture decisions from the conversation as dated one-liners in the relevant project notes. Use for the steady stream of choices made while working.
  • --formal (ADR): write one structured decision record with context, options, rationale, and consequences. Use for a structural or directional decision worth a full writeup (a folder reorg, a convention adopted, an idea graduated, a stack choice).
  1. Read _CLAUDE.md first if it exists in the vault root.

Lightweight mode (default)

  1. Scan the conversation for decisions made - conclusions, choices, commitments, direction changes. If a topic argument is given, focus there.
  2. Find the relevant project note(s) - search the vault if needed.
  3. Append each decision to the project note's ## Key Decisions section with today's date.
  4. Log a summary in today's daily note. If a decision affects multiple projects, log it in all of them.

Formal mode (--formal)

  1. Identify the structural decision - from the argument or recent conversation (a project graduated, a folder reorganized, a convention adopted, a concept promoted to hub). To surface decisions already made in code but never recorded, run uv run --directory "SKILL_ROOT" scripts/mine_commit_decisions.py --repo <project> --json (the skill root was given at session start as Skill root; substitute it for SKILL_ROOT) - it scans git history for decision-shaped commits ("switch to", "replace", "adopt", "rename", "migrate") and returns ADR candidates.
  2. Create a decision record in the decisions folder resolved per references/folder-map.md (wiki-style wiki/decisions/YYYY-MM-DD - Title.md, Obsidian-style Knowledge/ADR-YYYY-MM-DD - Title.md), with frontmatter date, type: adr, status: accepted, tags: [adr, decision], ai-first: true. Structure:
    • Decision - one-line summary of what was decided.
    • Context - what prompted it (the problem or trigger).
    • Options Considered - 2-3 alternatives evaluated.
    • Rationale - why this option over the others.
    • Consequences - what changes as a result (notes created, moved, restructured).
    • Related - links to affected project notes, people, ideas.
  3. Update the relevant project note's ## Key Decisions section with a link to the record, and update index.md.
  4. Append to the operation log (Logs/YYYY-MM-DD.md if it exists, else log.md) and link from today's daily note.

Read the full file on GitHub · 47 lines

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. 10d ago First seen · 47 lines · 20 tokens per session scan A 8bb81a56051b

Subscribe to this mod's changes

obsidian-decide is a command published in the GitHub repository eugeniughelbur/obsidian-second-brain (4,376 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 1,108 once invoked, about $0.0001 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.