/agentkit:wipfrom agentkit
Report what was started and not finished in a repository — unmerged branches, dirty worktrees, open merge requests and what holds them, open issues you filed, and plans whose own gaps section still lists untracked work. Read-only; it changes nothing. Use when asked "what is half done", "what did I leave unfinished", "what is still open", "status of my work", "anything abandoned", before picking up work after a break, and before calling a plan finished.
Ships in agentkit. 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.
None: SKILL.md is the whole skill.
Answers one question — what did I start and not finish? — from the repository rather than from an agent's recollection of what it did.
wip # this repository
wip ~/code/a ~/code/b # several, one block each
wip --limit 0 # no bounding
wip --no-forge # git and plans only, no network
neutron — 4 unfinished branch(es)
BRANCH feat/incidents-ui 0d 1 commits !633 open
BRANCH fix/core-name-everywhere 7d 0 commits no MR/PR ever opened
ABANDONED feat/model-catalog-auto 5d !492 closed without merging
WORKTREE wt/corename2 DIRTY 11 modified, 2 untracked — do NOT remove at ~/wt/corename2
MR/PR !633 (feat/incidents-ui) held: no approving review
FILED #311 #312 — authored, open, unfixed
DEFERRED #313 — carved out of other work
PLAN plans/057.md 2 gap(s) unclosed
COUNTS 1 abandoned · 20 worktree(s) · 2 open change(s) · 100 filed issue(s) · 1 plan(s) with gaps
NOTE 20 branch(es) hidden: nothing committed, no worktree, no change ever opened
MERGED fix/old — merged on the forge; cleanup, not unfinished work
| Row | Means |
|---|---|
BRANCH | an open change, or none ever opened, or state unknown |
ABANDONED | a change closed without merging — a decision, not an oversight |
WORKTREE | a checkout that still exists; DIRTY ones hold work no branch ref will save |
MR/PR | open and authored by you, with what stands between it and merging |
FILED | issues you opened that are still open |
DEFERRED | filed issues whose text says they were carved out of other work |
PLAN | a plan whose gaps section lists work neither closed nor tracked |
MERGED | merged on the forge — cleanup, not unfinished work |
COUNTS | the other kinds of outstanding thing, broken out rather than summed |
NOTE | something that was not checked or was hidden, and why |
A NOTE row is the important one. An absent section means "nothing found";
a NOTE means "not looked at". They are never conflated, and a bounded list
always says how many entries it dropped.
The headline is unfinished branches only. Branches, worktrees, issues and plan gaps are four
different kinds of thing with four different remedies, so summing them into one number gives a
figure nobody can act on. The rest are broken out on the COUNTS line.
A branch is hidden when nothing was committed, no worktree is checked out on it, and no change was ever opened. Nothing was started, so there is nothing to finish. On one real repository that removed 20 of 41 branches — all created by a worktree harness — and took the headline from a meaningless 150 to an actionable 4.
The test is structural, never by name. A worktree-agent-* pattern would look tidier and is worse:
it would hide such a branch that does carry commits, which is real unfinished work. Having commits
disqualifies a branch from being hidden, so this rule cannot make that mistake. Nor can it hide the
case that matters most — a branch with no commits but a dirty worktree, where uncommitted work
actually lives; the worktree keeps it visible.
Whatever is hidden is counted and stated in a NOTE. Silent omission reads as "nothing else to see".
Uncommitted and untracked files die with the checkout, and the branch ref does not carry them. Commit them, stash them, or leave the worktree alone.
A squash merge destroys the topological evidence by design: the squashed commit is not an ancestor of the branch, and the merge base stays before the squash forever.
Measured against nine branches of known outcome, every git-only rule reported all seven merged ones as still outstanding:
| Rule | On a squash-merged branch |
|---|---|
rev-list --count base..head | ahead forever — the squash is not an ancestor |
git diff base..head | shows the default branch's own later commits as deletions |
git diff base...head | shows the branch's changes since the merge base — never empty |
merge-tree --write-tree, tree compare | correct on a small fixture, wrong once the default branch moves |
The last row is the trap: it passes a two-commit fixture and fails on a real repository, because a fixture whose default branch has not moved cannot distinguish the case it exists to prove.
So wip asks the forge, and distinguishes four answers that mean different things:
When the forge cannot answer, it says so and stops. There is no local rule to fall back to, and guessing loudly in the alarming direction is how a tool like this gets ignored.
A plan's gaps section is the most honest record of what is outstanding. A gap stops blocking when the author does one of two things they would do anyway:
- [x] …, or strike it through (- ~~no longer applies~~)#123, !123, or an issue/MR/PR URL,
on the gap's own line or a sub-bullet under itA bare bullet with neither is what the gate refuses: work stated in the plan, with nothing anywhere that will bring it back.
plan-gate # every plan under this repository
plan-gate --all --tsv # machine-readable, closed and tracked included
plan-gate --require-done # only judge plans that claim to be done
plan-police runs the same checker on every edit that marks a plan done, and
refuses the edit while such a gap stands. Filing the issue and pasting its number
is the fix; AGENTKIT_SKIP_HOOKS=plan-police records a deliberate exception.
Plan layout varies, so nothing about it is hardcoded. Defaults are plans/,
docs/plans/, doc/plans/, .omc/plans/, PLAN.md and PLANS.md, and a
wip: section in ~/.config/agentkit/config.yaml — or the repository's own
.agentkit/config.yaml, which wins — replaces them.
wip:
plan-paths:
- design/decisions
gap-headings: "known gaps|loose ends|snags"
done-markers: "^[[:space:]]*status[[:space:]]*:[[:space:]]*(done|shipped)"
issue-refs: "#[0-9]+|![0-9]+|[A-Z][A-Z0-9]+-[0-9]+"
issue-refs is where a Jira shop adds PROJ-123. It is not on by default:
nothing distinguishes a Jira key from a hex digest or a UTF-8 label, and a false
"tracked" loses the gap silently — the one direction this tool must not fail in.
GitHub and GitLab both work, resolved per repository from its origin host —
including self-hosted instances, via gh auth status and the GitLab version
endpoint. A repository with neither CLI still reports branches, worktrees and
plans, and says in a NOTE what it could not check.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub developerinlondon/agentkit --plugin agentkit20 skills in this plugin
/agentauthzAdminister an agentauthz host over its MCP tools (authz_describe, authz_check, authz_grant, authz_grants, authz_revoke, authz_policies, authz_audit_query): read the descriptor before touching vocabulary, grant curated policies bounded down, probe-check both directions after every change, verify in the audit trail. Triggers: granting or revoking access, authoring or validating authz policy, "why was this denied", bounds, condition keys, agentauthz, authz MCP tools./architectStudy a system and produce living architecture documentation — explanatory pages with high-quality diagrams. Use AUTOMATICALLY when the user asks to document, explain, map, or review an architecture ("how does this system work", "architecture diagram of this repo", "create/refresh the design docs"), or to keep architecture pages current after changes. Orchestrates the diagram and publish-page skills./autonomous-workflowOther plugins' skills for the same job