obsidian-writer
Skill3.8k starsChanged 2 months agoApache-2.0View on GitHub
Write well-formatted notes to the atmosphere-vault Obsidian knowledge base.
- Reads credentials
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about Atmosphere/atmosphere
- vaadin/flow“Java 11 support”GitHub · Oct 1, 2018 · 4 reactions
- vaadin/framework“Update Atmosphere in Vaadin 8.4 to 2.4.23 (or later)”GitHub · Apr 12, 2018 · 4 reactions
The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- bilanSkill
- carnetSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- obsidian-vault-setupSkill
- release-sample-sweepSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 6 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 43
Use the quick-reference table below.
- Very specific: line 55
If pull exits non-zero, stop and report what it printed instead of reading or writing the vault.
- Very specific: line 60
If a match is found, read it first (obsidian read file="<name>") and decide whether to update the existing note or create a new one.
- Very specific: line 65
Read references/vault-structure.md for the complete frontmatter field table.
- Distinctive: line 67
Start every note with YAML frontmatter, then a level-1 heading matching the filename:
- Very specific: line 81
Use [[wikilinks]] to link related vault notes — never absolute file paths.
- Distinctive: line 97
After writing, read the note back to confirm content landed correctly:
- Distinctive: line 107
Commit and push only the notes you wrote or edited, through the sync script (paths are relative to the vault — never the whole tree):
- Very specific: line 189
If obsidian errors with "An API key must be provided via OBSIDIAN_API_KEY", a stray global npm package (obsidian-cli, the unrelated …
- Very specific: line 192
Verify resolution with command -v obsidian.
- Distinctive: line 193
Always search first to avoid duplicate notes on the same topic.
- Very specific: line 194
Always use [[wikilinks]] for internal vault references, not relative or absolute paths, and link by bare basename ([[ADR-0042 Adopt Virtual …
- Very specific: line 197
Never put # in the filename of a note you intend to wikilink.
- Distinctive: line 218
Never git merge origin into the vault or resolve a conflict in favour of local.
- Very specific: line 219
Commit explicitly: after writing — vault-sync.sh push does it.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Obsidian Writer
Role
Knowledge-base writer for the shared atmosphere-vault Obsidian vault. Applies Atmosphere frontmatter standards and directory conventions so every note lands in the right place with the right metadata — consistent enough to be searched, linked, and understood later.
When to Use
Invoke for any of these document types, whether the user names the type or not:
- ADR — Architecture Decision Record (
Architecture/ADRs/) - Runbook — Operational procedure or on-call guide (
Development/Runbooks/) - Plan — Feature or project planning document (
Claude Plans/) - API doc — Endpoint reference, SDK documentation (
APIs/) - Guide / how-to — Developer setup, walkthrough, tutorial (
Development/) - Session output — Claude Code session artifact (
Claude Outputs/) - Methodology — Process, workflow, team practice (
Methodology/)
Workflow
Step 1 — Identify doc type and target directory
Use the quick-reference table below. When ambiguous, ask the user which type fits best.
Step 2 — Sync, then search for existing notes
Pull the remote first so the search sees every note that has already been pushed, then check whether a relevant note already exists to avoid duplicates:
.claude/skills/obsidian-writer/vault-sync.sh pull
obsidian search query="<keywords from the topic>" limit=5If pull exits non-zero, stop and report what it printed instead of reading or writing the
vault. Either a conflict it could not auto-resolve moved the unpushed local commits to a
vault-sync/backup-<ts> branch (main now matches origin, so those notes stay missing until
that branch is merged by hand), or the rebase did not run and nothing was changed (retry).
If a match is found, read it first (obsidian read file="<name>") and decide whether
to update the existing note or create a new one.
Step 3 — Compose content
Read references/vault-structure.md for the complete frontmatter field table.
Start every note with YAML frontmatter, then a level-1 heading matching the filename:
---
date: YYYY-MM-DD
tags: [atmosphere, <type-tag>]
status: <value> # only for ADR and Plan
service: <name> # only for Runbook and API doc
severity: <P0–P3> # only for Runbook
---
# Note TitleUse [[wikilinks]] to link related vault notes — never absolute file paths.
Step 4 — Write to the live vault
Obsidian must be running and the atmosphere-vault must be the focused vault.
# Create a new note
obsidian create name="<Note Title>" path="<Directory/Filename.md>"
# Append a section to an existing note
obsidian append file="<Note Title>" content="## New Section\n<content>"Step 5 — Verify and link
After writing, read the note back to confirm content landed correctly:
obsidian read file="<Note Title>"Then update any related notes with a [[wikilink]] to the new document.
Step 6 — Publish
Commit and push only the notes you wrote or edited, through the sync script (paths are relative to the vault — never the whole tree):
.claude/skills/obsidian-writer/vault-sync.sh push -m "docs(adr): <what>" \
"Architecture/ADRs/ADR-0042 Adopt Virtual Threads.md"Exit 0 means published: after the sync and push, origin/main holds each of your notes exactly as committed. Your notes are the files under the paths that the push's commit changed, and those the vault holds differently from the origin/main it forked from (an earlier unpushed commit, such as the timer's, changed them). Every other file under the paths (a directory's other notes, a note the timer already pushed) was already on origin/main as the vault holds it, and must still be there or have changed since only by edits made on top of that version. The output lists those under "already on origin/main … then changed there by later edits" without failing the push: someone edited or deleted the note after it was published, so re-read it before you report it. Any other exit means not published, and the output names each file origin/main does not hold as committed, and why. Most often someone edited the same note at the same time and the remote's side won or was merged in, whether over your push or over a timer push that got there first; the vault then holds origin's version, so re-read those notes and redo your change if it is gone. A backup branch, a rebase that did not run and a push still rejected are named as such. Never report a note as published on a non-zero exit.
The vault's history uses docs(adr), docs(plan) and docs(claude-output) prefixes for
these commits; the timers' commits are vault: auto-save.
Quick Reference
| Doc Type | Target Directory | Template | Required Tags |
| ADR | Architecture/ADRs/ | Templates/ADR.md | atmosphere, adr |
| Runbook | Development/Runbooks/ | Templates/Runbook.md | atmosphere, runbook, sre |
| Plan | Claude Plans/ | Templates/Plan.md | atmosphere, plan |
| API doc | APIs/ | — | atmosphere, api |
| Session output | Claude Outputs/ | — | atmosphere, claude-output |
| Guide / how-to | Development/ | — | atmosphere, guide, <domain> |
| Methodology | Methodology/ | — | atmosphere, methodology |
Frontmatter Standards
ADR — required: date, status, tags: [atmosphere, adr]
- Status values:
proposed→accepted→deprecated/superseded - Filename convention:
ADR-NNNN Short Title.md(zero-padded, four digits)
Runbook — required: date, severity, service, tags: [atmosphere, runbook, sre]
- Severity values:
P0(critical),P1(high),P2(medium),P3(low)
Plan — required: date, status, tags: [atmosphere, plan]
- Status values:
draft,active,completed
API doc — required: date, service, tags: [atmosphere, api]
Session output — required: date, tags: [atmosphere, claude-output]
Guide / how-to — required: date, tags: [atmosphere, guide, <domain>]
- Replace
<domain>with the relevant area (e.g.,runtime,spring,quarkus)
Key obsidian-cli Patterns
# Search before creating to avoid duplicates
obsidian search query="WebSocket backpressure" limit=5
# Read an existing note before editing
obsidian read file="ADR-0042 Adopt Virtual Threads"
# Create a new note (Obsidian must be open and vault focused)
obsidian create name="ADR-0042 Adopt Virtual Threads" \
path="Architecture/ADRs/ADR-0042 Adopt Virtual Threads.md"
# Append a section to an existing note
obsidian append file="ADR-0042 Adopt Virtual Threads" \
content="## Update 2026-03-14\nApproved in team review."Constraints
- Obsidian must be running and the atmosphere-vault must be the active vault before using
obsidian createorobsidian append— the CLI communicates with the open app. - The
obsidiancommand MUST be the first-party app CLI (/Applications/Obsidian.app/Contents/MacOS/obsidian). It needs no API key. Ifobsidianerrors with "An API key must be provided via OBSIDIAN_API_KEY", a stray global npm package (obsidian-cli, the unrelated ObsidianQA tool) is shadowing it on PATH — fix withnpm uninstall -g obsidian-cli, do NOT fall back toclaude_docs/. Verify resolution withcommand -v obsidian. - Always search first to avoid duplicate notes on the same topic.
- Always use
[[wikilinks]]for internal vault references, not relative or absolute paths, and link by bare basename ([[ADR-0042 Adopt Virtual Threads]]): a basename link survives the note moving into a subfolder, a path link breaks on the first move. - Never put
#in the filename of a note you intend to wikilink. Obsidian splits[[Note#Heading]]at the first#, so[[Risk #5 gate]]resolves to a note called "Risk". - Frontmatter
datemust be ISO 8601 format (YYYY-MM-DD). - ADR filenames carry a zero-padded four-digit number (
ADR-0001,ADR-0002, …) so they sort chronologically. Check the highest existing number first (ls Architecture/ADRs/) and take the next one. claude_docs/is not a general-purpose route. It is a gitignored symlink to the vault'sClaude Outputs/, so a note written through it always lands there, must carry its own frontmatter (date,tags: [atmosphere, claude-output]) — nothing downstream adds it — and is the wrong place for an ADR, runbook or plan. Create those withobsidian createinto their own folder.- The vault's remote wins — sync through
vault-sync.sh, never by hand. Run.claude/skills/obsidian-writer/vault-sync.sh pullbefore reading or writing the vault, and publish withvault-sync.sh push -m "docs(<kind>): <what>" <path>…(paths relative to the vault, never the whole tree). It refuses to touch a vault that is mid-merge, mid-rebase or offmain; otherwise it fetches, stashes local uncommitted work, rebases ontoorigin/mainwith the remote side winning every conflicting hunk, re-applies the stash (a stash that does not re-apply stays ingit stash list), and retries a rejected push against the new tip. A conflict the rebase cannot auto-resolve moves local main to avault-sync/backup-<ts>branch and resets it to origin; a rebase that fails without a conflict changes nothing. Either waypullandpushexit non-zero: stop and report. Nevergit mergeorigin into the vault or resolve a conflict in favour of local. - Commit explicitly after writing —
vault-sync.sh pushdoes it. obsidian-git auto-commits every 10 minutes under a genericvault: auto-savemessage; an explicit commit is attributable and revertible. - See
references/vault-structure.mdfor the full directory map and field reference.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

