본문으로 건너뛰기
Skillpedia
작업 및 프로젝트16k · #10811

wiki-cli

하는 일

이 스킬은 에이전트가 Obsidian 볼트를 읽을 수 있는 방법을 확인한 뒤, 검색하거나 읽도록 합니다. Obsidian 노트를 빠르게 읽기 전용으로 조회하고 싶은 분들을 위한 스킬입니다.

사용하는 경우

  • ✓명령줄로 Obsidian 볼트의 노트를 검색하거나 읽고 싶을 때.
  • ✓볼트에서 백링크나 태그를 찾고 싶은 경우.
  • ✓무엇을 읽기 전에 에이전트가 볼트에 접근할 수 있는지 확인해야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Obsidian 볼트에서 예산에 대해 쓴 모든 내용을 검색하고, 그것을 연결하는 노트 목록을 보여 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 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.

repo: AgriciDaniel/claude-obsidian

인기도

GitHub 스타
16k
순위
#10811
라이선스
MIT
업데이트
2026. 10. 25.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬