/corgi:trackerfrom corgi
Tracks work in a corgi workspace (Linear or Jira) by correlating tickets with real branch, PR, and CI state. Answers status questions, triages issues, decomposes epics, and dispatches pickup work.
Ships in corgi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Done when: the question is answered from the live tracker, or the pickup is claimed and handed to stories.
Read the tracker (Linear or Jira) and corgi-compose.yml, tie each ticket to
its real code state, and do four jobs: status, triage, decompose,
pickup. Reports, plans, and dispatches to stories - never writes code itself.
Why not just the tracker UI: it doesn't know your service→repo map, so it can't tell you an In Progress ticket has no branch or a Todo whose PR already merged. That correlation is the point - when compose is on disk, never report status without it.
Exact tracker calls (Linear + Jira tools, JQL, forge queries) live in
references/tracker-and-forge.md - read it before calling the tracker; don't guess a
tool name.
--yes skips
asking).stories, ideas → suggest.../_shared/conventions.md first (attribution, manualRun, preflight, worktrees).A decompose that is really a spec - a vague epic, "break this down" with no detail
in the tracker - is better written as a page the team can mark up before tickets
exist: corgi idea new "<the epic's words>" --type spec (the idea skill), then
corgi idea send <slug> --to linear|jira makes the epic and its tickets once the
split reads right. Offer it when the epic has fewer than three lines of description.
../_shared/conventions.md; read service→dir +
dependency order. Absent → tracker-only; skip Phase 1, say the code column wasn't
checked.../_shared/tracker-mcp.md first. Neither connected → name what to
connect, offer a git-only digest.Per in-scope ticket (skip only if no compose): find its PRs - prefer the tracker's own git links (Linear attachments / Jira dev-panel), else list PRs whose head branch contains the key per repo. Record none/draft/open/merged/closed + link + CI. Read-only; no checkout. Then flag drift:
| Tracker | Code | Report as |
|---|---|---|
| In Progress | no branch/PR | not started |
| In Progress | open PR, CI red | blocked on CI → /corgi-debug |
| In Review | no PR | drift - nothing to review |
| Todo/Backlog | PR merged | stale - close (gate) |
| Done | PR open | premature done |
| any | open PR, no review | needs a reviewer → /corgi-review |
Hold one cache; the jobs below read it, never re-query.
Group the cache, lead with blockers + drift, each line carrying PR + CI:
Cycle 24 · day 6/10 · 14 issues
🔴 ABC-122 api Webhook retries PR #255 open, CI ✗ → /corgi-debug
ABC-130 web New onboarding In Progress 4d, no branch ⚠
🟢 ABC-118 api Add phone field PR #251 draft, CI ✓ → ready to land
✅ Done 5 · 🗒 Todo 3 · ⏳ Stale 1 (ABC-077, 23d)
End with the burn read (can the open points land in the days left? why not) + next actions routed to skills. No cycle (Jira Kanban / Linear without cycles) → group by status column, no burn line. Asked "who" (owner / who to unblock) → add the assignee per line. "Plan next sprint" → propose a set within capacity (tracker velocity if exposed, else ask), carry-over first, producer-before-consumer; offer to move it in (gate).
Plain asks: "sort the new bugs", "which of these matter", "clean up the inbox".
Per untriaged issue, propose (don't apply): label/area (map text → service via
compose + READMEs), priority (real signals, else needs-info + the question),
assignee (by ownership if known, else leave), duplicate (link a candidate).
Table → gate → batch-write. Ambiguous → leave it, flag.
Feature/epic → buildable, ordered tickets (what stories wants):
docs/, treat it as the epic). Large / ambiguous / free-text → settle the boundary
first with superpowers:brainstorming (if installed, else inline Q&A) before
cutting tickets.stories (don't let it re-create them).Two ways in, same dispatch. Read-only here - stories owns the build + its spec
gate.
Resolve the set - read the scope from the user's words; default to the agent
label:
agent queue (label agent).suggest, not pickup.issuetype = Bug). stories builds them bug-tier (red test first).All scopes apply the same floor: not In Progress / not Done, not blocked. Calls
per tracker: references/tracker-and-forge.md. A question or singular ask ("do
we have bugs?", "what should I start with?") → answer the inventory first (count
Drop drift (Phase 1): skip anything already merged or with an open PR - flag, don't rebuild. All scopes.
Present + confirm (one line each, size + service; tag "has spec" when the
ticket already carries one - stories reuses and re-verifies it). Add the
risk skill's story forecast to each line - its gate line, risk 3/10 low · auto-approve: no - story - scored from the
ticket text and the code area it names (confidence: low, never auto-approve). It
is what makes a queue readable at a glance: a forecast of 7+ is a ticket a human
should own the spec of, not one to hand an agent in an unattended round. Auto-pick
= all ready for a batch ask, below the caller's risk ceiling (autopilot
maxRisk, default 6; an interactive ask has none); anything above stays in the
queue - listed with the forecast's Before building items as the reason, never
handed to stories by an unattended round. A singular/question ask → present, let
the user pick.
Hand picked keys to stories - it builds and, as each branch is created,
moves the ticket to in-progress + self-assigns (then → the team's review state
when its draft PR opens) - stories Phases 3 & 5. The in-progress move de-dupes a
looping /corgi-queue (auto-pick takes only not-In-Progress). Loop
/loop 1h /corgi-queue to keep draining on a schedule (each round's batch still
passes the one spec gate - not zero-touch). Empty / all-drift → say so.
One confirm for the whole batch (never per-issue):
Write to <Linear|Jira>: create 3 under EPIC-9 + links · move ABC-118 to Cycle 25 · set GHI-4 High
apply / edit / cancel
On by default (--yes skips). Preflight the MCP is connected - if not, keep the
plan + a paste-ready body + the new-issue URL, stop. Idempotent: match on title/key,
update not duplicate. Post one terse comment, not several - don't spam the ticket;
update an existing comment in place rather than adding new ones. A mention is
@Their Name as the tracker renders it, never a profile URL (../_shared/conventions.md).
Answering a comment reconciles the ticket. After the reply, read the ticket's state
against its PRs: every PR merged and deployed → move it on (or say in the reply that it
is done and who flips it); still open → leave it, and say what is left. A ticket that
reads In Progress a week after its last PR merged is the symptom.
stories · ideas → suggest · unreviewed PR → review · blocked/deployed
→ debug · draft + green → land it (gh pr merge / glab mr merge).Explore per service-area for Phase 1, merge into the cache.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub andriiklymiuk/corgi --plugin corgi33 skills in this plugin
/agentUse for corgi agent mode: Remote Control from a phone, the session board ("who is waiting on me"), watching trackers and PRs ("tell me when someone comments"), why a watch fired, and handoffs ("leave a handoff for ABC-7"). NOT compose authoring (corgi), starting a stack (run), debugging (debug)./alignUse when the user says "align", "let's agree first", or a request can be read two ways before any code. Reaches a shared understanding cheaply, then codes. NOT a plan gate or a long interview./autopilotUse for a SUPERVISED loop that drains the ticket queue into draft PRs: "autopilot", "keep shipping the queue", "drain the backlog overnight". One spec gate per batch, never merges. NOT a single batch (/corgi-queue)./before-afterUse to prove a visual change against what it replaced: "before and after", "screenshot comparison", "attach screenshots to the PR". Captures the same screen on the base branch and yours. NOT a design match (design-parity) or store shots (mobile-screenshots)./budgetUse for "how much budget do I have", "can I start another task", "when does the limit reset". Reads `corgi agent usage --json`, answers in numbers, suggests `corgi agent carry` near a limit./ciUse to put a corgi stack in CI or run e2e across repos: "set up CI for this workspace", "wire this to GitHub Actions/GitLab CI", "full-stack e2e on the PR". NOT compose authoring, local runs, broken stacks or PR review.Other plugins' skills for the same job