wiki-cli
できること
このスキルは、エージェントがObsidianの保管庫をどう読めるかを調べ、そのうえで検索や閲覧を行います。ノートをObsidianで管理し、素早い読み取り専用の検索をしたい人向けです。
使う場面
- ✓コマンドラインからObsidianの保管庫のノートを検索または閲覧したいとき。
- ✓保管庫の中で、バックリンクやタグを見つけたいとき。
- ✓エージェントが読み始める前に、保管庫にどう接続できるかを確認したいとき。
スキルのリンク
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-cli/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のObsidianの保管庫で予算管理について書いたものをすべて検索し、それらにリンクしているノートを一覧にしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、Obsidianのコマンドラインが実際に使えるかを確認する簡単なチェックを実行します。インストールされているだけでは不十分で、Obsidianアプリが閉じているなどの場合は動かないため、そこを確認します。使えない場合は、保管庫のファイルを直接読みます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Obsidian CLI read transport
Use this skill only to detect transport and read or search a selected vault.
The official executable is obsidian; binary presence alone does not prove it
is usable.
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
DETECT_TRANSPORT="$PRODUCT_ROOT/scripts/detect-transport.sh"
test -f "$DETECT_TRANSPORT"
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.
Detect safely
Probe without persisting host state:
bash "$DETECT_TRANSPORT" --peek --vault "$VAULT"
Trust available.cli.usable, not merely present or exit status. A supported
CLI can still be unavailable because the Obsidian app is not running, command
line access is disabled, or its response is an error. Use filesystem reads as
the portable fallback.
Persist a refreshed .vault-meta/transport.json only when the user or setup
workflow asks for a transport snapshot:
bash "$DETECT_TRANSPORT" --force --vault "$VAULT"
That file is derived runtime configuration, not knowledge content. Preserve a
valid manual_override recorded by the detector.
Read and search
Run official CLI commands from the selected vault so Obsidian resolves the correct workspace. Confirm supported syntax with the installed CLI before relying on optional commands. Typical read-only forms are:
(cd "$VAULT" && obsidian read path="$NOTE")
(cd "$VAULT" && obsidian search query="$QUERY")
Use read-only commands for backlinks, tags, or Bases results only when the
detector reports the CLI ready. Otherwise read files under $VAULT directly
and use rg for search. Reject absolute note arguments, traversal, symlinks, or
resolved paths outside the selected vault.
Mutation boundary
Do not use CLI create, write, append, property-set, daily-append, move, rename, or delete commands. Do not replace those commands with direct filesystem writes. Any knowledge or configuration change must be expressed as one reviewed transaction through the portable core; see operation transactions.
Transport choice never changes mutation semantics. The CLI is an optional read surface, not a lock manager, transaction engine, or Git checkpoint mechanism.
Checkpoint
Observe actual capability, think about the least complex read transport, verify that every resolved path stays in the vault, and accept filesystem fallback when the CLI is not ready.
よくある質問
ノートは変更しますか?
いいえ。このスキルは検索と閲覧のためだけのもので、編集は別の確認を経た手順で行います。
なぜ確認が必要なのですか?
コマンドがインストールされていても、Obsidianアプリが閉じているなどの理由で動かないことがあるためです。そのためスキルは先にテストします。
代わりの方法は何ですか?
コマンドラインが使えない場合、エージェントは保管庫のファイルを直接読みます。
詳細
作者による元の説明
Detect and use the official Obsidian command-line interface for read-only vault access; use for wiki-cli, Obsidian CLI, Obsidian read, Obsidian search, vault transport, which transport, transport detection, backlinks, tags, or Obsidian command line. Mutations always go through the claude-obsidian transaction core.
人気
- GitHubのスター
- 16k
- ランキング
- #10811
- ライセンス
- MIT
- 更新日
- 2026/10/25
コメント
- …
このリポジトリの他のスキル
autoresearch
16kエージェントが、決められた範囲内で話題を調べ、出典付きのレポートを下書きできるよう支援します。Web上の発見は自動でノートに追加されません。
canvas
16kエージェントが、Obsidianでノート、ファイル、リンク、グループを含む視覚的なボードを作成、更新できるよう支援します。地図や空間的なレイアウトに役立ちます。
defuddle
16kエージェントが、Webページを読みやすいテキストに整える計画を立て、ソースファイルのローカルコピーを保存できるよう支援します。
obsidian-bases
16kエージェントが、フィルター、数式、表やカードのレイアウトを使い、簡単なデータベースのように働くObsidian Basesのビューを設計できるよう支援します。