# obsidian-bases

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

- skill · `type=skill` · Claude Code · 277 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/document-processing/obsidian-bases
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/obsidian-bases

## What it 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.

## Requirements
- Works with: Obsidian

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill document-processing/obsidian-bases
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill obsidian-bases -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/obsidian-bases/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/obsidian-bases/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/obsidian-bases/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/obsidian-bases/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates obsidian-bases
```

2. **Manually: put the files in place**
- File: `.github/skills/obsidian-bases/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/document-processing/obsidian-bases
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/obsidian-bases/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/document-processing/obsidian-bases

## When to use it
- 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
- 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

## Similar
- [obsidian-markdown](https://affpapa.org/en/nevibecode/skills/agricidaniel-obsidian-markdown.md) — skill · 545 installs
- [obsidian-canvas-creator](https://affpapa.org/en/nevibecode/skills/obsidian-canvas-creator.md) — skill · 2000 installs
- [obsidian-source-ingestion](https://affpapa.org/en/nevibecode/skills/obsidian-source-ingestion.md) — skill · 320 installs
- [obsidian-cli](https://affpapa.org/en/nevibecode/skills/obsidian-cli.md) — skill · 81000 installs
- [obsidian](https://affpapa.org/en/nevibecode/skills/obsidian.md) — skill · 6400 installs
- [Obsidian Automation](https://affpapa.org/en/nevibecode/skills/obsidian-automation.md) — skill · 4800 installs

## Other versions with the same name
- [obsidian-bases · agricidaniel](https://affpapa.org/en/nevibecode/skills/agricidaniel-obsidian-bases.md) — 498 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 495 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
