obsidian-bases

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

Updated Nov 9, 2023
One-click install
npx skills add https://github.com/oresttokovenko/dot-files --skill obsidian-bases-oresttokovenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obsidian-bases
Source: https://github.com/oresttokovenko/dot-files/tree/main/chezmoi/dot_agents/skills/obsidian-bases
Command: npx skills add https://github.com/oresttokovenko/dot-files --skill obsidian-bases-oresttokovenko

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 cause silent failures or YAML errors in Obsidian. ## Core Features & Use Cases - Base File Authoring: Generate valid .base YAML with global filters, formulas, property display names, summaries, and multiple views (table, cards, list, map). - Formula & Filter Guidance: Apply correct filter operators, nested and/or/not logic, date arithmetic with Duration types, and null-safe formula patterns. - Troubleshooting: Diagnose common failures such as unquoted special characters, mismatched quotes in formulas, Duration math errors, and references to undefined formulas. - Use Case: Build a task tracker base that filters notes tagged "task", computes days until due and overdue status via formulas, groups a table view by status, 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. Each view uses the order field to list which 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(due_date, ..., "") to handle empty values.

What view types does Obsidian Bases support?

Bases supports table, cards, list, and map view types. Table, cards, and list work with standard note and file properties, while 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 from double quotes nested inside double-quoted formulas. Wrap formulas containing double quotes in single quotes and quote display names containing special characters.

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

Every formula.X referenced in a view's order or properties section must have a matching entry X defined in the top-level formulas section. Missing definitions fail silently, so verify the formula name matches exactly.