一键导入
obsidian
Read and write notes in Anton's Obsidian vault. It is a deep personal archive of work notes, meetings, people, and problems solved over the years.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read and write notes in Anton's Obsidian vault. It is a deep personal archive of work notes, meetings, people, and problems solved over the years.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Reshape a branch's commit history into a clean, reviewable sequence. Soft-reset to base, format the entire change set, review the blob, plan focused commits, get approval, execute, verify, and optionally push. Invoke explicitly — not auto-triggered.
Pull Anton's last-24-hour signal from GitHub (all authenticated hosts), Linear, and Obsidian (daily note + freshly created notes), and print a tight standup brief.
Pull Anton's work signal for a given ISO week from GitHub, Linear, Fantastical, Obsidian daily notes, and Todoist, and print a dense research brief he uses to draft his Work Log bullets manually. Use for the Friday ritual (current week) or backfilling past weeks.
Query and modify tasks in Anton's Todoist via the `td` CLI (`@doist/todoist-cli`). Use for listing today/upcoming/overdue/inbox/completed tasks, adding tasks (natural language or explicit flags), completing/updating/moving tasks, listing projects, and pulling completion or addition activity in a date range. Read-mostly; writes (add/complete/update/delete) only on explicit ask.
基于 SOC 职业分类
| name | obsidian |
| description | Read and write notes in Anton's Obsidian vault. It is a deep personal archive of work notes, meetings, people, and problems solved over the years. |
Vault lives at ~/notes (vault name notes). Access is via the official Obsidian CLI (shipped in Obsidian 1.12.7+) — a registered client binary that talks to the already-running Obsidian app over IPC. Official docs: https://obsidian.md/help/cli
Key facts that drive everything below:
/usr/local/bin/obsidian on macOS (created by the in-app registration step), not inside the .app bundle. Calling the bundle's Mach-O directly (/Applications/Obsidian.app/Contents/MacOS/obsidian) just cold-launches the GUI and errors with "Argument must be a file path or a NativeImage" — that is the wrong binary.vault=notes as the first arg to be explicit.which obsidian # must be /usr/local/bin/obsidian (the registered CLI)
pgrep -f "Obsidian.app/Contents/MacOS/Obsidian" >/dev/null && echo "app running" || echo "app NOT running"
which obsidian resolves into …/Obsidian.app/Contents/MacOS/…, the official CLI is not registered (or is shadowed by a stale PATH entry). For read-only work, fall back to reading files directly from ~/notes (see below) instead of fighting it.Setup, if the CLI isn't registered (one-time): the CLI binary ships with the installer (1.12.7+), and Obsidian's auto-updater only bumps the app package, not the installer. So check Settings → General: if "Version" is ≥1.12.7 but "Installer version" is older (and it nags "installer is out of date"), download and reinstall the latest installer first — otherwise there's no CLI binary to register. Then Settings → General → Command line interface → Register CLI, and restart the terminal. Both are manual steps the user must do — you can't do them for them.
obsidian [vault=notes] <command> key=value key=value [flags]
file=<name> resolves by name like wikilinks (file=Astro, no .md)path=<path> is exact from vault root (path="02 Areas/Work.md")name="My Note"\n and \t are accepted in content= valuesfile/path is omittedformat=json|tsv|csv|text|tree|md|yaml, plus total (count only) and --copy (output to clipboard)Read / search:
obsidian read path="Astro.md" # full contents to stdout
obsidian search query=astro limit=5 # filenames matching query
obsidian search:context query=astro # matches with line context
obsidian daily:read # today's daily note
obsidian files folder="02 Areas" # list files (optional filter)
obsidian outline file=Astro # heading outline (format=tree|md|json)
obsidian recents # recently opened files
Structure / metadata:
obsidian tags counts # all tags with counts
obsidian tags file=Astro # tags on one note
obsidian backlinks file=Astro # notes linking here
obsidian links file=Astro # outgoing links
obsidian tasks todo # open tasks (add done / status="x" / path=…)
obsidian properties file=Astro # frontmatter properties
obsidian property:read name=status file=Astro
Create / edit:
obsidian create name="New Note" content="hello"
obsidian create path="00 Inbox/Note.md" content="…" open
obsidian append file=Astro content="more"
obsidian prepend file=Astro content="TL;DR…"
obsidian daily:append content="- met with X"
obsidian property:set name=status value=active file=Astro
obsidian move file=Astro to="04 Archive/"
obsidian rename file=Astro name="Astro framework"
Navigation / app state:
obsidian open file=Astro # open in app
obsidian daily # open today's daily
obsidian search:open query=astro # trigger in-app search view
obsidian vault info=path # vault info (name|path|files|folders|size)
Full help: obsidian --help. Per-command help: obsidian help <command>.
~/notes is a perfectly good — often better — path. It's fast, needs no running app, and avoids the cold-launch failure mode. Daily notes are at ~/notes/calendar/days/YYYY-MM-DD.md. Don't burn time driving the CLI for a read you can do with Read/rg.Rule of thumb: CLI for writes and link-aware operations; direct files for reads when the app may not be running.
## and below).type: at minimum) — see vault rules in ~/notes/.claude/CLAUDE.md.[[wiki links]]. People are [[@Name]].