hkuds/cli-anything/cli-anything-obsidian
Claude Code and agent skill by hkuds/cli-anything
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install hkuds/cli-anything/cli-anything-obsidianSKILL.md
The same SKILL.md was published earlier as hkuds/cli-anything/cli-anything-obsidian.
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:
Prerequisites:
- Python 3.10+
- Obsidian must be installed and running with the Local REST API plugin enabled
Usage
Basic Commands
REPL Mode
When invoked without a subcommand, the CLI enters an interactive REPL session:
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
Create and Update Notes
Search
Commands
Interactive REPL Session
Start an interactive session for exploratory use.
API Key Configuration
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
For AI Agents
When using this CLI programmatically:
- Always use `--json` flag for parseable output
- Check return codes - 0 for success, non-zero for errors
- Parse stderr for error messages on failure
- Set `OBSIDIAN_API_KEY` environment variable to avoid passing
--api-keyon every call - Verify Obsidian is running with
server statusbefore other commands
More Information
- Full documentation: See README.md in the package
- Test coverage: See TEST.md in the package
- Methodology: See HARNESS.md in the cli-anything-plugin
Version
1.1.0
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cli-anything-obsidian/SKILL.md
Popularity
- Repository stars
- 44,699
- Repository forks
- 4,186
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hkuds/cli-anything/cli-anything-obsidian)