obsidian-tasks-caldav: Command for Claude Code

.claude/commands/pm/next.md

next is a command for Claude Code from josecoelho/obsidian-tasks-caldav. It costs 0 tokens per session (252 once invoked), scanned A, original, MIT.

A command that recommends which open GitHub issue to work on next. It considers issue priority, active pull requests, dependency blockers, data-loss or protocol risk, and whether an issue unblocks other work.

In plain words
What is it for?
Use it to review open issues and pull requests, filter out issues already in progress or blocked by other issues, and compare the top three remaining candidates.
Why use it?
It reduces the manual effort of sorting a busy issue tracker and helps avoid starting work that is already covered or blocked.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is josecoelho/obsidian-tasks-caldav's own configuration. It tells Claude Code how to work on obsidian-tasks-caldav itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything obsidian-tasks-caldav configures →

Reuse

Borrowing it

Nothing to install: this file belongs to josecoelho/obsidian-tasks-caldav. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/josecoelho/obsidian-tasks-caldav/master/.claude/commands/pm/next.md
Clone the repo
git clone --depth 1 https://github.com/josecoelho/obsidian-tasks-caldav

Made for: Claude Code.

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 next

README.md
[![agentmods](https://agentmods.dev/badge/commands/josecoelho/obsidian-tasks-caldav/next/github.svg)](https://agentmods.dev/commands/josecoelho/obsidian-tasks-caldav/next)
Your own site
<a href="https://agentmods.dev/commands/josecoelho/obsidian-tasks-caldav/next"><img src="https://agentmods.dev/badge/commands/josecoelho/obsidian-tasks-caldav/next/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 next

Your own site · 80×15
<a href="https://agentmods.dev/commands/josecoelho/obsidian-tasks-caldav/next"><img src="https://agentmods.dev/badge/commands/josecoelho/obsidian-tasks-caldav/next.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 252 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.00000 $0.00252
Opus 5 $0.00000 $0.00126
Sonnet 5 $0.00000 $0.00050
Haiku 4.5 $0.00000 $0.00025

Measured 9d ago against content hash 0fd201ecb5a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

next 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 9d 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.

.claude/commands/pm/next.md · 17 lines

What it actually says

Recommend which GitHub issue to work on next.

Steps:

  1. Fetch open issues: gh issue list --state open --limit 50 --json number,title,labels,body,createdAt
  2. Fetch open PRs to see what's already in progress: gh pr list --state open --json number,title,body
  3. Filter out issues that appear to have active PRs (linked via "closes #N" or "#N" in PR body)
  4. Check for dependency chains: scan issue bodies for "blocked by #N" or "depends on #N" patterns — skip issues whose blockers are still open
  5. Score remaining issues by:
    • Priority label (p0 = 4, p1 = 3, p2 = 2, p3 = 1, unlabelled = 0)
    • Data-loss or protocol risk (bonus +1)
    • Unblocks other issues (bonus +1)
  6. Present top 3 recommendations:
    • Issue number, title, labels
    • Why this one: 1-2 sentences of reasoning
    • What it involves: brief scope estimate
  7. Ask which one to pick (or suggest a different one)
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. 9d ago First seen · 17 lines · 0 tokens per session scan A 0fd201ecb5a7

Subscribe to this mod's changes

next is a command published in the GitHub repository josecoelho/obsidian-tasks-caldav (42 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 252 tokens. 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-30.