Loading...
Loading...
Obsidian YAML frontmatter property management via the official CLI. Covers reading, setting, and removing properties/metadata on notes. Use when user mentions frontmatter, properties, metadata, YAML, or note attributes like status, tags, dates, aliases.
npx skill4agent add laurigates/claude-plugins properties| Use this skill when... | Use the alternative instead when... |
|---|---|
| Reading, setting, or removing a single YAML property on a live note via the running CLI | Doing offline bulk frontmatter rewrites across many files — use |
Updating | Editing note body content rather than frontmatter — use |
| Confirming a property change is reflected in Obsidian's metadata cache | Repairing broken wikilinks after a rename — use |
# Read all properties from a note
obsidian properties file="Project Spec"
# JSON output for parsing
obsidian properties file="Project Spec" format=json# Set a text property
obsidian properties:set file="Note" status=active
# Set a date property
obsidian properties:set file="Note" due=2026-03-15 type=date
# Set multiple properties
obsidian properties:set file="Note" status=draft priority=high
# Set tags property
obsidian properties:set file="Note" tags="blog,publish" type=tags# Remove a single property
obsidian properties:remove file="Note" key=draft
# Remove multiple properties
obsidian properties:remove file="Note" key=old_field| Type | Example | Notes |
|---|---|---|
| Text | | Default type |
| Date | | ISO 8601 format |
| Tags | | Comma-separated |
| Number | | Numeric values |
| Boolean | | true/false |
| List | | Comma-separated |
# Set draft status
obsidian properties:set file="Post" status=draft
# Move to review
obsidian properties:set file="Post" status=review
# Mark published
obsidian properties:set file="Post" status=published published=true# Add aliases for wikilink resolution
obsidian properties:set file="JavaScript" aliases="JS,js,ECMAScript" type=tags| Context | Command |
|---|---|
| Read properties (structured) | |
| Set property | |
| Remove property | |
| Typed property | |
[key:value]