Task Router Skill
Task Router
Obsidian CLI 探索记录
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install 0x-cryptopriest/obsidian-cli-skillsInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
更新时间:2026-03-05
Obsidian CLI 是一个命令行工具,用于操作 Obsidian vault(笔记库)。它可以完成搜索、创建、移动、删除笔记等操作。
/Users/luoxiaohei/.openclaw/obsidian_workspace
obsidian-cli set-default "<vault路径>"
obsidian-cli create "笔记名" --content "内容"
参数:
| 参数 | 简写 | 说明 |
|---|---|---|
| --content | -c | 笔记内容 |
| --open | -o | 创建后打开笔记 |
| --overwrite | -o | 覆盖已存在的笔记 |
| --append | -a | 追加到已存在的笔记 |
| --vault | -v | 指定 vault 名称 |
示例:
obsidian-cli create "新笔记" --content "这是笔记内容"
obsidian-cli create "test-note" --content "This is a test note" --open
obsidian-cli print "笔记名"
示例:
obsidian-cli print "test-note"
# 输出: This is a test note
obsidian-cli search "关键词"
说明: 交互式搜索,会打开 Obsidian 让你选择笔记。
obsidian-cli search-content "关键词"
说明: 在笔记内容中搜索包含指定关键词的笔记。
⚠️ 注意: 当前版本测试有问题,可能需要指定 vault 参数。
obsidian-cli move "旧路径" "新路径"
特点: 移动时会自动更新 wiki 链接。
示例:
obsidian-cli move "test-note" "test-note-moved"
# 输出: Moved note from .../test-note.md to .../test-note-moved.md
obsidian-cli delete "笔记名"
示例:
obsidian-cli delete "test-note-moved"
# 输出: Deleted note: /Users/luoxiaohei/.openclaw/obsidian_workspace/test-note-moved.md
# 查看 frontmatter
obsidian-cli frontmatter "笔记名" --print
# 修改 frontmatter
obsidian-cli frontmatter "笔记名" --edit --key "key名" --value "值"
# 删除 frontmat...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# Obsidian CLI 探索记录 > 更新时间:2026-03-05 ## 简介 Obsidian CLI 是一个命令行工具,用于操作 Obsidian vault(笔记库)。它可以完成搜索、创建、移动、删除笔记等操作。 ## 环境配置 - **默认 Vault**:`/Users/luoxiaohei/.openclaw/obsidian_workspace` - **设置默认 Vault**:`obsidian-cli set-default "<vault路径>"` --- ## 命令列表 ### 1. create - 创建笔记 ```bash obsidian-cli create "笔记名" --content "内容" ``` **参数:** | 参数 | 简写 | 说明 | |------|------|------| | --content | -c | 笔记内容 | | --open | -o | 创建后打开笔记 | | --overwrite | -o | 覆盖已存在的笔记 | | --append | -a | 追加到已存在的笔记 | | --vault | -v | 指定 vault 名称 | **示例:** ```bash obsidian-cli create "新笔记" --content "这是笔记内容" obsidian-cli create "test-note" --content "This is a test note" --open ``` --- ### 2. print - 打印笔记内容 ```bash obsidian-cli print "笔记名" ``` **示例:** ```bash obsidian-cli print "test-note" # 输出: This is a test note ``` --- ### 3. search - Fuzzy 搜索 ```bash obsidian-cli search "关键词" ``` **说明:** 交互式搜索,会打开 Obsidian 让你选择笔记。 --- ### 4. search-content - 全文搜索 ```bash obsidian-cli search-content "关键词" ``` **说明:** 在笔记内容中搜索包含指定关键词的笔记。 **⚠️ 注意:** 当前版本测试有问题,可能需要指定 vault 参数。 --- ### 5. move - 移动/重命名笔记 ```bash obsidian-cli move "旧路径" "新路径" ``` **特点:** 移动时会自动更新 wiki 链接。 **示例:** ```bash obsidian-cli move "test-note" "test-note-moved" # 输出: Moved note from .../test-note.md to .../test-note-moved.md ``` --- ### 6. delete - 删除笔记 ```bash obsidian-cli delete "笔记名" ``` **示例:** ```bash obsidian-cli delete "test-note-moved" # 输出: Deleted note: /Users/luoxiaohei/.openclaw/obsidian_workspace/test-note-moved.md ``` --- ### 7. frontmatter - 查看/修改 YAML 头信息 ```bash # 查看 frontmatter obsidian-cli frontmatter "笔记名" --print # 修改 frontmatter obsidian-cli frontmatter "笔记名" --edit --key "key名" --value "值" # 删除 frontmat...
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.