Skip to content
Productivity
Command

/setup

Set up this folder as a knowledge vault — adapts to an empty folder or an existing vault

From plugin
obsidian-knowledge-agent
20612 skills12 commands
> /plugin marketplace add Michael-OvO/obsidian-knowledge-agent
> /plugin install obsidian-knowledge@obsidian-knowledge-agent

Command definition

setup.md
description: Set up this folder as a knowledge vault — adapts to an empty folder or an existing vault
argument-hint: [optional: domains/branches you want, e.g. "ML, Quant, Research"]

Set up the current folder as an Obsidian Knowledge Agent vault. **Detect first, then do the least surprising thing.** Always idempotent — never clobber anything that exists.

**Step 0 — Detect the folder and tell me which mode you're in:**

  • **Already a vault** — `.agents/learned/` exists → **RESUME** (don't re-scaffold).
  • **An existing Obsidian vault** — has notes / an `.obsidian/` folder, but no

`.agents/learned/` → **ADOPT** (fit what's there, fill only the gaps).

  • **Empty / new folder** — no notes, no vault structure → **SCAFFOLD** (build a starter).

Then run the matching mode:

RESUME — it's already set up

Don't re-create anything. Report status in a couple of lines — the branches, how many items are in `Inbox/`, the last `journal.md` entry — and route me to work: *"Inbox has 3 items — want me to `:ingest`? Or tell me what to capture."* Stop there.

ADOPT — an existing vault (the adaptive path)

1. **Read, don't impose.** Map the existing top-level folders, naming style, and the frontmatter on a few notes. Treat that as the vault's conventions — do **not** add new branch folders or rename anything. 2. **Fill only the gaps.** Create `.agents/learned/` (`journal.md`, `conventions.md`, `examples.md`, a `skills/` folder) only if missing; add `Inbox/` and a `Dashboard.md` map-of-content that links the **existing** branches. Never overwrite existing files. 3. **Seed conventions for review.** Write what you detected (naming, frontmatter, folder shape) into `.agents/learned/conventions.md` as a proposed starting point, and show me the diff before committing it. 4. **Commit** the additions, then point me at `/obsidian-knowledge:help`.

SCAFFOLD — an empty folder

1. **Branches.** Create top-level branch folders — from `$ARGUMENTS` if given, otherwise propose a small default (a shared `References/` plus one or two domains) and confirm with me before creating. Give each branch an `_index.md`. 2. **Learning state.** Create `.agents/learned/` with `journal.md`, `conventions.md`, `examples.md`, and a `skills/` folder — seed empty starters. 3. **Inbox + dashboard.** Create `Inbox/` and a `Dashboard.md` map-of-content that links the branches and explains the workflow in a line or two. 4. **Commit** the scaffold, then point me at `/obsidian-knowledge:help` and suggest dropping a first source into `Inbox/`.

Read more
@michael-ovo
Ships withobsidian-knowledge-agent

Talk to your vault. It does the rest. You drop it in. It files, it teaches, and it remembers how you like your notes. Point any agentic assistant at your Obsidian vault and talk to it — "save this link", "organize my inbox", "ingest the syllabus in Inbox".

Stars on GitHub

Momentum

stars in total
206
Star history of Michael-OvO/obsidian-knowledge-agent on GitHub, a chart by star-history.com

Other commands on obsidian-knowledge-agent.

More commands from other plugins.

analyze-cohorts

analyze-cohorts

Command

Perform cohort analysis on user data — retention curves, feature adoption, and engagement trends

@phuryn@phurynInstall Command
again

again

Command

PUA Again — 用于再试试、换个方法、别放弃、为什么还不行、同一路径失败多次;要求停止微调同一思路,改用本质不同方案。

pua2mo20k
@tanweai@tanweaiInstall Command