agentleFS
arch3rProarch3rPro/ark-space-legacy/skills/obsidian-bases/SKILL.md

obsidian-bases

Skill2 starsChanged 6 months agoMITView on GitHub

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

56 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use knap, alex-hormozi-pitch and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lucasmaher-hashSkill

    knap

    Render Markdown from templates and structured data using Knap CLI. Use when the user asks to apply a Knap template, turn JSON or CSV data into notes, batch-generate Markdown files, or format Defuddle output into a note.

    Also in 4 projects that use this

  • pedronauckSkill

    alex-hormozi-pitch

    Create irresistible offers and pitches using Alex Hormozi's methodology from $100M Offers. Guides through value equation, guarantee frameworks, pricing psychology, and creating offers "too good not to take" for any product or service.

    Also in 3 projects that use this

  • 0xHoneyJarSkill

    qmd

    Local markdown search engine for knowledge bases, notes, and documentation. Combines BM25 full-text search, vector semantic search, and LLM re-ranking. Use when searching through markdown notes, retrieving documents, or managing knowledge collections.

    Also in 5 projects that use this

  • BCS1037Skill

    mermaid-visualizer

    Transform text content into professional Mermaid diagrams for presentations and documentation. Use when users ask to visualize concepts, create flowcharts, or make diagrams from text. Supports process flows, system architectures, comparisons, mindmaps, and more with built-in syntax error prevention.

    Also in 4 projects that use this

  • az9713Skill

    vault-health

    Audit vault health: unresolved links, orphan notes, dead-end files, missing frontmatter, structural gaps. Produces an actionable report note with prioritized fix suggestions. Use when wanting to clean up, organize, or assess the current state of the vault.

    Also in 3 projects that use this

  • graypirateSkill

    wiki-lint

    Run a health check on the user's wiki. Use when the user asks to lint, audit, clean up, check, or fix the wiki — or when they suspect orphans, broken wikilinks, stale pages, missing frontmatter, or contradictions between pages. Combines structural checks (zero token cost) with semantic review (LLM reasoning).

    Also in 4 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 5 are distinctive, and 12 are very specific to this project.

  • 0

    Common

    Most of the 56 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 12

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create or open the target .base file and keep it valid YAML.

    line 10
  2. Distinctive:

    Prefer existing file metadata and note properties before inventing new schema.

    line 12
  3. Distinctive:

    Add formulas only when the requested view cannot be expressed with raw properties.

    line 13
  4. Very specific:

    Add one or more views with a clear order and optional grouping or summaries.

    line 14
  5. Distinctive:

    Prefer Obsidian-native file properties and existing note properties before introducing new frontmatter fields.

    line 19
  6. Very specific:

    Use file.name, file.basename, file.folder, file.path, file.ext, file.ctime, file.mtime, file.tags, file.links, file.backlinks, file.embeds, …

    line 21
  7. Very specific:

    Prefer file.hasTag(...), file.inFolder(...), and file.hasLink(...) for scope filters instead of adding duplicate custom metadata.

    line 22
  8. Very specific:

    Do not add custom properties such as status, priority, due, category, type, author, pages, or cover unless the user asks for them, the …

    line 23
  9. Distinctive:

    When custom note properties are needed, keep them minimal and make the Base consume the existing schema rather than inventing extra fields.

    line 24
  10. Very specific:

    Use string expressions for simple cases and nested and / or / not objects when the logic needs structure.

    line 51
  11. Distinctive:

    Prefer global filters for the overall dataset and per-view filters only when one view needs a narrower slice.

    line 69
  12. Very specific:

    Every formula.X used in properties, order, or summaries must exist in formulas.

    line 85
  13. Very specific:

    Use table for sortable indexes and status views.

    line 91
  14. Very specific:

    Use cards for gallery-style browsing with cover or summary fields.

    line 92
  15. Very specific:

    Use list for compact navigation.

    line 93
  16. Very specific:

    Use map only when the vault already has latitude and longitude style properties and the Maps plugin is relevant.

    line 94
  17. Very specific:

    Do not reference formula.X unless X is defined in formulas.

    line 120

“Common” is measured: kept by at least 6 in 10 of the 56 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Obsidian Bases Skill

Workflow

  1. Create or open the target .base file and keep it valid YAML.
  2. Define scope with the smallest useful filters.
  3. Prefer existing file metadata and note properties before inventing new schema.
  4. Add formulas only when the requested view cannot be expressed with raw properties.
  5. Add one or more views with a clear order and optional grouping or summaries.
  6. Validate YAML syntax, formula references, and quoted strings before finishing.

Property Discipline

Prefer Obsidian-native file properties and existing note properties before introducing new frontmatter fields.

  • Use file.name, file.basename, file.folder, file.path, file.ext, file.ctime, file.mtime, file.tags, file.links, file.backlinks, file.embeds, and file.properties when they satisfy the request.
  • Prefer file.hasTag(...), file.inFolder(...), and file.hasLink(...) for scope filters instead of adding duplicate custom metadata.
  • Do not add custom properties such as status, priority, due, category, type, author, pages, or cover unless the user asks for them, the vault already uses them, or the requested view cannot be built from native metadata.
  • When custom note properties are needed, keep them minimal and make the Base consume the existing schema rather than inventing extra fields.

Minimal Schema

Base files use the .base extension and contain valid YAML.

filters:
  and: []

formulas:
  age_days: '(now() - file.ctime).days'

properties:
  formula.age_days:
    displayName: "Age (days)"

views:
  - type: table
    name: "All Notes"
    order:
      - file.name
      - formula.age_days

Filters

Use string expressions for simple cases and nested and / or / not objects when the logic needs structure.

filters:
  and:
    - 'file.ext == "md"'
    - file.hasTag("project")
filters:
  or:
    - file.hasTag("book")
    - and:
        - file.inFolder("Reading")
        - 'status != "done"'

Prefer global filters for the overall dataset and per-view filters only when one view needs a narrower slice.

Formulas

Formulas are shared computed properties. Keep them null-safe and easy to read.

formulas:
  days_until_due: 'if(due_date, (date(due_date) - today()).days, "")'
  day_of_week: 'date(file.basename).format("dddd")'

Common rules:

  • Date subtraction returns a Duration, so access .days, .hours, or another numeric field before rounding.
  • Guard optional properties with if() instead of assuming every note has the field.
  • Every formula.X used in properties, order, or summaries must exist in formulas.

Views

Supported view types are table, cards, list, and map.

  • Use table for sortable indexes and status views.
  • Use cards for gallery-style browsing with cover or summary fields.
  • Use list for compact navigation.
  • Use map only when the vault already has latitude and longitude style properties and the Maps plugin is relevant.

Example:

views:
  - type: table
    name: "Active Tasks"
    filters:
      and:
        - 'status != "done"'
    order:
      - file.name
      - status
      - due_date
    groupBy:
      property: status
      direction: ASC
    summaries:
      due_date: Latest

Common Pitfalls

  • Quote strings that contain YAML-special characters such as :, #, [, ], {, }, or ,.
  • Wrap formulas containing double quotes in single quotes.
  • Do not reference formula.X unless X is defined in formulas.
  • Reuse existing note properties when possible instead of creating a new tracking schema for every view.

References

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.