pick-next-task
Skill54 starsChanged 4 months agoMITView on GitHub
Pick the next actionable work item from GitHub Issues. Filters open issues labeled agent-ready (spec settled, not blocked), surfaces umbrella/blocked context. Use when starting fresh work or asking 'what should I do next?'
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- matrix/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- promote-ideaSkill
- pr-review-gateSkill
- re-extractSkill
- verify-taskSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
If a filter argument was supplied, match it against titles and labels.
- Very specific: line 54
Create new issues — that's promote-idea.
- Very specific: line 55
Run validation checks — that's verify-task.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Pick Next Task
The agent's what now? verb. Reads the GitHub Issues queue and returns the next pickable
issue with enough context to start work. (Named for the retired tasks/ file queue — the
verb survives, the backend is now issues; see tasks/README.md.)
When to use
- Starting a new work session and asking "what's the next thing?"
- Picking up rosetta after a break
What "pickable" means
An issue is pickable when:
- It is open and labeled
agent-ready— acceptance criteria are settled. - It is not labeled
blockedand its body names no unresolved "blocked on" issue. - It is not labeled
umbrella— umbrellas track themes; work happens in child issues.
Procedure
List candidates.
gh issue list --state open --label agent-ready --json number,title,labels,updatedAtIf a filter argument was supplied, match it against titles and labels.
- If none are agent-ready, widen with
gh issue list --state open --json number,title,labels,body(thebodyfield is what holds "blocked on" references and umbrella checklists) and report what exists instead: discussion-stage issues (unlabeled — could be settled into readiness),blockedissues (say what each waits on), andumbrellaissues (their child checklists show what could be spawned next). Also point atBACKLOG.mdInbox and openbriefings/. - Surface the top pick.
gh issue view <n> --comments, then present: number, title, acceptance criteria,V-*validation rows, and linked briefings or archivedtasks/done/T-*.mdfiles — some issues keep their full spec in the archived task file (e.g. #26 →T-0038), so read those too. - Remind the close discipline. The eventual PR must say
Closes #<n>in its body; partial landings spawn follow-up issues before merge (issue-pr-linking.instructions.md).
What this skill does NOT do
- Assign the issue or open PRs — that happens when work actually starts.
- Create new issues — that's
promote-idea. - Run validation checks — that's
verify-task.
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.

