Obsidian Bases
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like v
What Is Obsidian Bases?
Obsidian Bases is a powerful extension for the Obsidian knowledge management platform, enabling users to create and manage dynamic, database-like views of their notes using the YAML-based .base file format. With Obsidian Bases, you can configure custom views—such as tables, cards, lists, or maps—apply complex filters, define formulas, and display calculated summaries, all within the context of your Obsidian vault. This skill, designed for Claude Code, allows automated creation and editing of .base files, making it easy to integrate advanced data organization and visualization directly into your note-taking workflow.
Why Use Obsidian Bases?
Obsidian is inherently flexible, but managing large volumes of notes with rich metadata can quickly become unwieldy. Obsidian Bases addresses this challenge by introducing a robust system for:
- Database-like organization: Transform a collection of notes into structured views that you can sort, filter, and summarize.
- Dynamic dashboards: Build dashboards for task management, project tracking, reading lists, or any context where visualizing note data is essential.
- Custom calculations: Define formulas to calculate derived fields (e.g., progress, totals, priorities) using your notes’ properties.
- Unified filtering: Apply consistent, global filters across multiple views to focus on relevant information.
- Enhanced visualization: Switch effortlessly between table, card, list, or map views for the same data set.
By leveraging Obsidian Bases, users gain fine-grained control over how their notes are displayed and interacted with, allowing for a tailored, scalable knowledge management experience.
How to Get Started
To use Obsidian Bases, follow these steps:
-
Install Obsidian Bases
Visit the GitHub repository for installation instructions. Typically, you place the plugin in your Obsidian plugins directory and enable it from within the app. -
Create a
.basefile
In your Obsidian vault, create a new file with the.baseextension, for example,projects.base. You can also embed base configurations inside Markdown code blocks for inline views. -
Define your schema
Begin with the YAML frontmatter, specifying filters, formulas, and views as needed. Below is a minimal example:filters: and: - "status = 'active'" formulas: days_left: "due - now" views: - name: "Active Tasks" type: table columns: [title, status, due, days_left] -
Reference the base in your notes
Use Obsidian’s built-in mechanisms or plugin-specific syntax to embed your base view in a note, rendering the dynamic table or other view.
Key Features
Obsidian Bases provides a rich set of features for advanced note organization:
-
Views:
Define multiple named views within a single.basefile. Supported view types include tables, cards, lists, and maps, allowing you to choose the optimal representation for your data.views: - name: "Reading List" type: card columns: [title, author, status] -
Global Filters:
Apply filters at the base level to limit the scope of all views. Filters can be simple strings or complex Boolean logic usingand,or, andnotclauses.filters: or: - "tag = 'book'" - "status = 'in-progress'" -
Formulas:
Define reusable formulas for calculated fields, accessible across all views. Formulas support expressions based on note properties.formulas: completion: "tasks_completed / tasks_total" -
Summaries:
Configure summaries for aggregating data, such as totals or averages, within a view.views: - name: "Project Stats" type: table columns: [project, tasks_total, tasks_completed, completion] summary: tasks_total: sum tasks_completed: sum completion: avg -
Property Configuration:
Specify display options and metadata for properties in your data views.
Best Practices
- Keep base files modular: Use separate
.basefiles for distinct workflows (e.g., tasks, reading, projects) to avoid complexity. - Leverage formulas and summaries: Automate calculations and aggregate data to reduce manual bookkeeping.
- Use global filters judiciously: Apply them to enforce vault-wide standards (e.g., excluding archived notes) and reduce view clutter.
- Document your schema: Comment your YAML configurations for maintainability, especially in collaborative environments.
- Test views regularly: As you add or modify note properties, ensure your bases update accordingly and continue to render as expected.
Important Notes
- YAML Syntax:
.basefiles must be valid YAML. Indentation and structure are critical; use YAML linters or Obsidian’s built-in checks to avoid parsing errors. - File Placement: Place
.basefiles in your vault’s root or a dedicated directory. Ensure the plugin is configured to scan these locations. - Performance: Large vaults or very complex views may affect performance. Optimize by limiting columns, views, or applying more selective filters.
- Plugin Compatibility: Obsidian Bases may interact with other metadata or table plugins—review compatibility notes on the plugin’s GitHub or documentation.
- Security: Do not include sensitive data in formulas or filters, as YAML files are stored in plain text.
Obsidian Bases transforms static note collections into dynamic knowledge databases, unlocking new possibilities for structured thinking and productivity within Obsidian.
More Skills You Might Like
Explore similar skills to enhance your workflow
Saas Revenue Growth Metrics
Calculate SaaS revenue, retention, and growth metrics. Use when diagnosing momentum, churn, expansion, or product-market-fit signals
Notion Automation
Automate Notion tasks via Rube MCP (Composio): pages, databases, blocks, comments, users. Always search tools first for current schemas
On-Call Handoff Patterns
Effective patterns for on-call shift transitions, ensuring continuity, context transfer, and reliable incident response across shifts
SAP Datasphere
Build data warehouses and analytics models with SAP Datasphere
Systematic Debugging
Four-phase debugging framework that ensures root cause investigation before attempting fixes. Never jump to solutions
Prisma Cli
Prisma CLI mastery for automated database migrations and streamlined developer workflow integration