ADocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kepano/obsidian-skills/llms.txt
Use this file to discover all available pages before exploring further.
.base file is a YAML file with the .base extension that gives database-like views over the notes in your Obsidian vault. Each base file selects a set of notes using filters, optionally computes new values with formulas, and renders those notes in one or more views (table, cards, list, or map). Because the entire file is YAML, standard YAML rules apply — quoting, indentation, and structure all matter.
Top-Level Schema
Every.base file is built from up to five top-level keys. All keys are optional, but a useful base will have at least filters and views.
Properties Configuration
Theproperties: section controls how property columns are labeled in a view. You can configure display names for three types of properties: note properties (from frontmatter), formula properties (defined in formulas:), and file properties (built-in metadata like file.ext).
Each entry uses the property’s identifier as the key, and accepts a displayName field:
displayName does not affect the underlying property identifier used elsewhere in the file — formula.days_until_due must still be written as formula.days_until_due in order: and summaries: blocks.
The this Keyword
The this keyword is a special reference that resolves to a file object depending on where the .base file is rendered:
| Context | this refers to |
|---|---|
| Main content area | The .base file itself |
Embedded in a note (![[MyBase.base]]) | The file that embeds the base |
| Sidebar | The active file in the main content area |
this useful for creating context-aware bases — for example, a base embedded in a project note can use this to automatically filter for notes that link back to that project, without hardcoding the project name.
Summaries Configuration
Thesummaries: top-level section lets you define custom summary formulas that can then be referenced by name in a view’s summaries: map. Custom summary expressions receive a values list and can call any list function on it.
| Name | Input Type | Description |
|---|---|---|
Average | Number | Mathematical mean |
Min | Number | Smallest number |
Max | Number | Largest number |
Sum | Number | Sum of all numbers |
Range | Number | Max − Min |
Median | Number | Mathematical median |
Stddev | Number | Standard deviation |
Earliest | Date | Earliest date |
Latest | Date | Latest date |
Range | Date | Latest − Earliest |
Checked | Boolean | Count of true values |
Unchecked | Boolean | Count of false values |
Empty | Any | Count of empty values |
Filled | Any | Count of non-empty values |
Unique | Any | Count of unique values |
View Types
Each entry in theviews: list must have a type field. The four supported types are table, cards, list, and map.
- Table
- Cards
- List
- Map
The
table type renders notes as rows in a spreadsheet-like grid. Use order: to specify which columns appear and summaries: to show aggregate values in the footer row.Complete Examples
The following three examples demonstrate complete, working.base files that cover common use cases.
Task Tracker Base
A task management base that groups active tasks by status, shows priority labels and days until due, and separates completed tasks into their own view.Reading List Base
A reading tracker that covers both books and articles, shows estimated reading time, and separates the to-read queue from the card gallery.Daily Notes Index
An index of daily notes that uses a regex filter to match only date-named files, estimates word count from file size, and shows the day of the week.Base files must be valid YAML with no syntax errors. Strings that contain special characters (
:, {, }, [, ], #, |, >, !, etc.) must be quoted. Formula expressions that contain double quotes should be wrapped in single quotes, e.g. 'if(done, "Yes", "No")'. Always validate the file opens correctly in Obsidian after editing.