Daily routines for a corporate software engineering job. Start mode triages the inbound review queue, your own open PRs, and the issue tracker's plan for today, then dispatches agents onto the work. End mode clears the outbox, surfaces review debt, sweeps worktrees for unpushed work, and tidies tracker state for tomorrow. Use via /job, /job start, /job end, or /job setup.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Job?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bendrucker-job)
---
name: job
description: >
Daily routines for a corporate software engineering job. Start mode
triages the inbound review queue, your own open PRs, and the issue
tracker's plan for today, then dispatches agents onto the work. End
mode clears the outbox, surfaces review debt, sweeps worktrees for
unpushed work, and tidies tracker state for tomorrow. Use via /job,
/job start, /job end, or /job setup.
argument-hint: "[start | end | setup] [--dry-run]"
disable-model-invocation: true
allowed-tools:
- Read(${CLAUDE_SKILL_DIR}/references/*)
- Bash(claude agents:*)
- Bash(claude --bg:*)
- Read(~/.config/claude-job-skill/**)
- Bash(cat ~/.config/claude-job-skill/config.json)
- Bash(echo:*)
- Bash(date:*)
---
# Job
Run a daily work routine: gather state read-only, settle what the evidence decides, hand the user only the decisions that are theirs, and put agents on the work. The triage session is an orchestrator: it routes work to other sessions and keeps only a reference to each. The run is done when the checklist in [references/close.md](references/close.md) passes and the session posts `Brief closed`.
## Config
!`cat ~/.config/claude-job-skill/config.json 2>/dev/null || echo CONFIG_MISSING`
If the output above is `CONFIG_MISSING` and the requested mode is not `setup`, run the interview in [references/setup.md](references/setup.md) first, then continue into the requested mode. When the config lacks a key that [references/setup.md](references/setup.md) now asks about, ask that interview item once, write the answer into the config, and continue.
## Mode
Requested mode: `$0`. Local time: !`date "+%A %H:%M"`.
- `start`: read [references/start.md](references/start.md)
- `end`: read [references/end.md](references/end.md)
- `setup`: read [references/setup.md](references/setup.md)
With no argument, suggest a mode from the local time above: before the midpoint of the configured working hours (about 13:00 by default) suggests start, after suggests end. On a weekend, suggest nothing and ask. Confirm the suggestion through the channel in [Questions](#questions) before proceeding.
Arguments beyond the mode are a focus hint ($ARGUMENTS). Weight the brief toward what they name.
## Dry Run
`--dry-run` among the arguments runs gather, Decide, and the brief as usual, and changes nothing. Prefix every decision inbox thread name with `[dry run] ` so it never joins a real project thread. Ask the questions as usual, and treat their answers as feedback rather than approval. Leave the multiplexer layout as it is. In place of each safe action, dispatch, hand-off, and wrap-up step, list what the run would do in the triage thread, with each dispatch's thread name and the first lines of its prompt. The dry run is done when that list covers every item in the brief.
## Delegation
This skill never names platforms. The config declares which version-control platform, issue tracker, worktree tool, terminal multiplexer, decision inbox, messaging platform, email account, and optional personal capture inbox the user works with. For each task, find the installed skill covering the configured tool's task and load it for mechanics, falling back to the configured CLI or MCP directly. Stay read-only until the user confirms actions.
Load each delegated skill before the first call to its platform, in the orchestrator and in every gather sub-agent. Name the skill in each gather prompt, and dispatch gather with an agent type that has the `Skill` tool. Connector calls made without the skill fail argument validation. Take each connector tool's name from its loaded schema, since connectors for the same platform name their write tools differently, such as `save_comment` where another has `create_comment`.
Platforms, hostnames, and usernames come only from the config or the user, never from this skill. The user's own instructions describe their workspace conventions, such as which multiplexer session takes scratch work and which hold areas of work. Those conventions take precedence over this skill's defaults.
## Workspace
When the config names a multiplexer, run triage in a new tab of the inbox session and rename it `Morning Triage` or `Evening Wrap` before gather starts. Dispatches open in area sessions, and every run ends with [references/close.md](references/close.md).
## Brief, then act
Both modes follow this contract.
### Gather
Read-only first. The sources are independent (review queue, own PRs, tracker, messaging inbox, email inbox), so dispatch parallel read-only sub-agents and merge their results. Merge on shared identifiers: when items from different sources name the same issue or MR, they are one piece of work and become one brief entry carrying every source's state. The join is the orchestrator's job, keyed on the cross-references each sub-agent returns.
Ask each sub-agent for a summary per project, with counts and only the items that need the user listed in full. A source that returns every open MR as a row makes a brief nobody reads.
#### Reporting
Sub-agents run in the background, and each report arrives as a task notification. End every gather prompt by naming the report as the agent's final action. Surface each source's findings as its notification lands. Hold the merge and the brief entries until every source has reported. Once the other sources are in, nudge a silent agent once, and run its source inline when the nudge produces nothing.
#### Agents
Background Claude sessions may already be working items in the brief. Run `claude agents --json --all` inline in the orchestrator, since the join needs the raw records a sub-agent summary would flatten. Records join on `sessionId`. A `background` record carries `state` (`working`, `blocked`, `done`, or `failed`, plus `waitingFor` when blocked), and an `interactive` record carries `status` instead. Keep live records and `done` or `failed` records since the last working day. Older ones bury the live ones.
When the config names a multiplexer, load its skill to map live sessions to the panes running them, and record the matched pane on the brief item. Join on `sessionId` when the pane records include one. When they lack it, list panes one multiplexer session at a time, since a structured listing may require a session argument. Then capture each agent pane's screen and match the session name it shows against the record's `name`, confirmed by the pane's directory against the record's `cwd`. A pane that matches on directory alone stays unmatched.
Join a record to a brief item by a full PR URL in its `name`, or by an issue key or `#`-prefixed PR number bounded by non-alphanumeric characters and confirmed against the repo `cwd` resolves to. Match whole identifiers only, since `#42` occurs inside `#142`. Failing that, narrow candidates to the repo `cwd` resolves to and match the name text against item titles. `cwd` is the directory the session launched from, so use it to scope by repo and never report it as the work.
Skip the record for the current session. Surface `blocked` records, which are waiting on the user, and `failed` records, since abandoned work reads as done work otherwise.
### Decide
Settle every decision the evidence decides, and list each as `decided: <choice> (<evidence>)` in the brief so the user can veto it. Evidence decides when a dependency floor fixes a version, a reviewer is already on a sibling MR, a CI failure is a known flake, mail is informational, or a tracker status contradicts merged work. Only reversible actions qualify.
A decision is the user's when it needs their judgment, their account, or their relationships: a reviewer with no precedent, closing work in a space only they control, a reply about their calendar, what to dispatch. Only those become questions.
### Brief
Group the brief by project. Resolve each item to its project through the tracker: an issue carries its project, and an MR or message inherits the project of the work it references. Collapse an MR, its issue, and any thread about the same work into one entry. Keep a `Misc` group for project-less items.
Within a group, order blocking items first, then oldest. Each item gets an identifier with a link, a one-line state, and a recommended action. The mode's phases set what to surface and label each item's role within its project.
When the config names a decision inbox, the chat brief is the group lines, the stated goal, and the links to the threads. A group line is one line: the group name, the count of items for the user, the count filtered out, and whether it is proposed for dispatch. Entries, `decided:` lines, and agent lines go only in threads: a group's entries in its project thread's opening message once that thread opens, and in the triage thread until then, per [references/dispatch.md](references/dispatch.md#threads). Without a decision inbox, the full brief goes in chat.
#### Next actor
Every review-queue item, outbox item, and discussion thread resolves to a next actor before it earns a place in the brief. The test is who the item is waiting on. Items waiting on someone else are dropped.
The user is the next actor when someone asked the user a direct question, when the user has not reviewed the item at all or has not seen the revision now on the branch, when the user's own MR is blocked on something the user owns, or when the item needs a decision that is the user's to make.
Someone else is the next actor when the user commented or reviewed last and nothing the user raised has been answered, when the item is approved or has changes requested and only the author can move it, and when it is blocked on work the user does not own. A thread carrying the user's unanswered comment is waiting on whoever it was addressed to.
An entry collapsing several sources can carry both actors at once. The user wins that tie, because dropping the entry would drop a question addressed to the user. Carry only the parts that resolve to the user into the entry's summary and its recommended action.
A re-review resolves on the revision rather than on its threads. Commits answering the user's earlier feedback make the user the next actor. Threads the author has not answered do not, and they stay out of the item's summary.
Each group ends with a one-line count of what the filter removed, such as `3 items waiting on their authors, not shown`. That count is how the user tells a filtered group from an empty one.
#### Agent lines
An item with a matched agent gains one line under its existing entry:
```
agent `<short id>` · <state>[ (<waitingFor>)] · <age>
```
A live session (`working`, `blocked`, or an interactive session whose `state` is null) adds a second line naming how to get back into it, because that is the action: the multiplexer skill's focus command for a matched pane, otherwise `→ claude --resume <sessionId>`. A `done` or `failed` session gets no action line. The item keeps the action it already had, and the entry carries the `sessionId` as the prior attempt worth reading.
An unmatched agent becomes its own entry when it is `blocked`, `failed`, or `working`, grouped by the repo `cwd` resolves to or `Misc`. A blocked agent sorts with blocking work. Unmatched `done` records are dropped, except that every `done` session still holding a multiplexer pane joins the wrap-up.
Close with the mode's cross-project synthesis: the day's sequence, or the night's open decisions. Omit groups that gathered nothing. A group whose items all resolved to another actor prints its heading with the count line alone. An empty queue is a two-line brief.
### Act
Split recommended actions into two groups:
- Safe: reversible or expected. Assign a reviewer, retry CI, add a reaction or brief acknowledgement, post a reply the user has seen drafted, correct a tracker status, archive a handled notification or email, close the pane of a finished session.
- Ask-first: approve, merge, close without the evidence below, anything hard to walk back. Each needs its own confirmation.
Closing a tracker issue is safe only on evidence the orchestrator checked itself: that issue's own MR merged, or its acceptance criteria met in the code. A sub-agent reporting a merged MR is evidence about the MR. Confirm the MR belongs to the issue before it becomes evidence about the issue, since a linked MR may belong to a sibling.
Drive inbound to zero. Everything that reached the brief leaves the run with a terminal disposition: handled, dispatched, reacted to or briefly acknowledged, deferred to the work tracker as a team-backlog item or to the personal inbox when one is configured, or archived. Assign each entry its disposition when the brief is written, as its recommended action. Entries outside the focus items and dispatches, such as mail tasks, unslotted review requests, direct messages, bot threads, stale MRs, and stale tracker issues, get theirs executed or asked in the first execution pass, beside the dispatch card. Route to the personal inbox only the kinds of item the config's `inbox.routes` lists, and ask about anything else. When the user says "my inbox", route to the personal inbox, never a tracker issue. Where a reaction or brief acknowledgement closes a thread, prefer that over a filler reply. Draft a reply only when it carries real content, and keep it terse.
#### Questions
Ask through the decision inbox when the config names one or the session context says one is on, one question per decision, each with a recommendation. The mode confirmation and the dispatch card go there too. [references/dispatch.md](references/dispatch.md#threads) says which thread each question goes in. When the user writes in chat while a question waits in the inbox, state the question and link its thread rather than asking it again. Without a decision inbox, use AskUserQuestion and ask the questions that block a dispatch in one pass, top blockers first. There, a background agent's idle notification arrives as a user turn and cancels an open question. Re-ask it, since the interrupt is not an answer.
Everything a question does not block keeps moving while it waits.
#### Execution
Run the safe actions right away, quick ones and tracker corrections first, then post what changed with how to undo each: in the triage thread when a decision inbox is configured, otherwise in chat.
Send the dispatch card next, and dispatch each approved workstream per [references/dispatch.md](references/dispatch.md). The dispatch card and the day order are the triage gate: no session-length work, such as a review, starts before the user approves them.
Never dispatch over an item with a live session. Hand the work to that session instead, per [references/dispatch.md](references/dispatch.md#hand-off). A prior session that is `done` or `failed` does not block a fresh dispatch.
End with [references/close.md](references/close.md).
#### New Work
Work that comes up mid-run, from the user, a finding, or a peer, goes to its own session as soon as it needs more than a few tool calls. Dispatch it per [references/dispatch.md](references/dispatch.md), or hand it to a live session that holds the area, and record the session on the brief. The triage session stays the orchestrator. Leading a workstream keeps it from reaching the close.
#### Peer Requests
A peer session may ask triage to run an action it was denied. Report the request to the user as a question carrying the peer's reasoning, and leave the action to the peer once the user approves.