Skills Plugins MCP Prompt Model 博客 我的中心
开发编程 #design #api #ai #agent

cli-anything-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.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=hkuds-cli-anything-skills-cli-anything-obsidian-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name cli-anything-obsidian description 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. 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-key or OBSIDIAN_API_KEY environment 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 ( --json flag): Structured JSON for agent consumption # Human output cli-anything-obsidian vault list # JSON output for agents cli-anything-obsidian --json vault list 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-key on every call Verify Obsidian is running with server status before 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
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。