cli-anything-obsidian
하는 일
이 스킬은 AI 에이전트가 보관함 안의 파일로 저장된 Obsidian 노트를 다루도록 합니다. 지식과 글을 Obsidian에 정리하는 사람에게 맞습니다.
사용하는 경우
- ✓기존 노트에 요약이나 새 섹션을 추가하고 싶을 때.
- ✓보관함에서 특정 주제에 관한 노트를 검색해야 할 때.
- ✓나와 에이전트가 함께 쓴 초안으로 새 노트를 만들고 싶을 때.
스킬 링크
https://github.com/HKUDS/CLI-Anything/blob/main/obsidian/agent-harness/cli_anything/obsidian/skills/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Obsidian 보관함에서 예산 관련 노트를 검색하고, 월간 리뷰 노트에 요약을 추가해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 컴퓨터에서 실행되는 Obsidian의 Local REST API에 요청을 보내 노트를 읽고, 쓰고, 검색합니다. Obsidian이 열려 있고 플러그인이 켜져 있어야 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
cli-anything-obsidian
Knowledge management and note-taking via the Obsidian Local REST API. Designed for AI agents and power users who need to manage notes, search the vault, and execute commands without the GUI.
Installation
This CLI is installed as part of the cli-anything-obsidian package:
pip install cli-anything-obsidian
Prerequisites:
- Python 3.10+
- Obsidian must be installed and running with the Local REST API plugin enabled
Usage
Basic Commands
# Show help
cli-anything-obsidian --help
# Start interactive REPL mode
cli-anything-obsidian
# List vault files
cli-anything-obsidian vault list
# Run with JSON output (for agent consumption)
cli-anything-obsidian --json vault list
REPL Mode
When invoked without a subcommand, the CLI enters an interactive REPL session:
cli-anything-obsidian
# Enter commands interactively with tab-completion and history
Command Groups
Vault
Vault file management commands.
| Command | Description |
|---|---|
list |
List files in the vault or a subdirectory |
read |
Read the content of a note |
create |
Create a new note |
update |
Overwrite an existing note |
delete |
Delete a note from the vault |
append |
Append content to an existing note |
Search
Vault search commands.
| Command | Description |
|---|---|
query |
Search using Obsidian query syntax |
simple |
Plain text search across the vault |
Note
Active note commands.
| Command | Description |
|---|---|
active |
Get the currently active note in Obsidian |
open |
Open a note in the Obsidian editor |
Command
Obsidian command palette commands.
| Command | Description |
|---|---|
list |
List all available Obsidian commands |
execute |
Execute a command by its ID |
Server
Server status and info commands.
| Command | Description |
|---|---|
status |
Check if the Obsidian Local REST API is running |
Session
Session state commands.
| Command | Description |
|---|---|
status |
Show current session state |
Examples
List and Read Notes
# List all vault files
cli-anything-obsidian vault list
# List files in a subdirectory
cli-anything-obsidian vault list "Daily Notes"
# Read a note
cli-anything-obsidian vault read "Projects/my-project.md"
Create and Update Notes
# Create a new note
cli-anything-obsidian vault create "Projects/new-project.md" --content "# New Project"
# Update (overwrite) a note
cli-anything-obsidian vault update "Projects/new-project.md" --content "# Updated Content"
# Append to a note
cli-anything-obsidian vault append "Projects/new-project.md" --content "\n## New Section"
Search
# Plain text search (GET /search/simple/)
cli-anything-obsidian search simple "meeting notes"
# Dataview DQL query — default --type dql, sent as
# application/vnd.olrapi.dataview.dql+txt
cli-anything-obsidian search query 'TABLE file.link FROM "Projects"'
# JsonLogic query — application/vnd.olrapi.jsonlogic+json
cli-anything-obsidian search query --type jsonlogic \
'{"==":[{"var":"frontmatter.status"},"active"]}'
Commands
# List available commands
cli-anything-obsidian command list
# Execute a command by ID
cli-anything-obsidian command execute "editor:toggle-bold"
Interactive REPL Session
Start an interactive session for exploratory use.
cli-anything-obsidian
# Enter commands interactively
# Use 'help' to see available commands
API Key Configuration
# Via flag
cli-anything-obsidian --api-key YOUR_KEY vault list
# Via environment variable (recommended for agents)
export OBSIDIAN_API_KEY=YOUR_KEY
cli-anything-obsidian vault list
State Management
The CLI maintains lightweight session state:
- API key: Configurable via
--api-keyorOBSIDIAN_API_KEYenvironment variable - Host URL: Defaults to
https://localhost:27124; configurable via--host
Output Formats
All commands support dual output modes:
- Human-readable (default): Tables, colors, formatted text
- Machine-readable (
--jsonflag): Structured JSON for agent consumption
# Human output
cli-anything-obsidian vault list
# JSON output for agents
cli-anything-obsidian --json vault list
Fo
자주 묻는 질문
작동하려면 무엇이 실행 중이어야 하나요?
Obsidian이 열려 있어야 하며, Local REST API 플러그인이 켜져 있어야 합니다.
노트를 삭제할 수도 있나요?
네. delete 명령으로 보관함에서 노트를 지울 수 있으므로 신중하게 사용해야 합니다.
Obsidian 명령을 실행할 수 있나요?
네. 설명에 따르면 시각적 앱 없이도 명령을 실행할 수 있습니다.
상세 정보
작성자의 원본 설명
Command-line interface for Obsidian — Knowledge management and note-taking via Obsidian Local REST API. Designed for AI agents and power users who need to manage notes, search the vault, and execute commands without the GUI.
repo: HKUDS/CLI-Anything
인기도
- GitHub 스타
- 58k
- 순위
- #3233
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 9. 21.
댓글
- …
이 저장소의 다른 스킬
cli-anything-3mf
58k에이전트가 3D 프린팅 파일을 검사하고 고치도록 돕습니다. 둥근 구멍 찾기, 크기 조정, 메시 수리, 두 파일 비교가 가능합니다.
cli-anything-qgis
58k에이전트가 터미널에서 QGIS 지도 프로젝트를 열고 편집하고 내보내도록 돕습니다. 레이어, 피처, 인쇄 레이아웃, 처리 도구를 포함합니다.
cli-anything-adguardhome
58k에이전트가 네트워크 전체의 광고 차단기인 AdGuard Home을 관리하도록 돕습니다. 필터, DNS 재작성, 클라이언트, 쿼리 로그를 포함합니다.
cli-anything-anygen
58k에이전트가 AnyGen 서비스를 이용해 글로 된 프롬프트로 슬라이드, 문서, 웹사이트, 다이어그램을 만들도록 돕습니다.
비슷한 스킬
knowledge-capture
394k에이전트가 결정, 선호, 핵심 사실을 출처 표시와 함께 짧은 메모로 Knowledge 볼트에 저장하도록 가르칩니다.
knowledge-claim-consolidation
394k에이전트가 중복 주장을 합치고, 올바른 주제 페이지로 옮기고, 오래된 주장을 폐기해 Knowledge 볼트를 정리하도록 돕습니다.
knowledge-correct
394k에이전트가 요청에 따라 특정 Knowledge 주장이나 페이지를 고치거나 철회하고, 무엇이 바뀌었는지 기록을 남기도록 돕습니다.