agentleFS
shalombshalomb/agent-skills/skills/obsidian-notetaker/SKILL.md

obsidian-notetaker

Skill3 starsChanged 3 months agoMITView on GitHub

Find, create, edit, and update notes in an Obsidian vault using the `ob` CLI and direct file operations. Manages TODO lists (checking off tasks, adding items), commits changes with git, and syncs the vault. Use when the user asks to: take a note, capture an idea, update _todo.md, check off a task, find a note, add to Incoming.md, review TODOs, commit vault changes, or sync the obsidian vault. Personal notes only — for a code TODO.md backlog use `ralph-build-agent`; for formatting a code commit use `git-commit-formatter`. Triggers on: 'obsidian', 'vault', 'take a note', 'capture an idea', 'jot down', 'add to inbox', '_todo', 'my todo list', 'sync vault', 'commit vault'.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create the file, then commit:

    line 77
  2. Very specific:

    Naming: Use descriptive kebab-case filenames or natural names matching the id field.

    line 91
  3. Very specific:

    Read the file with the read tool.

    line 96
  4. Very specific:

    Update modified: timestamp in frontmatter if it exists.

    line 98
  5. Very specific:

    Use the edit tool to insert - [ ] new task at the right position.

    line 127

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Obsidian Notetaker

Environment

The Obsidian vault lives at /media/psf/Home/obsidian/ (a macOS Parallels shared folder). It is a git repository — commit and push changes when asked to save or sync.

VAULT=/media/psf/Home/obsidian

The ob CLI (~/.config/bin/ob) opens notes interactively in nvim. For non-interactive agent use, operate directly on vault files with standard shell tools.

Workflow Decision Tree

Finding a note? → Use find + grep/rg (see Finding Notes)
Creating a new note? → Write file with frontmatter + commit (see Creating Notes)
Editing an existing note? → Read → edit → commit (see Editing Notes)
Updating _todo.md? → Read file, apply checkbox changes, write back (see TODOs)
Syncing/committing? → See Committing & Syncing


Finding Notes

VAULT=/media/psf/Home/obsidian

# List all notes
find "$VAULT" -name "*.md" -not -path "*/.git/*" | sort

# Fuzzy search by filename
find "$VAULT" -name "*keyword*" -not -path "*/.git/*"

# Full-text search
rg -l "search term" "$VAULT" --glob "*.md" --ignore-file <(echo ".git")

# Show matching lines with context
rg -n "search term" "$VAULT" --glob "*.md" -g "!.git"

Creating Notes

New notes use YAML frontmatter. Match existing style:

---
id: Note Title
aliases:
  - Note Title
tags:
  - tag1
  - tag2
created: 2026-03-27T10:00
---

# Note Title

Content here.

Create the file, then commit:

VAULT=/media/psf/Home/obsidian

# Create parent dirs if needed
mkdir -p "$VAULT/Tech/AI"

# Write note (use write tool or heredoc)
# Then commit
git -C "$VAULT" add .
git -C "$VAULT" commit -m "docs: add note - Note Title"

Naming: Use descriptive kebab-case filenames or natural names matching the id field.
Location: Match the topic to existing vault folders (Tech/, Work/, notes/, ideas/, etc).

Editing Notes

  1. Read the file with the read tool.
  2. Make edits with the edit tool (preserve frontmatter exactly).
  3. Update modified: timestamp in frontmatter if it exists.
  4. Commit.

TODO Lists

The vault has two main TODO files:

  • $VAULT/_todo.md — personal todos
  • $VAULT/Work/_todo.md — work todos

Checking off a task

Find the line, change - [ ] to - [x]:

# Preview the task
grep -n "task description" /media/psf/Home/obsidian/_todo.md

Then use the edit tool to change - [ ] task description → - [x] task description.

Adding a task

Append to the active task list (before the - [x] completed section):

# Check current structure
grep -n "^\- \[" /media/psf/Home/obsidian/_todo.md | head -20

Use the edit tool to insert - [ ] new task at the right position.

Adding to Incoming.md

$VAULT/Incoming.md is the capture inbox for unprocessed resources and ideas. Append new items under the relevant ## section or at the top of ## 📚 Pending Resources.

Committing & Syncing

VAULT=/media/psf/Home/obsidian

# Check what's changed
git -C "$VAULT" status --short

# Stage and commit
git -C "$VAULT" add .
git -C "$VAULT" commit -m "docs: <description of changes>"

# Sync (pull then push)
git -C "$VAULT" pull --rebase && git -C "$VAULT" push

Commit message conventions:

  • New notes: docs: add note - <title>
  • Edits: docs: update <filename>
  • TODOs: chore: update _todo.md
  • Bulk captures: chore: capture inbox items
  • Auto-style WIP: WIP: <description>

Vault Structure

obsidian/
├── _todo.md          Personal TODO list
├── Incoming.md       Capture inbox (unprocessed resources)
├── Agile/            Agile / lean engineering notes
├── Books/            Book notes
├── DevOps/           DevOps topics
├── ideas/            Speculative / brainstorming notes
├── notes/
│   ├── dailies/      Daily notes
│   ├── meetings/     Meeting notes
│   └── weeks/        Weekly reviews
├── Personal/         Personal notes
├── Projects/         Project notes
├── Scratch/          Scratch / drafts
├── Work/             Work notes
│   └── _todo.md      Work TODO list
└── Tech/             Technology notes
    └── AI/           AI-specific notes

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.