sitrep
Skill1 starsChanged 51 days agoMITView on GitHub
Situation report across every git repo in a workspace — scans for uncommitted changes, unpushed commits on any branch, stashes, parked feature branches, and forgotten git worktrees (anything pending a decision), then cross-references project docs for planned roadmap items and renders it all as a self-contained HTML infographic (branch graphs, dirty-tree meters, stash flags). Use whenever the user asks for a sitrep, status report, "what's pending", "where did I leave off", "state of my projects", "anything uncommitted?", "what's left on the roadmap", or wants a morning/weekly overview of the whole workspace — even if they only vaguely ask what needs attention.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- zen-solutions-dev/zen-agent-skillstheir own version, first seen Nov 22, 2026
- jpantsjoha/ai-native-developer-experiencetheir own version, first seen Nov 20, 2026
- silouone/skillstheir own version, first seen Nov 8, 2026
- babs/skillstheir own version, first seen Nov 8, 2026
- hams-ollo/zen-agent-skillstheir own version, first seen Nov 1, 2026
- chrisalehman/bionictheir own version, first seen Nov 1, 2026
Used with
Projects with it also use wayfinder.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillwayfinder
Plan a huge chunk of work — more than one agent session can hold — as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
Also in 3 projects that use this
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- instructa/agent-skills★ 139same name
- iamneilroberts/claude-skills★ 37same name
- KrishP147/skills★ 37same name
- skyf0xx/gambit★ 29same name
- jpantsjoha/ai-native-developer-experience★ 13same name
- chrisalehman/bionic★ 10same name
- silouone/skills★ 4same name
- babs/skills★ 3same name
- armenr/modelmux★ 2same name
- hams-ollo/zen-agent-skills★ 2same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Run the bundled script (fast, read-only):
- Distinctive: line 64
Treat these as pending decisions, in rough priority order:
- Distinctive: line 128
If the workspace has a project-tracker MCP connected, it's a richer live source — use it as a supplement, never a requirement.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Sitrep
Produce a decision-oriented situation report for a whole workspace of repos: what work is sitting uncommitted or unpushed (and what to do about it), plus what's planned-but-not-started according to project docs.
The goal is not a data dump — it's to answer two questions the user actually has:
- What did I leave hanging, and what decision does each item need? (commit / push / PR / discard / finish)
- What's next on each project's roadmap?
Setup
The scan defaults to ~/Development as the workspace root. If the user's repos live
elsewhere, pass the root as an argument, or edit ROOT at the top of
scripts/git_scan.sh. Same for SKIP_DIRS — the directories to ignore.
Step 1 — Git scan
Run the bundled script (fast, read-only):
~/.claude/skills/sitrep/scripts/git_scan.sh # defaults to ~/Development
~/.claude/skills/sitrep/scripts/git_scan.sh ~/src # or point it anywhereIt prints a summary table for every repo plus a TOTAL row, then detail blocks for repos with
pending work. Its scope is every top-level directory with a .git, minus SKIP_DIRS. Linked
worktrees are reached through their repo's git worktree list wherever they live — inside the
repo, where agent tools often create them, beside it, or in a temp dir — and are never swept as
repos of their own. No fetch, no network, and GIT_OPTIONAL_LOCKS=0, so it never takes
index.lock in a worktree another session is committing in.
Summary columns. DIRTY / UNTRK / STASH are the main checkout. AHEAD / BEHIND are the
checked-out branch against its upstream. UNPUSHED is the number to trust: commits on no
remote across every local branch and detached worktree HEAD (every commit, when there is no
remote). A repo can be clean and synced on main while its side branches hold dozens of
local-only commits; that repo still gets a detail block. WT is its linked worktrees,
WT-DIRTY their git status entries combined, and WT-FLAGS counts tmp (worktrees in a
temp dir the OS clears on reboot) and prunable (checkout gone). The TOTAL row feeds the
header stat blocks.
Detail blocks, per repo with pending work:
[changes]— the main checkout's status entries, with the time of the newest edit.[unpushed commits]— the UNPUSHED count and its newest 10 subjects.[stashes][branches]— every branch that holds unpushed commits or is checked out:*here,+in a linked worktree (→its path). Each shows its sync state against its own upstream (synced,ahead n,behind n,gone,no upstream) and its unpushed count. The rest collapse into one… n more, every commit on a remoteline, so deleting those loses nothing. Per-branch counts overlap when one branch is built on another; UNPUSHED is the deduplicated total.[worktrees]— one line per linked worktree: its branch ordetached@sha, thenn dirty · newest <time>orclean, then its path and flags. The flags areAT-RISK: temp dir;PRUNABLE: directory goneor.git link gone(the directory is still there but no longer a checkout, so git tracks nothing in it);n commit(s) on no branch or remote(only this detached HEAD holds them); andlocked: <reason>(often the agent session that created it, which may still be running).
Treat these as pending decisions, in rough priority order:
- Worktree in a temp dir with work in it — AT-RISK plus dirt or unpushed commits. The next reboot takes it, so it outranks everything else: commit and push, or move it out of the temp dir.
- Dirty working tree — uncommitted edits, in the main checkout or a linked worktree. The
bigger and older (see the newest-edit time), the more urgent the decision. A worktree edited
in the last few hours, or
lockedby a session, is probably live: say so rather than suggest discarding anything. - Unpushed commits — read UNPUSHED, not AHEAD. AHEAD only tracks the checked-out branch,
and side branches and detached HEADs are where this work hides. A branch with
no upstreamexists only on this disk. - Repo parked on a non-main branch — usually a feature mid-flight; is it done, abandoned, or waiting on a PR?
- Stashes — easily forgotten; either worth recovering or worth dropping.
- Prunable worktrees —
git worktree prunehousekeeping. Check the line first: a detached HEAD with commits on no branch loses them to the prune, and a.git link gonedirectory may still hold files. - Agent-created branches (
claude/*,codex/*, or whatever your tooling names them) — leftovers from agent sessions. Those in the collapsed… n moreline hold nothing unpushed (the ones withupstream gonewere usually merged and deleted on the remote). For any listed with unpushed commits, checkgit branch --no-merged mainbefore calling them deletable. - No remote — every commit is one disk failure from gone; suggest adding a remote.
Step 2 — Identify what the pending work IS
A count of dirty files is not a decision. For each repo with pending work, spend one or two cheap commands to characterize it so you can recommend an action:
git -C <repo> diff --stat | tail -5 # shape of the edits
git -C <repo> log --oneline -3 # what was last happening
git -C <repo> stash show stash@{0} --stat # what a stash containsFor a dirty worktree, run the same commands with -C <its path>. For a side branch,
git -C <repo> log --oneline -3 <branch> shows what it holds.
Then classify: ready to commit (coherent, complete-looking), needs review (mixed concerns, generated assets + code together), probably discardable (build artifacts, lockfile churn, doc regen), or mid-flight feature (partial implementation). Say which and why in one line each. Don't commit, push, or discard anything yourself — this skill reports; the user decides.
Step 3 — Roadmap scan
Planned work lives in per-project docs under inconsistent names. Per repo, check for whichever of these exist (skip repos with none):
ROADMAP.md,TODO.md,BACKLOG.md,PLAN*.md,MIGRATION.mdCLAUDE.md/.claude/CLAUDE.md/AGENTS.md— often ends with "current state" or "next steps" notes- Any design doc the project treats as canonical (
GDD.mdfor games,masterplan.md,docs/*.md): look for "Roadmap", "Planned", "Future", "Phase" sections
A cheap way to find them:
ls <repo>/*.md <repo>/docs/*.md 2>/dev/nullExtract only items that are planned but not visibly started — cross-reference against the git scan: a roadmap item with a matching in-flight branch belongs in the pending-decisions section ("mid-flight"), not the roadmap section. Note doc staleness when a "planned" item was clearly already shipped.
If the workspace has a project-tracker MCP connected, it's a richer live source — use it as a supplement, never a requirement; the skill must work from files alone.
Step 4 — Build the infographic
The deliverable is a single self-contained HTML infographic, not a text report. Start from
~/.claude/skills/sitrep/assets/template.html — it contains the full stylesheet, section
skeleton, and a fully worked example card in comments. Copy its structure into a new file;
never edit the template in place. It needs no external resources, so it renders anywhere.
Fill the four sections with these visual encodings (all classes documented in the template):
- Needs-a-decision cards, ordered by work at risk (a 90-file dirty tree before a 1-commit
doc push). Per card:
- risk class
risk-high/risk-med/risk-low→ colored left stripe + chip - dirty-tree size → the
.meterbar, width % ≈min(100, dirty + untracked + WT-DIRTY)— big half-finished work should look big, wherever it sits. The.meter-labelsplits the main checkout from its worktrees (0 in main · 133 in worktrees) - each branch from
[branches]→ a.branchlane in the mini git-graph, with the right dot + status chip:cur(checked out),ahead(▲n unpushed),local(no upstream — exists only on this disk),gone(upstream deleted), or synced - each linked worktree with dirt or a flag → a lane with the
wtdot and chip (worktree · 12 dirty), ortmpfor AT-RISK (/tmp worktree · 4 dirty · gone on reboot); also list AT-RISK and prunable worktrees under Housekeeping,alertwhen work is at stake - a repo parked on a non-main branch →
badge parkedon the header chip - stashes → the dashed
.stashbox (dashed = orphaned work attached to no branch) - unpushed commits → purple
.cdotdots, one per commit of UNPUSHED (all branches, not just AHEAD) - the one-line classification from Step 2 in
.what, and the action in the.recfooter
- risk class
- Roadmap items → one
.ritemper item with the project tag and source doc; useritem midflight(dashed purple) for items that turn out to be already started on a branch. - Quiet repos → green
.chipcloud, no detail. - Housekeeping →
.houselist;alertclass for data-loss risks (no-remote repos, orphaned stashes, temp-dir worktrees holding work, prunable worktrees whose detached HEAD holds commits).
Fill the header stat blocks (repos scanned / need decision / unpushed commits / uncommitted in worktrees / stashes / clean) from the TOTAL row — UNPUSHED and WT-DIRTY for the middle two. They're the 5-second version of the whole report.
Save the file somewhere temporary (a session scratchpad if your harness has one, else /tmp),
named sitrep-<YYYY-MM-DD>.html, and present it — render it inline if your harness can,
otherwise open <file>. Then give a 3–6 line text summary in chat — top decisions first —
that stands alone if the HTML is never opened. If everything is clean, say so prominently and
let the roadmap lead the infographic.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

