obsidian-tasks
GitHub用于通过 Obsidian CLI 管理 Vault 中的任务,支持创建、列出、更新、切换状态及汇总每日笔记任务。涵盖路径指定、详细输出及安全操作指引。
Trigger Scenarios
Install
npx skills add fanfan-de/anybox --skill obsidian-tasks -g -y
SKILL.md
Frontmatter
{
"name": "obsidian-tasks",
"description": "Use when listing, creating, appending, updating, toggling, completing, or summarizing tasks and daily-note tasks in an Obsidian vault through the official Obsidian CLI."
}
Obsidian Tasks CLI
Use this skill when the user asks about todos, tasks, checkboxes, daily note tasks, or task status changes in Obsidian.
Daily Notes
obsidian daily
obsidian daily:path
obsidian daily:read
obsidian daily:append content="- [ ] Follow up with Sam" open
obsidian daily:prepend content="## Plan"
Use daily:path before path-sensitive operations. Use daily:append for new tasks unless the user asks to place content elsewhere.
List Tasks
obsidian tasks
obsidian tasks todo
obsidian tasks done
obsidian tasks daily
obsidian tasks verbose format=json
obsidian tasks path="Projects/Roadmap.md" todo
Use verbose when the next step needs file paths and line numbers.
Update Tasks
Task updates require a file and line number, or a path:line reference from verbose output.
obsidian task ref="Projects/Roadmap.md:18" toggle
obsidian task ref="Projects/Roadmap.md:18" done
obsidian task path="Projects/Roadmap.md" line=18 todo
obsidian task daily line=3 done
Before changing task status, identify the task unambiguously. If multiple tasks match the user's wording, show the likely matches and ask which one to update.
Status Characters
obsidian tasks 'status=?'
obsidian task ref="Projects/Roadmap.md:18" 'status=-'
Quote custom status characters in PowerShell when they could be parsed as shell syntax.
Safety
Completing or toggling a task is a write operation. Do it directly when the user's instruction is explicit. Ask for clarification when the target task is ambiguous.
Version History
- 08dc189 Current 2026-07-05 19:03


