Skip to main content

Obsidian Vault

@magistr/obsidian-vaultv2026.05.25.1· 4d agoMODELS
01README

Manage Obsidian vaults via the official CLI (v1.12+) — notes, search, tags, links, daily notes, properties

02Release Notes

Merge pull request #4 from umag/extensions/magistr-grade-a-workspace

extensions: stage 15 @magistr extensions as Grade A workspace dirs + wire CI

03Models1
@magistr/obsidian/vaultv2026.05.25.1obsidian_vault.ts

Global Arguments

ArgumentTypeDescription
vaultstringObsidian vault name
fn list(folder?: string, ext?: string)
List all notes in the vault
ArgumentTypeDescription
folder?stringFilter by folder path
ext?stringFilter by extension (e.g. 'md')
fn read(file: string)
Read a note's content
ArgumentTypeDescription
filestringPath to note (e.g. 'folder/note.md')
fn fileInfo(file: string)
Show file metadata (size, created, modified)
ArgumentTypeDescription
filestringPath to note
fn create(name: string, content?: string, template?: string, overwrite?: boolean)
Create a new note
ArgumentTypeDescription
namestringPath for new note (e.g. 'folder/note.md' or 'note')
content?stringNote content
template?stringTemplate name to use
overwrite?booleanOverwrite if file exists
fn append(file: string, content: string, inline?: boolean)
Append content to end of a note
ArgumentTypeDescription
filestringPath to note
contentstringContent to append
inline?booleanAppend without newline
fn prepend(file: string, content: string, inline?: boolean)
Prepend content after frontmatter
ArgumentTypeDescription
filestringPath to note
contentstringContent to prepend
inline?booleanPrepend without newline
fn delete(file: string, permanent?: boolean)
Delete a note (moves to trash by default)
ArgumentTypeDescription
filestringPath to note
permanent?booleanPermanently delete instead of trash
fn move(file: string, to: string)
Move or rename a note (automatically rewrites wikilinks)
ArgumentTypeDescription
filestringCurrent path
tostringDestination folder or path
fn search(query: string, path?: string, limit?: number)
Full-text search with matching line context
ArgumentTypeDescription
querystringSearch query
path?stringLimit to folder
limit?numberMax files to return
fn tags(counts?: boolean)
List all tags in the vault
ArgumentTypeDescription
counts?booleanInclude occurrence counts
fn tag(name: string)
List files with a specific tag
ArgumentTypeDescription
namestringTag name (e.g. '#swamp' or 'swamp')
fn links(file: string)
Show outgoing links from a note
ArgumentTypeDescription
filestringPath to note
fn backlinks(file: string)
Show files linking to a note
ArgumentTypeDescription
filestringPath to note
fn orphans()
List notes with no incoming links
fn unresolved(verbose?: boolean)
List unresolved/broken links in vault
ArgumentTypeDescription
verbose?booleanInclude source files
fn daily()
Open or create today's daily note
fn dailyRead()
Read today's daily note content
fn dailyAppend(content: string, inline?: boolean)
Append content to today's daily note
ArgumentTypeDescription
contentstringContent to append
inline?booleanAppend without newline
fn dailyPrepend(content: string, inline?: boolean)
Prepend content to today's daily note
ArgumentTypeDescription
contentstringContent to prepend
inline?booleanPrepend without newline
fn properties(file: string)
Read frontmatter properties of a note
ArgumentTypeDescription
filestringPath to note
fn propertySet(file: string, name: string, value: string, type?: enum)
Set a frontmatter property on a note
ArgumentTypeDescription
filestringPath to note
namestringProperty name
valuestringProperty value (use JSON array for list types, e.g. \
type?enumProperty type hint
fn propertyRemove(file: string, name: string)
Remove a frontmatter property from a note
ArgumentTypeDescription
filestringPath to note
namestringProperty name to remove

Resources

note(infinite)— Single note content and metadata
fileInfo(infinite)— File metadata (size, timestamps)
notes(infinite)— List of notes/files in vault
searchResults(infinite)— Search results with matching context
tags(infinite)— Tag listing
tagFiles(infinite)— Files matching a specific tag
links(infinite)— Links or backlinks for a note
unresolved(infinite)— Unresolved/broken links in vault
dailyNote(infinite)— Daily note content
properties(infinite)— Note frontmatter properties
operationResult(infinite)— Result of mutating operations
04Previous Versions1
2026.03.28.2Mar 28, 2026
05Stats
A
100 / 100
Downloads
7
Archive size
11.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels