plan-tick

plan-tick is a command for Claude Code from oborchers/fractional-cto. It costs 56 tokens per session (3,696 once invoked), scanned A, original, MIT.

A command that marks master-plan phases complete when the current branch and working files provide enough evidence. It can also mark one specified phase directly.

In plain words
What is it for?
Use it to keep a master plan's phase status aligned with the actual Git branch and code changes.
Why use it?
It avoids treating uncertain work as finished by using a conservative achieved, uncertain, or not-achieved decision. It works without interactive prompts.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the planning-tools plugin — 5 skills, 7 commands, 3 agents shipped together

Good fit Use it to keep a master plan's phase status aligned with the actual Git branch and code changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/oborchers/fractional-cto/plan-tick
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.

Clone the repo
git clone --depth 1 https://github.com/oborchers/fractional-cto

Made for: Claude Code.

Or install planning-tools, the plugin that ships this one along with the rest of its 5 skills, 7 commands, 3 agents.

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 plan-tick

README.md
[![agentmods](https://agentmods.dev/badge/commands/oborchers/fractional-cto/plan-tick/github.svg)](https://agentmods.dev/commands/oborchers/fractional-cto/plan-tick)
Your own site
<a href="https://agentmods.dev/commands/oborchers/fractional-cto/plan-tick"><img src="https://agentmods.dev/badge/commands/oborchers/fractional-cto/plan-tick/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 plan-tick

Your own site · 80×15
<a href="https://agentmods.dev/commands/oborchers/fractional-cto/plan-tick"><img src="https://agentmods.dev/badge/commands/oborchers/fractional-cto/plan-tick.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,696 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.00056 $0.03696
Opus 5.5 $0.00022 $0.01478
Sonnet 5.5 $0.00011 $0.00739
Haiku 4.5 $0.00006 $0.00370

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

Security

Grade A, and why

plan-tick 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 5d 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.

planning-tools/commands/plan-tick.md · 232 lines

How it starts

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

You are ticking master-plan phases. Two modes:

  • Auto mode (no <phase> arg) — detect the current branch, find the master plan matching it, audit each unticked phase against the working tree + branch diff, tick all phases the auditor verdicts ACHIEVED. Conservative — never ticks an UNCERTAIN or NOT_ACHIEVED phase.
  • Manual override (<phase> arg supplied) — tick that one phase in the resolved plan without running the auditor.

Both modes are non-interactive. You must not call AskUserQuestion anywhere in this command. If something cannot be resolved deterministically, error with a clear message — never prompt.

Input: $ARGUMENTS

Parse arguments:

  • First positional integer → manual override mode, target phase number.
  • Second positional path (or first if first arg is a path) → explicit plan file.
  • No args → auto mode.

Step 1 — Detect git context

Run a single bash block that captures:

git rev-parse --is-inside-work-tree || { echo "ERROR: not in a git repo"; exit 1; }
ROOT="$(git rev-parse --show-toplevel)"
BRANCH="$(git branch --show-current)"
# Base branch: try origin/HEAD symbolic-ref, fallback to main, then master
BASE="$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's|^origin/||')"
[ -z "$BASE" ] && git rev-parse --verify --quiet origin/main >/dev/null && BASE=main
[ -z "$BASE" ] && git rev-parse --verify --quiet origin/master >/dev/null && BASE=master
[ -z "$BASE" ] && BASE=main
MERGE_BASE="$(git merge-base HEAD "$BASE" 2>/dev/null || git merge-base HEAD "origin/$BASE" 2>/dev/null)"
echo "ROOT=$ROOT"
echo "BRANCH=$BRANCH"
echo "BASE=$BASE"
echo "MERGE_BASE=$MERGE_BASE"

If not in a git repo, error: /planning-tools:plan-tick requires a git repository.


Step 2 — Resolve the plan path

If the user supplied an explicit path argument: validate the file exists; otherwise error with the path.

Else:

  1. Discover candidate plans. Glob *.md under $ROOT/context/tickets/, $ROOT/docs/plans/, $ROOT/.claude/plans/master/. Filter to files containing ## Implementation Phases.
  2. 0 candidates: error with the searched paths.
  3. 1 candidate: use it.
  4. 2+ candidates — branch-match selection:
    • Normalize the branch name: strip leading feature/, fix/, chore/, bugfix/, hotfix/; lowercase; replace _ and / with -.
    • For each candidate plan, normalize its basename: strip -PLAN.md or .md; lowercase; replace _ and / with -.
    • Find candidates whose normalized basename appears as a substring of the normalized branch name (case + separator insensitive).
    • 1 match: use it. Print: Auto-ticking against <path> (branch <BRANCH> matched).
    • 2+ matches: pick the most-recently-modified among the matches. Print: Auto-ticking against <path> (branch <BRANCH> matched ambiguously; picked most-recent).
    • 0 matches: fall back to the most-recently-modified plan across all candidates. Print: Auto-ticking against <path> (no branch match; picked most-recent).

Read the full file on GitHub · 232 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. 5d ago First seen · 232 lines · 56 tokens per session scan A 5a30e7036cf9

Subscribe to this mod's changes

plan-tick is a command published in the GitHub repository oborchers/fractional-cto (32 stars, last pushed 5d ago), licensed MIT. It adds 56 tokens to every session and 3,696 once invoked, about $0.0002 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-10-13.