Skip to main content
skill

obsidian-bases · davila7 — Claude Code skill: .base files in Obsidian

A Claude skill that writes and edits Obsidian Bases files: views, filters, formulas and summaries. Handy when your notes live in an Obsidian vault.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill document-processing/obsidian-bases
Open on GitHub

What obsidian-bases does

The skill teaches Claude to handle .base files — YAML documents that describe dynamic views over notes in an Obsidian vault. One file can hold several views, shared filters, formulas, property settings and custom summaries. Claude builds the whole file, not fragments of it.

The schema is spelled out: global filters built from and, or and not, the formulas, properties and summaries sections, and a list of views typed table, cards, list or map. Each view takes limit, groupBy, its own filters, an order list of properties and summaries. There is also a reference for comparison operators, note, file and formula properties, the this keyword, and functions from if() and date() to icon() and escapeHTML().

Formulas derive values from properties: arithmetic, conditionals, string and date formatting. Dates add and subtract with units such as 1M, 7d or 2h. The skill only produces YAML — if Bases are not enabled in your vault, Obsidian is what renders the result, so check that first.

What it helps with

  • build a table view of notes filtered by status
  • compute a sum or average over a note property
  • group notes by tag and modified date
  • lay out a card view for a reading list
  • write a conditional formula that formats a price

Example prompts for the agent

  • Create a .base file with a table view of every note tagged book
  • Add a formula to the base that counts days since a file was modified
  • Build a cards view grouped by the status property

How to install obsidian-bases

1claude-code-templates

npx claude-code-templates@latest --skill document-processing/obsidian-bases

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill obsidian-bases -a claude-code

3Manually: put the files in place

~/.claude/skills/obsidian-bases/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/obsidian-bases/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about obsidian-bases

How do I install obsidian-bases in Claude Code?

Run npx claude-code-templates@latest --skill document-processing/obsidian-bases, or npx skills add davila7/claude-code-templates --skill obsidian-bases -a claude-code. Either way the skill lands at ~/.claude/skills/obsidian-bases/SKILL.md.

What does obsidian-bases do?

It creates and edits Obsidian Bases files with views, filters, formulas and summaries. Claude follows the schema from the skill whenever you ask for a note database.

Which view types can a .base file use?

Four: table, cards, list and map. A view can also carry a result limit, grouping, its own filters and a property order.

Similar skills

All skills for Notes, tasks and projects →

obsidian-bases by other authors comes first.

From the same set495

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor