Skip to content
Back to skills

Ak Status

ASecurity

Show every open piece of work (saved state, change folders, worktrees and branches with uncommitted, unpushed and PR state) and act on the rows you pick

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add ivan-ii-tech-digital/agent-kit --skill ak-status --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ak Status?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ak Status
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ivan-ii-tech-digital-ak-status/badge)](https://www.skillsdirectory.com/skills/ivan-ii-tech-digital-ak-status)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ak-status
description: Show every open piece of work (saved state, change folders, worktrees and branches with uncommitted, unpushed and PR state) and act on the rows you pick
disable-model-invocation: true
model: sonnet
---

# ak-status

Read first, act only on rows the user names.

## 1. Read

- `ak-state status` (JSON): `states` (the `.agent-kit/state/*.md` files), `worktrees` (path, branch,
  `uncommitted` files, `unpushed` commits or `"no upstream"`, `merged` into `base`, `fresh`, `pr`, `state`,
  `missing` when the folder is gone, `protected`, `primary`, `current`), `branches` no worktree holds
  (with `protected`), `unjoined` (state files whose branch has no row; each gets its own row) and `counts`. `pr` is `"unknown"` when `gh` is missing or offline; say so once. Show a `pr` as its `ref` and `state`
  (`!9 OPEN` is a GitLab MR, `#7 OPEN` a GitHub PR); never rebuild the ref from `number`.
- When `ak-roadmap` is on the PATH (ak-spec enabled): `ak-roadmap status` (change folders with their
  `.change.yaml` delivery state). Otherwise say "change folders: ak-spec not enabled".

## 2. Show

One numbered table, one row per worktree, per branch without a worktree, and per state file whose
branch has neither (a state file joins the row of its branch). Columns: `#`, work (state name or
branch), worktree (or `—`), uncommitted, unpushed, PR, merged, saved / where it stopped, actions.
Under it, the `ak-roadmap status` output verbatim. Then one count line, the `counts` object verbatim:
`<rows> rows: <uncommitted> with uncommitted changes, <unpushed> unpushed, <merged> merged, <saved> saved`.

Actions, offered on a row only when they apply:

| Action   | When                                                       | Does                                                         |
| -------- | ---------------------------------------------------------- | ------------------------------------------------------------ |
| `resume` | the row has a state file                                   | the `/ak-resume <name>` steps                                |
| `save`   | the row is the worktree this session runs in               | the `/ak-save` steps                                         |
| `push`   | unpushed > 0 or `"no upstream"`, and `protected` is false   | `git -C <worktree or primary> push -u origin <branch>` |
| `close`  | the row has a state file                                   | deletes the state file only (work finished or dropped), never code |
| `keep`   | always                                                     | nothing                                                      |

Removing worktrees and branches is `/sync`'s job (ak-git): it checks that the work landed (squash
merges too) and that no ignored local file would be lost, and `/sync --dry-run` previews. `merged` here
only means the branch tip is in `base`; on a row where it is true, point to `/sync`, never remove anything. A
`fresh` row (no commits of its own yet; `merged` is false there) shows "fresh, no commits yet": `/sync` keeps it too.

## 3. Ask

One message: "Reply `<row> <action>` per row, for example `2 push, 5 close`; rows you do
not name are kept." There is no "all" form: on "all", "everything" or "discard all", ask the user to
name the rows. Never offer to discard uncommitted changes or delete an unmerged branch (`git branch -d`
refuses it, and `-D` is never run here). If the user asks for that, show what would be lost
(`git -C <worktree> status --short`, `git log --oneline <base>..<branch>`) and give them the command
to run themselves.

## 4. Act

Run the picked actions one row at a time, one result line each (a failed command: its first error
line, then go on). Then run `ak-state status` again and show the rows that changed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.