Work with Ticks issue tracker and AI agent runner. Use when managing tasks or issues with tk commands, running AI agents on epics, creating ticks from a SPEC.md, or working in a repo with a .tick directory. Triggers on phrases like create ticks, tk, run ticker, epic, close the task, plan this, break
npx playbooks add skill pengelbrecht/ticks --skill ticks
Ticks is a terminal-first issue tracker designed for AI agents. The tk CLI manages ticks, and tk board serves a local web board over the same data. This skill covers using the tracker and authoring work in it: planning, breaking work into ticks and epics, writing ticks an agent can finish, and handling human gates. Ticks does not run epics — [ticfac](https://github.com/pengelbrecht/ticfac) does (see Running an epic).
Use Ticks (tk) for work that:
Use TodoWrite for:
Don't over-index on creating ticks for every small thing. Use your judgment.
When invoked, follow this workflow:
1. Git repository:
git status 2>/dev/null || git init
2. Ticks initialized:
ls .tick/ 2>/dev/null || tk init
3. tk installed:
which tk || echo "Install: curl -fsSL https://raw.githubusercontent.com/pengelbrecht/ticks/main/install.sh | sh"
A current tk can also install or update this skill directly via tk skills install ticks, but this skill works fine without ever running that command.
4. Git tracking (important):
The .tick/ directory should be tracked by git, not gitignored. Ticks are designed to be version-controlled so they sync across machines and team members via normal git workflows.
If you see .tick or .tick/ in the project's .gitignore, remove it. The only things that should be gitignored are internal/local files, which is handled by .tick/.gitignore (ignores .index.json and logs/).
# Check if .tick is gitignored (should return nothing)
git check-ignore .tick/
# If it returns ".tick/", remove the entry from .gitignore
5. Project files (.tick/config.md, .tick/learnings.md):
Two optional, tracked prose files in .tick/ carry what every agent working the repo should know. Both are purely additive; absence means nothing extra applies.
.tick/config.md — prose a model reads:
tk decide (see Decide and log).Testing hints that are guidance rather than commands..tick/learnings.md — operational learnings for future agents, read in full at every planning pass, so its size is a per-agent context tax:
Problem → Cause → Rule entries, grouped under category headers.Read both fresh at point of use. Re-read them from disk at each planning pass; never inline a stale copy from an earlier session.
The repo's declared test commands live in .tick/runners.toml [testing.commands] — that file belongs to ticfac, which reads it when it runs an epic. When authoring, name those commands in acceptance (see Creating Good Tasks); do not invent new ones there without the human.
Why not AGENTS.md or CLAUDE.md? Those files guide interactive agents in their respective harnesses. The .tick/ files are harness-neutral and travel with the tracker. Projects may cross-reference them, but they must not depend on one vendor's instruction file.
Before creating ticks, collect whatever requirements already exist:
docs/, but follow whatever convention the repo uses)Read what you find. Don't re-ask things that are already answered.
Judge whether you understand the work well enough to decompose it. You should be able to answer:
If there are gaps, close them through conversation: let the user describe the full idea uninterrupted, then ask targeted questions about what's unclear (AskUserQuestion works well for quick multiple-choice decisions).
Capture the understanding in proportion to the work:
SPEC.md, or update the existing doc) so the ticks have a stable reference; if a doc already exists, fill in its gaps rather than starting overreferences/goal-design.md): rearticulate, interview, fact sheet, write-back. It produces the project's verifiable goal before any epic is plannedOnce you can answer the questions above, proceed to creating ticks.
Every task should be an atomic, committable piece of work with tests.
The ideal task:
Good task:
tk create "Add email validation to the registration form" --gloss "signup email validation" \
-d "Validate email format on blur, show error below input.
Test cases:
- valid@example.com -> valid
- invalid@ -> invalid
- @nodomain.com -> invalid
Run: go test ./internal/validation/... -run TestEmail
Must still pass: go test ./internal/auth/... (the signup flow consumes this validator)" \
--acceptance "\`go test ./internal/validation/... -run TestEmail\` passes with the three cases, under the gate's flags; \`go test ./internal/auth/...\` still passes" \
--parent <epic-id>
Bad task:
tk create "Add email validation" -d "Make sure emails are valid" --acceptance "Tests pass"
# No test cases, no command the gate runs - agent will guess, and the gate cannot confirm it
Acceptance names the command the gate actually runs, with its flags. Name the exact entry from the repo's declared test commands ([testing.commands] in .tick/runners.toml, which ticfac reads), or the repo's wrapper for it (e.g. a make test target), and the flags the gate runs it with. A test the gate does not run — skipped under -short, in a suite the gate never invokes — is not evidence, however green it is locally: add it to the gate, or name the gap in the acceptance. "Tests pass" is never a whole acceptance. Good/bad pair in references/tick-patterns.md → Acceptance names the gate's command.
Mention a tick as id (gloss), never a bare id — in chat, reports, notes and commit messages: kdn (add google oauth login), not kdn. The gloss is an optional short label (at most 40 characters) set with tk create --gloss "<label>" or tk update <id> --gloss "<label>"; when it is empty, write a short paraphrase of the title yourself (programs fall back to the title cut to 40 characters). tk show heads a glossed tick with id (gloss), and tk list shows the gloss in place of the title. Set --gloss whenever a title is longer than a few words. tk create and tk update print a warning on stderr (not a refusal) when a title over 50 characters has no gloss.
Run the Definition of Ready checklist in references/tick-patterns.md against each tick before creating it; see that file for the full patterns.
Plan with your strongest model. Decomposition is the highest-leverage decision in the epic: do it at the most capable model and reasoning effort available, even when implementation will later use a cheaper one. Use parallel read-only exploration when the harness supports it.
Transform the gathered requirements into ticks organized by epic.
> Opt-in structure conventions (ladder, container DoR, cycle/milestone/initiative): references/big-picture.md
Most work starts here: a flat roadmap of sequenced epics, dependencies, and nothing else. That is the "just ship it" default, and it is all you ever need for a single workstream. The features below — projects, buckets, target_date — layer on top when the work grows large enough to need them.
Ticks has one recursive container type. Role is derived from structure and the explicit epic marker:
| Has children? | epic marker? | Children contain | Role |
|---|---|---|---|
| no | no | — | tick — atomic work |
| no | yes | — | empty epic — needs planning |
| yes | yes | any | epic — orchestration unit (waves, close-out, retro) |
| yes | no | all atomic | bucket — passive grouping only |
| yes | no | includes a container | project — grouping + human checkpoint |
The core principle: containment is free and passive; orchestration is opt-in.
-t epic marker turns a container into an orchestration unit: its children form waves (a runner such as ticfac runs them), it gets the EPIC-SKELETON process ticks (final review + close-out/retro — see below), it is a roadmap node. The marker means the same thing whether the epic is empty or populated — it is never derived from structure alone. Promoting an existing container to an epic (tk update <id> -t epic) triggers the EPIC-SKELETON check immediately — promotion bypasses the normal planning flow, so verify/create the two process ticks at the moment of promotion, not later.Give every epic an explicit definition of done: the outside-in, user-visible conditions that mean the whole epic is complete — not merely that its child ticks closed. Store it as the epic's --acceptance, one [A<n>]-marked line per item:
tk create "Auth foundation" -t epic -d "<rough scope>" \
--acceptance "[A1] A new user can sign up, log in and see their profile against a real DB — \`make e2e\` (go test ./e2e/... -run TestSignup, no -short).
[A2] \`go test ./internal/auth/...\` passes, run as the gate runs it.
[A3] No auth route returns 5xx on the happy path — \`make e2e\` asserts every auth route's status.
[A4] (not yet runnable — judged at final review) Login error messages name the field that failed."
Optional, but strongly encouraged — it is the single thing that lets a run know when it is actually finished rather than just out of ticks. The close-out tick verifies the code against this definition item by item; without it, close-out falls back to re-deriving scope from the epic's prose.
Items, not a sentence. Acceptance is consumed item by item: a runner maps an A<n> id to the command that proves it, and reports which item a finding makes unreachable. A prose done cannot be addressed that way. Each item is either:
(not yet runnable — …), or (human judgment) for taste).Keep A<n> ids unique across containers — the epic and its project must not both use A1; continue the numbering.
When the done is a run, the epic contains the run. If an item is proven only by running the thing for real (a live job, a deploy, an end-to-end run), then (1) the first tick wires the thinnest end-to-end path through the production entry point, tested through that entry point, and (2) a named tick inside the epic performs the run, before the final review. A seam nothing constructs is not delivery: every tick green against fakes, with the production entry point never wiring them, is how an epic closes without its run. If the run genuinely lives in another epic, the acceptance says so in words. Layout in references/tick-patterns.md → Pattern: Epic Whose Done Is a Run.
Make it goal-compatible. A definition of done is goal-compatible when an agent can confirm it is met with no human in the loop:
A goal-compatible done is what makes an epic safe to hand off and walk away from (see Goal-ready handoff). Items that genuinely need human taste ("looks right", "feels fast") are fine to write down, but keep them behind an --awaiting gate instead of expecting an autonomous run to settle them.
Projects deserve the same treatment one level up: a goal statement in the project's description and a fact sheet — discrete, testable [A<n>]-marked outcome statements — as the project's --acceptance. Design the goal with the human before planning the child epics, using the protocol in references/goal-design.md (rearticulate → interview → fact sheet → write-back). The facts turn the project checkpoint from "pause for a look" into item-by-item goal verification, and they are what lets an autonomous run legitimately flow through a project boundary — or stop on a real gap. Keep A<n> IDs unique across containers (the epic and its project must not both use A1).
When the spec spans multiple epics, link them with ordering edges. Two types exist, and choosing correctly is the core decision:
--blocked-by = hard dependency (feasibility). The downstream epic is never ready until the blocker closes. Use it only where the epic genuinely needs its predecessor — including sequencing chosen to avoid same-file merge conflicts (that is a real constraint, not a preference).--after = soft ordering (preference). It orders, but never gates readiness. tk next sorts soft-deferred candidates last but never hides them — when the preferred epic is infeasible, selection naturally skips ahead to the first feasible epic. Missing or closed --after targets are ignored.tk roadmap layers epics into waves on the union of both edge types and annotates each distinctly (← blocked by: vs the softer ← after:); queued status comes from hard edges only — an epic whose only open predecessors are soft stays ready/active.
Only the front epic gets child ticks. Downstream epics exist as parent-only ticks — give each a rough scope description (a paragraph plus a deliverables list), not detailed tasks. This is just-in-time detailing: future epics stay cheap to reorder or rescope.
# Create the roadmap up front — only epic A gets child ticks now
tk create "Auth foundation" -t epic -d "<rough scope>" # A — flesh out now
tk create "Team workspaces" -t epic -d "<rough scope>" --blocked-by <A> # B — genuinely needs A's auth model
tk create "Billing" -t epic -d "<rough scope>" --after <B> # C — preferred order only, no real dependency
EPIC-SKELETON invariant: every runnable epic ends with two process ticks — a final-review tick, then a close-out tick. Create both at planning time, immediately after the implementation ticks, whenever an epic gets child ticks (front epic now; downstream epics when their close-out fleshes them out):
# 1. Final review — blocked by every last-wave implementation tick
tk create "Final review of <epic A> diff" \
--parent <A> --role review \
--blocked-by <last-wave-tick-1> --blocked-by <last-wave-tick-2> # every last-wave tick
# 2. Close-out — blocked by the final review, always the last child
tk create "Close out <epic A>: run epic retro, then flesh out the next feasible epic into ticks" \
--gloss "close out <epic A>" --parent <A> --role closeout \
--blocked-by <final-review-tick>
The --role review|closeout flag makes the skeleton structural: tk graph <epic> --json reports missing_process_ticks (the roles no child carries) from this field, so a missing or incomplete skeleton is detected mechanically, never by title-matching. If an epic already has these ticks without roles, repair with tk update <id> --role review|closeout.
The final-review tick's work is reviewing the epic's full diff against its description and acceptance, and resolving or routing findings (blockers become repair ticks that block the review) before close-out unblocks. The close-out tick's work is: verify the epic's definition of done outside-in, item by item; run the epic-close retro (harvest learnings into .tick/learnings.md, compact it); then pick the next feasible epic in soft order — skip any that is hard-blocked or gated — read its rough scope, partition it into child ticks including its own EPIC-SKELETON pair, and continue with tk graph <that-epic>. The epic boundary is handled structurally — no discretionary handoff, no human re-prompt needed. Whoever runs the epic (ticfac, or an agent working ticks by hand) executes these two ticks; authoring them is this skill's job.
Planning triggers from tk. Three CLI signals tell you that an epic needs planning or repair now:
tk next <roadmap-epic> --json returns {"action":"plan",...} when the next item is an unblocked childless epic. Human-readable output looks like <id> P<n> epic <title> (needs planning — no child ticks). The action field is present on all tk next --json results: implement for a ready task, plan for an unplannable epic, and await for --awaiting mode results — so orchestration can branch on it directly.tk graph <epic> --json returns {"needs_planning": true,...} when that specific epic is plannable now (zero children and unblocked). Blocked childless epics and fully-closed-children epics carry false with explanatory human output.tk graph <epic> --json returns missing_process_ticks (e.g. ["review","closeout"]) when the epic has children but its EPIC-SKELETON is incomplete — no child carries that --role. The fix is repair, not replanning: create the missing process ticks (templates above). Empty array means the skeleton is complete; for a childless epic it is also empty because needs_planning is the signal and planning creates the skeleton.When either signal fires, the move is: flesh the epic out into child ticks (per the roadmap guidance above and the foundation-first procedure in references/tick-patterns.md), then continue with tk graph <epic>.
Roadmap-level changes — adding, removing, or reordering epics — are human decisions. The agent may propose them in the retr
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.