obsidian-bases

Create and edit Obsidian Bases files with views, filters, formulas, and summaries.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/TrayMachi/dotfiles --skill obsidian-bases-traymachi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-bases
Source: https://github.com/TrayMachi/dotfiles/tree/main/agents/skills/obsidian-bases
Command: npx skills add https://github.com/TrayMachi/dotfiles --skill obsidian-bases-traymachi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Writing Obsidian Bases (.base files) by hand requires knowing a specific YAML schema, filter syntax, formula language, and view configuration, and small quoting or type mistakes silently break the view. ## Core Features & Use Cases - Base file authoring: Create valid .base YAML with global filters, formulas, property display names, summaries, and multiple views (table, cards, list, map). - Formula and filter guidance: Covers filter operators, file properties, date/duration arithmetic, and the full function reference for computed properties. - Troubleshooting: Diagnoses common failures such as unquoted YAML special characters, mismatched quotes in formulas, Duration type errors, and undefined formula references. - Use Case: Build a task tracker base that filters notes tagged "task", computes days until due and overdue status via formulas, groups active tasks by status in a table view, and shows average days remaining as a summary. ## Quick Start Create an Obsidian base file for my reading list notes with a cards view showing cover, author, and reading status.

Frequently Asked Questions about obsidian-bases

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an Obsidian Bases file with filters and views?

Create a .base file containing valid YAML with a filters section to select notes, an optional formulas section for computed properties, and a views array defining table, cards, list, or map views with an order list of properties to display.

How do I calculate days between dates in Obsidian Bases formulas?

Subtracting two dates returns a Duration type, not a number, so access a numeric field like .days first. For example, use (date(due_date) - today()).days, and guard with if() when the date property may be empty.

What view types does Obsidian Bases support?

Bases supports table, cards, list, and map views. Table and cards accept order, groupBy, filters, and summaries; the map view requires latitude and longitude properties plus the Maps community plugin.

Why does my Obsidian base file show a YAML error?

YAML errors usually come from unquoted strings containing special characters like colons or brackets, or double quotes nested inside double-quoted formulas. Wrap formulas containing double quotes in single quotes and quote display names with special characters.

Why is my formula property not showing in an Obsidian base view?

Every formula.X referenced in order or properties must have a matching entry X defined in the formulas section, otherwise it fails silently. Define the formula first, then reference it as formula.X in the view.