Agent skill · Obsidian Skills
/obsidian-bases Write Obsidian Bases views without YAML and formula errors
The Bases skill gives the agent the full shape of a .base file: global and per-view filters, formulas, property display names, summaries and five view types including kanban. It explains how note, file and formula properties differ, how date subtraction yields a Duration, and the quoting and naming rules behind the errors Bases most often shows.
Works with
- Claude Code
- Codex
- npx skills
- Gemini CLI
- OpenCode
When to use it
- You want a table, card or kanban view of notes with certain tags or folders
- You need computed columns such as days until a due date
- An existing base shows a YAML error or ignores your display names
How it works
- 1Create and scope
The agent writes a valid YAML .base file and adds filters by tag, folder, property or date, nesting and, or and not as needed.
- 2Add formulas
It defines computed properties, reading a field such as .days from a Duration before rounding and guarding missing values with if().
- 3Configure views
It adds table, cards, list, map or kanban views with order, sort, groupBy and summaries, using uppercase ASC or DESC.
- 4Validate
It checks the YAML, confirms every referenced formula exists and that note properties use the note. prefix in the properties section.
- 5Test in Obsidian
It opens the base to confirm it renders and checks that the Bases core plugin is turned on if it does not open.
What it steers the agent away from
- Rounding a Duration directly, which fails
- Double quotes nested inside double-quoted formulas
- Referencing formula.X without defining X
Install this skill
It installs with the Obsidian Skills pack.
Claude Code (terminal)Update later with claude plugin update obsidian@obsidian-skills.
claude plugin marketplace add obsidianmd/obsidian-skills
claude plugin install obsidian@obsidian-skillsClaude Code (in session)Same plugin, installed from inside a Claude Code session.
/plugin marketplace add obsidianmd/obsidian-skills
/plugin install obsidian@obsidian-skillsCodexAdds the marketplace; finish by picking Obsidian in the Codex or ChatGPT desktop plugin list.
codex plugin marketplace add obsidianmd/obsidian-skillsnpx skillsWorks with any agent the skills CLI supports.
npx skills add https://github.com/obsidianmd/obsidian-skillsnpx skills (SSH)For users with a GitHub SSH key set up.
npx skills add git@github.com:obsidianmd/obsidian-skills.gitGemini CLIInstalls from the latest GitHub release.
gemini extensions install https://github.com/obsidianmd/obsidian-skillsOpenCodeClone the full repo rather than the inner skills folder, then restart OpenCode.
git clone https://github.com/obsidianmd/obsidian-skills.git ~/.opencode/skills/obsidian-skillsCommands come from the author’s README; check it for changes before you run them.
Questions
Which Obsidian version does the kanban view need?
The skill states that kanban views require Obsidian 1.14 or later and need a groupBy property.
Can a base live inside a note?
Yes. A base fenced code block embeds it inline, and this then refers to the containing note, which allows per-note views.
More guides from Obsidian Skills
/json-canvasGenerate valid Obsidian canvases from mind maps to flowchartsCreates and edits .canvas files to the JSON Canvas 1.0 spec, with unique IDs, valid edges and sensible node spacing.Read the guide →/obsidian-cliManage notes and debug plugins through the Obsidian CLIReads, searches and edits notes through the running Obsidian app, and reloads, debugs and screenshots plugins and themes.Read the guide →
Also in this pack
/defuddlePulls clean Markdown or metadata from a web page with the Defuddle CLI, stripping navigation and ads.↗/knapRenders notes from Markdown templates and JSON or CSV data with Knap, including one file per row in batch mode.↗/obsidian-headlessSets up and runs Obsidian Sync and Publish from a terminal, server or CI with the ob command, no desktop app needed.↗
Summary by trendhub. The skill itself lives in obsidianmd/obsidian-skills/plugins/obsidian/skills/obsidian-bases by Obsidian (MIT); read the full, current text there.