Skills Prompts Hues

Popular categories

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

  1. 1
    Create 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.

  2. 2
    Add formulas

    It defines computed properties, reading a field such as .days from a Duration before rounding and guarding missing values with if().

  3. 3
    Configure views

    It adds table, cards, list, map or kanban views with order, sort, groupBy and summaries, using uppercase ASC or DESC.

  4. 4
    Validate

    It checks the YAML, confirms every referenced formula exists and that note properties use the note. prefix in the properties section.

  5. 5
    Test 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-skills
Claude Code (in session)Same plugin, installed from inside a Claude Code session.
/plugin marketplace add obsidianmd/obsidian-skills
/plugin install obsidian@obsidian-skills
CodexAdds the marketplace; finish by picking Obsidian in the Codex or ChatGPT desktop plugin list.
codex plugin marketplace add obsidianmd/obsidian-skills
npx skillsWorks with any agent the skills CLI supports.
npx skills add https://github.com/obsidianmd/obsidian-skills
npx skills (SSH)For users with a GitHub SSH key set up.
npx skills add git@github.com:obsidianmd/obsidian-skills.git
Gemini CLIInstalls from the latest GitHub release.
gemini extensions install https://github.com/obsidianmd/obsidian-skills
OpenCodeClone the full repo rather than the inner skills folder, then restart OpenCode.
git clone https://github.com/obsidianmd/obsidian-skills.git ~/.opencode/skills/obsidian-skills

Commands 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

Also in this pack

All 7 skills →

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.