agentleFS
ElliotJLTElliotJLT/Claude-Skill-Potions/skills/obsidian-note-create/SKILL.md

obsidian-note-create

Skill60 starsChanged 10 months agoMITView on GitHub

Creates well-structured Obsidian notes with proper frontmatter, wikilinks, and template adherence. Detects available CLI (official, Yakitrak, or direct file write) and uses the best option. Reads vault conventions from CLAUDE.md before creating. Activates on "create note", "new note", "add to obsidian", or when creating markdown files in an Obsidian vault.

The file

Show its rules and text

We split this skill into the rules it gives an agent

27 rules. About 0 are common, 27 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈27

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After granola-sync, research, or any skill that produces note-worthy output </triggers>

    line 31
  2. Distinctive:

    Do NOT trigger for:

    line 34
  3. Distinctive:

    Before creating anything, check for context:

    line 44
  4. Distinctive:

    If no CLAUDE.md exists and vault looks unstructured, suggest running obsidian-vault-init first.

    line 62
  5. Distinctive:

    If unsure, ask. Don't guess the folder.

    line 81
  6. Distinctive:

    Use the best available option.

    line 115
  7. Distinctive:

    Every note has three parts:

    line 121
  8. Distinctive:

    Before writing, search for related notes to link:

    line 153
  9. Distinctive:

    Add wikilinks to related notes:

    line 163
  10. Distinctive:

    Don't force links. Only link where genuinely related.

    line 168
  11. Distinctive:

    Before creating, verify no duplicate exists:

    line 174
  12. Distinctive:

    If a similar note exists, ask the user:

    line 184
  13. Distinctive:

    Create new note and link to existing?

    line 186
  14. Distinctive:

    Write the note, then confirm:

    line 193
  15. Distinctive:

    If using CLI, verify it worked:

    line 203
  16. Distinctive:

    No spaces (they break some tools)

    line 220
  17. Distinctive:

    Don't invent new properties unless needed.

    line 239
  18. Distinctive:

    Create notes without checking vault conventions first

    line 258
  19. Distinctive:

    Use spaces in filenames

    line 260
  20. Distinctive:

    Create duplicates without asking

    line 261
  21. Distinctive:

    Put notes in the wrong folder for their type

    line 263
  22. Distinctive:

    Create a note without at least checking for related notes to link

    line 264
  23. Distinctive:

    Read CLAUDE.md (or detect conventions) before creating

    line 268
  24. Distinctive:

    Use the best available CLI, fall back to direct file write

    line 269
  25. Distinctive:

    Follow the vault's naming convention

    line 270
  26. Distinctive:

    Check for duplicates before creating

    line 272
  27. Distinctive:

    Search for related notes and add wikilinks where relevant

    line 273

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Note Create

<purpose> Creating an Obsidian note isn't just writing a markdown file. It's frontmatter with the right properties, in the right folder, following the right template, with wikilinks to related notes. Get any of that wrong and the note is an orphan that doesn't show up in bases, has wrong metadata, or breaks linking conventions. This skill ensures notes are created correctly every time. </purpose>

When To Activate

<triggers> - User says "create note", "new note", "add note" - User says "add to obsidian", "save to vault" - User says "make a note about..." - Creating a .md file inside a known Obsidian vault - After granola-sync, research, or any skill that produces note-worthy output </triggers>

Do NOT trigger for:

  • Editing existing notes (just edit them directly)
  • Non-Obsidian markdown files
  • Files outside a vault

Instructions

Step 1: Read Vault Conventions

<conventions> Before creating anything, check for context:
# Read vault map
cat "$VAULT_PATH/CLAUDE.md" 2>/dev/null

# If no CLAUDE.md, detect conventions from existing notes
find "$VAULT_PATH" -name "*.md" -maxdepth 2 | head -20
head -20 "$VAULT_PATH"/<some-existing-note>.md  # check frontmatter pattern

Extract:

  • Folder structure (where does this type of note go?)
  • Frontmatter schema (what properties are used?)
  • Template for this note type
  • Naming convention
  • Tag conventions

If no CLAUDE.md exists and vault looks unstructured, suggest running obsidian-vault-init first. </conventions>

Step 2: Determine Note Type and Location

<placement> Match the note to the right type and folder:
ContentTypeTypical Folder
Meeting notesmeetingProjects/{project}/meetings/
Task/todo listtaskProjects/{project}/
Research/referencereferenceReferences/
General notenoteNotes/
Daily entrydailyDaily/
Project overviewprojectProjects/{project}/
Quick captureinboxInbox/

If unsure, ask. Don't guess the folder. </placement>

Step 3: Detect Available CLI

<cli_detect> Try in order of preference:

# 1. Official Obsidian CLI (best if available and Obsidian is running)
which obsidian 2>/dev/null && obsidian help 2>/dev/null

# 2. Yakitrak CLI (works without Obsidian running)
which obsidian-cli 2>/dev/null

# 3. Direct file write (always works)
echo "Falling back to direct file write"

Official CLI:

obsidian create name="Note Title" content="..." template="Template" silent

Yakitrak CLI:

obsidian-cli create "Note Title" --content "..." --vault "VaultName"

Direct file write:

# Write directly — works everywhere including WSL

Use the best available option. Don't fail just because a CLI isn't installed. </cli_detect>

Step 4: Build the Note

<build> Every note has three parts:

1. Frontmatter — YAML properties matching vault schema:

---
type: [note type]
created: YYYY-MM-DD
status: draft
tags:
  - [relevant tags]
# Additional properties per note type
---

2. Title and metadata — Human-readable header:

# Note Title

**Created**: YYYY-MM-DD

3. Body — Content structured per template:

## Section

Content with [[wikilinks]] to related notes.
</build>

Step 5: Add Wikilinks

<linking> Before writing, search for related notes to link:
# Find related notes by keyword
grep -rl "keyword" "$VAULT_PATH" --include="*.md" | head -10

# Find notes with matching tags
grep -rl "tags:.*keyword" "$VAULT_PATH" --include="*.md" | head -5

Add wikilinks to related notes:

  • [[Related Note]] — link to the note
  • [[Related Note#Specific Heading]] — link to a section
  • [[Related Note|Display Text]] — link with custom display text

Don't force links. Only link where genuinely related. </linking>

Step 6: Check for Duplicates

<dedup> Before creating, verify no duplicate exists:
# Check by filename
find "$VAULT_PATH" -name "*similar-name*" -name "*.md"

# Check by title in frontmatter
grep -rl "# Similar Title" "$VAULT_PATH" --include="*.md"

If a similar note exists, ask the user:

  • Append to existing note?
  • Create new note and link to existing?
  • Replace existing note?</dedup>

Step 7: Write and Confirm

<write> Write the note, then confirm:
Note created: [[Note Title]]

Location: Notes/note-title.md
Type: note
Links: [[Related Note 1]], [[Related Note 2]]

If using CLI, verify it worked:

obsidian read file="Note Title" 2>/dev/null || cat "$VAULT_PATH/Notes/note-title.md"
</write>

Filename Convention

kebab-case-title.md          # General notes
YYYY-MM-DD.md                # Daily notes
YYYY-MM-DD-meeting-title.md  # Meeting notes
project-name.md              # Project overviews
  • Always lowercase
  • Hyphens not underscores
  • No spaces (they break some tools)
  • Date prefix for time-sensitive notes

Frontmatter Property Reference

<properties> Standard properties used across note types:
PropertyTypeValuesUsed By
typetextnote, meeting, project, daily, reference, taskBase views, filters
statustextdraft, active, completed, archivedBase views, filters
createddateYYYY-MM-DDSorting, filtering
datedateYYYY-MM-DDMeetings, daily notes
projecttextproject-nameGrouping, linking
tagslisttag stringsSearch, bases
attendeeslistnamesMeeting notes
sourcetextorigin identifierTracking where content came from

Don't invent new properties unless needed. Stick to the schema. </properties>

Output Format

## Note Created

**Title:** [[Note Title]]
**Path:** folder/note-title.md
**Type:** [note type]
**Template:** [template used]
**Links:** [[Link 1]], [[Link 2]]

[Preview of first 5 lines]

NEVER

  • Create notes without checking vault conventions first
  • Skip frontmatter (every note needs it)
  • Use spaces in filenames
  • Create duplicates without asking
  • Invent frontmatter properties not in the vault schema
  • Put notes in the wrong folder for their type
  • Create a note without at least checking for related notes to link

ALWAYS

  • Read CLAUDE.md (or detect conventions) before creating
  • Use the best available CLI, fall back to direct file write
  • Follow the vault's naming convention
  • Include proper frontmatter matching the vault schema
  • Check for duplicates before creating
  • Search for related notes and add wikilinks where relevant
  • Confirm what was created and where

Example

User: "Create a note about the API rate limiting approach we just discussed"

Reading vault conventions from CLAUDE.md...

Vault: MainVault
Convention: Notes go in Notes/, type: note, status: draft

Checking for related notes...
Found: [[api-design]], [[backend-architecture]]

No duplicate found for "api-rate-limiting".

Note created: [[API Rate Limiting]]

Path: Notes/api-rate-limiting.md
Type: note
Links: [[api-design]], [[backend-architecture]]

---
type: note
created: 2026-02-12
status: draft
tags:
  - api
  - architecture
---

# API Rate Limiting

Approach discussed for handling rate limits on the public API.

## Decision

- Token bucket algorithm with [[api-design|existing API gateway]]
- 100 requests/minute per API key
- 429 response with Retry-After header

## Links

- Related: [[api-design]], [[backend-architecture]]
<failed-attempts> What DOESN'T work: - Creating notes without reading CLAUDE.md first — wrong folder, wrong frontmatter - Using official CLI from WSL when Obsidian runs on Windows — connection fails - Assuming property names — one vault uses "status", another uses "state" - Forcing wikilinks to notes that don't exist yet (creates dead links) </failed-attempts>

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.