scratch-status
Skill3 starsChanged 2 months agoMITView on GitHub
Report what is still open across .scratch/: every effort's open tickets and decisions, what blocks it, how stale it is, and the next skill to run. Read-only — never files research, removes anything, or touches disk. Companion to scratch-cleanup, which does those.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architecture-satisfactionSkill
- autopilotSkill
- browser-testSkill
- chatter-scoutSkill
- codebase-designSkill
- code-reviewSkill
- code-smells-auditSkill
- commitSkill
- dependency-auditSkill
- diagnosing-bugsSkill
- distill-sessionsSkill
- domain-modelingSkill
- fix-ci-failuresSkill
- fix-github-issuesSkill
- fix-nightwatch-issuesSkill
- fix-posthog-issuesSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- housekeeperSkill
- implementSkill
- improve-codebase-architectureSkill
- laravel-herd-worktreesSkill
- panelSkill
- prototypeSkill
- releaseSkill
- repository-cleanupSkill
- researchSkill
- resolve-review-commentsSkill
- resolving-merge-conflictsSkill
- scratch-cleanupSkill
- setupSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triage-github-prSkill
- triageSkill
- verifySkill
- wait-whatSkill
- wayfinderSkill
- which-skillSkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Read the tracker layout from .agents/issue-tracker.md (fallback docs/agents/issue-tracker.md, then setup/issue-tracker.md in this …
- Very specific: line 46
done: every file's status is closed or the wontfix role string, every cited commit is on the default branch, and nothing contradicts (a …
≈ “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
Scratch Status
A quick answer to "what's left to do in .scratch/", with nothing written or removed. For
the full sweep (filing research, removing done efforts, judging contradictions), that is
scratch-cleanup; this skill only ever reports.
$ARGUMENTS is an effort slug to scope to .scratch/<slug>/ alone; empty means every effort.
1. Inventory
Read the tracker layout from .agents/issue-tracker.md (fallback docs/agents/issue-tracker.md,
then setup/issue-tracker.md in this collection) and the status vocabulary from the matching
triage-labels.md. Then walk .scratch/ (or just .scratch/<slug>/ when scoped) and find every
effort: a directory holding a map, spec, decisions, tickets, or triage request files. Older
efforts may use an issues/ folder instead of tickets/; treat it as tickets. Skip research/
and any unclassified file: this skill reports on efforts, not the whole inbox.
For each effort, note its last change date: git log -1 --format=%cs -- <path> for tracked
files, the file mtime otherwise.
Done when every effort under scope is found, with a date.
2. Read each effort
For every file in an effort (map, every decision ticket, the spec, every build ticket), read its
status in either dialect: the YAML frontmatter status: field, or a legacy **Status:** /
Status: line near the top of the body. Also read:
- Blockers: any
Blocked byline or explicit dependency reference to another ticket's id. - Claimed-by: whether the ticket is claimed, and by whom.
- Commit references: a 7–40 character hex SHA in the status line,
## Resolution, or## Comments; checkgit merge-base --is-ancestor <sha> <default-branch>(default branch:git symbolic-ref --short refs/remotes/origin/HEADwithout the remote prefix, elsemain).
Classify the effort exactly as scratch-cleanup does:
- done: every file's status is closed or the wontfix role string, every cited commit is on
the default branch, and nothing contradicts (a spec still
ready-for-agentwhile every ticket is closed is a contradiction, so is a closed ticket whose commit is missing). - mismatched: fails the contradiction check, or has a file with no readable status.
- open: has any open file. Note the single most-blocked chain if one ticket blocks several others.
An open effort is stale when its newest file is older than 30 days, the same default
scratch-cleanup uses.
Done when every effort in scope is labelled done, mismatched, or open (with stale marked), and every open ticket has its blockers and claim state noted.
3. Report
Print only this table, one row per effort in scope, most urgent first (unblocked open work, then blocked open work, then stale, then mismatched, then done):
| Effort | Open work | Blocked by | Claimed by | Last change | Stale | Next |
.scratch/<slug>/ | open ticket/decision ids, by number | open blockers, or empty | claimant, or empty | date | yes/no | the skill that moves it forward |
Next names one concrete command: /implement <ticket> for an unclaimed unblocked build
ticket, /grill-me <decision> for an open decision, /wayfinder <map> for a map with no
tickets yet, /to-spec for a resolved map with no spec, /to-tickets <spec> for a spec with
no tickets. A done effort's Next is /scratch-cleanup (nothing else to do here). A
mismatched effort's Next is the one-line contradiction itself, so the user knows what to
settle before either skill can act on it.
Below the table, one line for any effort with no readable status file at all, naming the file.
End with a one-line total: <n> open, <n> stale, <n> mismatched, <n> done. Stop there: no
plan, no questions, no approval prompt, no restating the Next column in prose.
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.

