/obsidian-second-brain:obsidian-projectsfrom obsidian-second-brain
Discovers tracked projects from Obsidian vault notes, gathers live git and docs status, and produces a per-project status overview with activity recency, next actions, and blockers.
Ships in obsidian-second-brain. Installing the plugin adds it to Claude Code.
Use the obsidian-second-brain skill. Execute /obsidian-projects $ARGUMENTS:
Optional argument: a specific project name. If given, show deep context for that one project only. If no argument, run the full overview for all tracked projects.
Read _CLAUDE.md to find the projects folder name, resolved per references/folder-map.md (wiki-style wiki/projects/, Obsidian-style Projects/). If not defined, default to the wiki-style wiki/projects/.
Scan that folder for all .md files. For each file, read its frontmatter. A note is a tracked project if it has type: project OR lives in the projects folder and has a repo: field. Collect:
vault_note - the file pathname - from name: frontmatter or the filenamerepo - from repo: frontmatter; absent means non-code project (git steps skip)status - from status: frontmatter if presentIf the optional argument was given, filter to the matching project only.
Spawn one subagent per project. Each agent runs three checks:
Vault check:
status, most recent entry in any Recent Activity section, next_action, open questions, blockers. IGNORE ## Last overview sections - this command writes those, and reading them back would mark stale projects active forever (a feedback loop)Git check (skip if no repo: field):
git -C "<repo>" log --oneline --no-merges -15git -C "<repo>" status --shortDocs check (skip if no repo: field):
NOTES.md, TODO.md, docs/NOTES.md, docs/TODO.md in the repo rootMerge the three agent results into one status block per project:
active (commits or vault update in last 7 days, excluding ## Last overview writes), stalled (7-30 days), idle (30+ days), blocked (explicit blocker found). Override with the note's status: field if it says on-hold, completed, or archived.none if nothing found.Print the full overview in the conversation immediately. Order: active first, then stalled, then idle, then archived. Use this format per project:
## [Project Name]
Status: active | stalled | idle | blocked | archived
Repo: path/to/repo (or "no repo")
Vault: [[<projects folder>/Project Name]] (use the folder resolved in step 1)
Last session: YYYY-MM-DD - one sentence on what was done (source: git / vault / docs)
Next action: specific next step, or "unclear - check vault note"
Blocked by: none | description
For each project note, inject or overwrite a ## Last overview section with the synthesized status and timestamp. This makes the note self-aware of when it was last reviewed. Use this format:
## Last overview
**Reviewed:** YYYY-MM-DD (source: /obsidian-projects)
**Status:** active | stalled | idle | blocked | archived
**Last session:** YYYY-MM-DD - one sentence on what was done (source: git | vault | docs)
**Next action:** specific next step, or "unclear - check vault note"
**Blocked by:** none | description
If a project note doesn't exist yet but was discoverable via git (e.g. the repo folder exists but has no matching vault note), mention it at the end as "untracked repos found". Do not create notes automatically.
AI-first rule: Every vault write MUST follow references/ai-first-rules.md - ## For future Claude preamble, rich frontmatter, [[wikilinks]] for every project referenced, recency markers on git-sourced facts (e.g. (as of 2026-05-21, git log)), sources noted inline. If that path does not resolve from your working directory, search upward for it; if you still cannot read it, say so before writing rather than producing a note that silently skips the rule.
Anti-fabrication: Search exhaustively before claiming any note, person, or file is absent - false absence is the most common failure mode - and never invent facts, entities, or dates (mark unknowns as TBD). See the anti-fabrication and search-completeness hard rules in references/ai-first-rules.md.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub gongyuancaiji/dsh-obsidian-second-brain --plugin obsidian-second-brain46 commands in this plugin
/create-commandFast path (skip the interview when the seed already answers it)Create a new obsidian-second-brain command via interview - zero markdown editing required/idea-discoveryIdea DiscoverySurface 3-5 next-direction candidates by reading ungraduated ideas, open project questions, and orphan research notes - what is worth working on next/notebooklmVault-first source-grounded research via Gemini File Search. One command, no browser. The grounded parallel to /research-deep (which is open-web via Perplexity)./obsidian-architectObsidian ArchitectScan a codebase and write a maintained set of architecture notes into the vault - overview, per-module notes, key decisions. Re-run to refresh without clobbering your edits/obsidian-boardObsidian BoardShow or update a kanban board - flags overdue items, updates from conversation/obsidian-board-hygieneObsidian Board HygieneBulk-triage a kanban board - surface stale items and archive, reschedule, or mark them done in one passOther plugins' commands for the same job