obsidian-tasks-cli

obsidian-tasks-cli is a skill for Claude Code, Codex from lexbritvin/obsidian-skills-pack. It costs 90 tokens per session (3,156 once invoked), scanned A, original, MIT.

A command-line tool for reading and changing task checkboxes in an Obsidian note-taking vault. It can list, filter, count, and update tasks while Obsidian is running.

In plain words
What is it for?
Use it to review tasks by folder, file, or daily note; mark tasks done or unfinished; count them; and inspect task progress.
Why use it?
It avoids searching through notes manually to find unfinished, overdue, or completed tasks. It also provides structured output for scripts and more specific task queries.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review tasks by folder, file, or daily note; mark tasks done or unfinished; count them; and inspect task progress.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lexbritvin/obsidian-skills-pack/obsidian-tasks-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lexbritvin/obsidian-skills-pack --skill obsidian-tasks-cli
Clone the repo
git clone --depth 1 https://github.com/lexbritvin/obsidian-skills-pack

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin obsidian-tasks-cli — /plugin install obsidian-tasks-cli after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for obsidian-tasks-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/lexbritvin/obsidian-skills-pack/obsidian-tasks-cli/github.svg)](https://agentmods.dev/skills/lexbritvin/obsidian-skills-pack/obsidian-tasks-cli)
Your own site
<a href="https://agentmods.dev/skills/lexbritvin/obsidian-skills-pack/obsidian-tasks-cli"><img src="https://agentmods.dev/badge/skills/lexbritvin/obsidian-skills-pack/obsidian-tasks-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for obsidian-tasks-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/lexbritvin/obsidian-skills-pack/obsidian-tasks-cli"><img src="https://agentmods.dev/badge/skills/lexbritvin/obsidian-skills-pack/obsidian-tasks-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,156 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.03156
Opus 5.5 $0.00036 $0.01262
Sonnet 5.5 $0.00018 $0.00631
Haiku 4.5 $0.00009 $0.00316

Measured 1mo ago against content hash abb9b415024d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

obsidian-tasks-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/obsidian-tasks-cli/SKILL.md · 255 lines

How it starts

The opening of the file, as written. The whole thing — 255 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Managing Tasks via CLI

Use the obsidian CLI to read and update tasks. Obsidian must be running.

Start with simple CLI commands. Only use obsidian eval when you need filtering that CLI flags can't express (by priority, dates, tags, or custom logic).

Listing Tasks

obsidian tasks todo                    # all incomplete tasks
obsidian tasks done                    # completed tasks
obsidian tasks todo format=json        # JSON output for parsing
obsidian tasks verbose                 # grouped by file
obsidian tasks todo total              # count only
obsidian tasks todo path="Projects"    # filter by folder
obsidian tasks todo file="Shopping"    # filter by file name
obsidian tasks daily todo              # tasks from daily note

JSON output shape:

[
  {
    "status": " ",
    "text": "- [ ] Buy groceries 📅 2025-04-10",
    "file": "Projects/Shopping.md",
    "line": "12"
  }
]

Status characters: " " = TODO, "/" = IN_PROGRESS, "x" = DONE, "-" = CANCELLED.

Updating Tasks

obsidian task path="note.md" line=12 toggle      # toggle status
obsidian task path="note.md" line=12 done         # mark done
obsidian task path="note.md" line=12 todo         # mark todo
obsidian task path="note.md" line=12 status="/"   # set in-progress

To add a new task to a file:

obsidian append path="note.md" content="- [ ] New task 📅 2025-04-10"

append writes whatever text you give it verbatim — match the vault's Task Format setting (Settings → Tasks → Task Format). If it's set to Dataview format, write [due:: 2025-04-10] instead of 📅 2025-04-10 (see obsidian-tasks-syntax for the full field mapping). Check taskFormat in the Tasks plugin's data.json ("emoji" or "dataview") if unsure.

Advanced Queries via Plugin API

For filtering by priority, dates, tags, or any combination — use obsidian eval to access the Tasks plugin cache. The cache holds all parsed task objects with rich queryable properties.

Read the full file on GitHub · 255 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines abb9b415024d
  2. 2mo ago First seen · 253 lines · 90 tokens per session scan A 34783fa1e16f

Subscribe to this mod's changes

obsidian-tasks-cli is a skill published in the GitHub repository lexbritvin/obsidian-skills-pack (3 stars, last pushed 1mo ago), licensed MIT. It adds 90 tokens to every session and 3,156 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gtd-evening

A guided evening routine for a GTD task system, where GTD means sorting work into clear next actions, waiting items, and projects. It reviews the day, records results, and tidies unfinished work.

ZhdanovAlexey/obsidian-gtd-agent · 93 tokens

patent-docket

A workflow coordinator for patent case files, from an inventor's technical disclosure to patent application documents. A patent docket is the tracked record of a patent matter, including its stage, questions, drafts, and handoffs.

handsomestWei/patent-disclosure-skill · 93 tokens

Honesty Check

Run the volunteering ledger before declaring work done. Forces surfacing of what changed/didn't, what was noticed-but-not-fixed, what was guessed, and what tradeoffs were made on the principal's behalf. The standard - the principal should never be surprised later by something the agent knew at the time.

wrg32786/aigent-os · 65 tokens

Envelope

Classify any incoming directive as Ship / Ask one focused question / Propose first. Forces a sharp decision instead of a multi-option survey to the principal. The default failure mode for agents is treating ship-work as ask-work (over-surveying) or treating propose-work as ship-work (rushing irreversible changes).…

wrg32786/aigent-os · 70 tokens

nightly-ledger-capture

Discovers missing honesty, trust-decay, failure-mode, and decision-outcome entries from local evidence; stages judgment and permits direct mutation only after an executable oracle.

wrg32786/aigent-os · 40 tokens

tasknotes

Manage tasks in an Obsidian TaskNotes vault. Use for creating, reading, updating, or completing tasks; checking what is open or in progress; adding items to a list; marking tasks done or in progress; updating task status or priority; investigating why a task is missing from a view or board; troubleshooting TaskNotes…

vanillaflava/tasknotes-skill · 120 tokens