write-vault-section
Write Vault Section
Append or replace a named markdown section in an Obsidian vault note. Handles idempotency (replace if exists, append if not), section positioning, missing notes, and Obsidian CLI with filesystem fallback.
Inputs
- note_path (required): path to the note relative to vault root (e.g.,
Daily Notes/2026-04-07.md) - section_heading (required): the heading to insert or replace (e.g.,
### Intervals,### FreshBooks,### Coding Sessions) - content (required): the full markdown content to place under the heading (including any tables, bullet lists, etc.)
- vault_root (required): path to the Obsidian vault root
- position_hint (optional): where to insert if the section doesn't exist yet. One of:
before:<heading>— insert before the named heading (e.g.,before:### Coding Sessions)after:<heading>— insert after the named heading and its contentend— append at end of note (default)
- separator (optional): text to prepend before the section heading. Default:
------(horizontal rule). Set to empty string to skip. - create_if_missing (optional): if the note doesn't exist, create it with a minimal
# {date}header. Default: false.
Process
More from olivoil/skills
resolve-mappings
Use when you need to resolve project/repo/calendar/channel/FreshBooks mappings from the shared cache — loads mapping files, applies CONTAINS-match logic, learns new mappings
1session-rollup
Summarize recent work from Engram memory into an Obsidian coding note and link it from the daily note. Use when wrapping up a coding session or when asked to sync recent project work into the vault.
1pr-review
Use when asked to review a pull request, inspect a PR URL or number, review a local branch before opening a PR, post GitHub review comments, or give code-review feedback on changed files.
1weekly-rollup
Generate a weekly summary from daily notes — time totals, meeting highlights, coding sessions, key decisions, and todo progress. Use when asked for a weekly summary from daily notes, meetings, and todos.
1topic-pulse
Research recently active topics from the vault and deepen topic notes with concept documentation, subtopic exploration, and selective fresh context. Use when you want Topics notes expanded from recent vault activity.
1setup-obsidian-skills
Use when setting up the Obsidian skills in a vault repo for the first time, repairing missing `.cache/om` runtime files, or migrating old `.claude` cache state.
1