summarizing-weekly-work
Skill2 starsChanged 4 months agoMITView on GitHub
Use when asked what was done, left pending, in progress, blocked, or waiting for review over the past week or N days; for a weekly recap, wrap-up, or standup (including the weekly worktree cleanup); "where did I leave off", "what should I continue"; or instead of clicking through old sessions with /resume.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- covidence-full-text-reviewSkill
- covidence-full-text-retrievalSkill
- covidence-screeningSkill
- ilearning-autoadvanceSkill
- oh-my-piSkill
- auditing-worktreesSkill
- hermes-deepseek-cacheSkill
- i-have-adhdSkill
- memory-uiSkill
- oh-my-ghosttySkill
- pbcopy-word-deliverySkill
- session-handoffSkill
- sweeping-merged-worktreesSkill
- tldrSkill
- writing-reportsSkill
- sci-hub-accessSkill
- slack-scanSkill
- superpowers-brainstormingSkill
- superpowers-dispatching-parallel-agentsSkill
- superpowers-executing-plansSkill
- superpowers-finishing-a-development-branchSkill
- superpowers-receiving-code-reviewSkill
- superpowers-requesting-code-reviewSkill
- superpowers-slash-commandsSkill
- superpowers-subagent-driven-developmentSkill
- superpowers-systematic-debuggingSkill
- superpowers-test-driven-developmentSkill
- superpowers-using-git-worktreesSkill
- superpowers-using-superpowersSkill
- superpowers-verification-before-completionSkill
- superpowers-writing-plansSkill
- superpowers-writing-skillsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 55
Write it in this order:
- Very specific: line 66
Every PR is a link. Mark anything inferred rather than observed as (unverified).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Summarizing Weekly Work
Overview
Sessions record what was asked and attempted; GitHub and git record what actually happened. The report joins both per work item and tells the user, for each item, whose move it is and how to jump back in.
Collect
~/.agents/skills/summarizing-weekly-work/week.py [--days 7] [--cwd substring] [--no-worktrees] [--no-gh]One read-only run (~45s) prints:
- Sessions (every top-level omp session active in the window, grouped by cwd): title, first/last asks, open todos, last compaction summary, final reply, and a
resume:command. - GitHub: your open PRs (branch, review decision, requested reviewers, latest reviews, checks, mergeable, opened/updated dates), your PRs merged in the window, PRs requesting your review, PRs you reviewed.
- Worktrees, across every repo with linked worktrees that any omp session ever ran in (not only this week's, since idle worktrees sit in repos you didn't touch): a
sweeping-merged-worktreesdry run (merged / gone / prunable / blocked / keep,[AT RISK]branches) and anauditing-worktreesaudit with a 21-day window, so every worktree has a last-active date.
"Last 3 days" → --days 3. "Just folktale" → --cwd folktale (filters sessions and repos). Output is large; page it rather than skipping sessions.
Classify
One work item = one branch/PR/topic; several sessions and both repos of a backend+frontend pair can be one item. Join on PR number, branch name, or worktree folder in the cwd.
Later and harder evidence wins: GitHub/git state > open todos > compaction summary > final reply. A session saying "not started" is overridden by a merged PR.
| Evidence | Bucket |
| PR merged in window (audit Shipped rows count only if Active is in the window) | Done |
| Open PR: CHANGES_REQUESTED, checks failing, CONFLICTING, or APPROVED but unmerged | Your move |
| Open PR, REVIEW_REQUIRED, no reviewer requested | Your move (request one) |
Open todos (in_progress/pending) and no merged PR | Your move |
| Local-only branch, unpushed commits, or audit Attention row, active in window | Your move |
| Newest session on the item ends asking the user a question or offering a choice | Your move (answer it) |
| Open PR, REVIEW_REQUIRED, reviewer requested | Waiting on others (name the reviewer) |
blocked todo, or waiting on a named person (PO, reviewer, secret, access) | Waiting on others |
| PRs under "Review requested from you" | Your review queue |
| Q&A / explanation sessions, nothing left open | Done (one line, or omit) |
| Open PR not updated in window; Attention rows last active before the window | Parked |
Verify before filing
Session text is a snapshot. When a "Your move" row rests only on session text ("not pushed", "ticket still owed", "will enable X"), or a session's final reply stops mid-work, check it with one git -C <worktree> status -sb / git ls-remote / gh call. Do the same for audit Attention rows: a closed-unmerged PR may have been cherry-picked elsewhere, and dirty files may be untracked notes. Read a session's log: only when neither check decides it.
Report
Write it in this order:
- Header: date range, one-line TL;DR with counts per bucket.
- Next up: the single most urgent "Your move" item, one sentence.
- Your move: table
Item | State (evidence) | Next step | Resume. Resume = thecd … && omp -r <id>of the newest session on that item, or—when no session in the window touched it. - Waiting on others: table
Item | Waiting on | Since | Nudge?. - Your review queue: one line per PR with link and days since opened.
- Done this week: grouped by project, one line per item with PR links.
- Parked: one line per stale open PR or idle unmerged branch.
- Worktree cleanup: see below.
Every PR is a link. Mark anything inferred rather than observed as (unverified).
Worktree cleanup
The weekly report ends with cleanup, using the user's removal rule: merged into the baseline (sweep merged/gone) and last active ≥ 21 days ago, or ≥ 14 days for hotfix/* branches. Take last-active from the audit (Active date or Idle days); eligible date = last active + 21 (or 14) days. The sweep verdict decides "merged"; a row the audit calls shipped but the sweep keeps goes under Needs a look.
| Sub-list | Rows |
| Remove now | Sweep merged/gone meeting the age rule, and every prunable registration. One git -C <repo> worktree remove <path> per row; git -C <repo> worktree prune for prunable |
| Not yet | Merged but too recent: count plus the earliest date one becomes eligible |
| Needs a look | Sweep blocked (merged, tracked edits; name the files), merged rows with a salvaged -> line (untracked files make worktree remove refuse), audit rows with uncommitted files, sweep/audit disagreements, main checkouts off their baseline branch |
| Idle, unmerged | Audit Purgeable rows with status ready/local: list them; the user decides |
| At-risk branches | Sweep [AT RISK] lines verbatim: never git branch -D these |
Commands are proposals, even when the user asked to "clean up": show the list, ask once, and on yes run only the Remove-now rows. git worktree remove refuses dirty worktrees, which is the safety you want, so never add --force. Don't use sweep.py --apply to carry out this list: it removes every merged worktree in the repo, whatever its age. Salvage and removal details: sweeping-merged-worktrees.
Common Mistakes
| Mistake | Fix |
| One row per session | One row per work item; list the newest session's resume command |
| Trusting a session's last reply over GitHub | Status comes from PR/audit state first |
| Hand-parsing session JSONL with jq | Run week.py; it already extracts todos and summaries |
| Listing years-old open PRs in the main tables | They go in Parked |
| Pasting the raw audit tables | Fold audit rows into the work items |
| "Shipped" from the 21-day audit listed under Done this week | Done needs a merge or activity inside the window |
Running sweep.py --apply for the cleanup list | It ignores the age rule; remove row by row |
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.

