本文へスキップ
Skillpedia
タスクとプロジェクト16k · #10807

obsidian-bases

できること

Obsidian Basesは、ノートをフィルターと数式を使って表、カード、リストとして表示します。このスキルは、Obsidianでタスクや読書を管理する人のために、そのビューを作成し確認する手助けをします。

使う場面

  • ✓Obsidianで、プロパティで絞り込んだノートの表がほしいとき。
  • ✓タスク管理や読書リストを、ノートから作りたいとき。
  • ✓Basesのビューに数式や集計を加える必要があるとき。

スキルのリンク

https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/obsidian-bases/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/obsidian-bases/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Obsidianで、まだ読み終えていない本を日付順に並べた読書リストのビューを作ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、ノートがプロパティをどのように保存しているかを確認し、フィルターと必要な数式を書きます。ファイルを保存する前に、構文の誤りがないかを検査します。最新のObsidianの構文に従います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Obsidian Bases

Use this as a compact workflow and fallback syntax reference. Prefer a separately installed kepano/obsidian-skills obsidian-bases skill, then the current official Bases syntax, for detailed or version-sensitive fields and functions.

Answer design and syntax questions read-only. For a requested .base edit, resolve the user vault and use one inspected transaction; never write the file directly.

Resolve the installed product root from this skill's own location, not from the vault or current working directory:

PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
test -f "$CORE"

Every ../wiki/references/ link in this file resolves the same way, relative to this skill's own directory under $PRODUCT_ROOT, never relative to the selected vault's wiki/ directory.

Workflow

  1. Inspect representative note properties and any existing .base file.

  2. Define the smallest filter that selects the intended notes.

  3. Add formulas only for values that must be computed.

  4. Choose views and display order. Do not assume a view type or option is supported by the user's Obsidian version or installed plugins.

  5. Validate YAML, expression quoting, property names, formula references, and null handling.

  6. Preview the complete file and expected result set before a mutation.

  7. If an edit was requested, read operation-transactions.md, keep the .base file under wiki/, and build one claude-obsidian.transaction.v1 bundle with operation_type: base. Inspect it, then set APPROVAL_SHA256 to the returned approval_sha256 only after review and apply once:

    python3 "$CORE" transaction inspect "$BUNDLE" --vault "$VAULT"
    python3 "$CORE" transaction apply "$BUNDLE" --vault "$VAULT" \
      --approved-plan-sha256 "$APPROVAL_SHA256"
    
  8. Record static validation separately from native Obsidian rendering. Follow the conformance procedure when application behavior cannot be verified locally. Never label unobserved output as tested.

Version boundary

Checked 2026-10-17 against official view documentation. Table and cards require 1.9+, list requires 1.10+, and native kanban requires 1.14+. Map requires the Maps plugin. These are documented minimum versions, not versions exercised by this package's offline tests. On an older app, keep an ordinary table fallback. Preserve unknown existing view fields.

Compact schema

.base files are YAML. Common top-level keys are filters, formulas, properties, summaries, and views.

filters:
  and:
    - file.inFolder("wiki")
    - 'status != "archived"'

formulas:
  status_label: 'if(status == "mature", "Ready", "Review")'

properties:
  status:
    displayName: "Status"

views:
  - type: table
    name: "Wiki pages"
    order:
      - file.name
      - type
      - status
      - updated
      - formula.status_label

Global filters apply to every view. A view may also define its own filters. Recursive filter objects use one of and, or, or not at each level.

filters:
  or:
    - file.hasTag("concept")
    - and:
        - file.hasTag("source")
        - 'status == "active"'

Use note properties by name, file metadata as file.name, file.path, file.folder, file.ext, file.ctime, file.mtime, or file.tags, and computed properties as formula.<name>.

Formula and YAML rules

  • Quote expressions that contain operators, colons, or nested string quotes.
  • Guard nullable properties with if().
  • Date subtraction has conflicting current source descriptions. Treat the examples in the date section below as unverified compatibility candidates, and test the user's supported app versions before relying on the output.
  • Define every formula.<name> before referencing it in a view or property display configuration.
  • Do not transplant Dataview-only keys such as from or where into a Base.
  • Do not invent properties absent from the selected notes without explaining that the resulting column will be empty.

Date arithmetic needs native evidence

The Help syntax checked 2026-10-17 still describes date differences in milliseconds. The official [1.9.3 changelog](https://obsidian.md/changelog/2025-06-26-deskt

よくある質問

数式の構文を知っている必要がありますか?

いいえ。エージェントがフィルターと数式を書き、結果をわかりやすい言葉で説明します。

どのビューの種類も私のObsidianで動きますか?

必ずしもそうではありません。一部のビューはObsidianのバージョンやプラグインに依存するため、このスキルは先に確認するよう注意しています。

ノートを変更しますか?

変更するのはビューのファイルだけで、直接書き込むのではなく、確認を経た手順で行います。

詳細

作者による元の説明

Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, list, or version-gated kanban views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.

repo: AgriciDaniel/claude-obsidian

人気

GitHubのスター
16k
ランキング
#10807
ライセンス
MIT
更新日
2026/10/25

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル