What an agent noticed, tracked as real work
A free, open-source tool by DBHQ - documented at skills.dbhq.uk
File what an agent notices as tracked work on GitHub - and keep a roadmap in git that says what comes next and why.
An agent skill for Claude Code and Codex. File a side issue mid-task without stopping, link designs to the issues that track them, reason about work order, and render a roadmap from the dependency graph.
Three things happen in most agent workflows and none of them survives the session:
- An agent finds a side issue while doing something else, mentions it, and it is gone.
- An idea or a design gets written into a spec file and nothing tracks whether it was acted on.
- Nobody can say what order open work should be done in because dependencies are stated in prose, not declared.
deskwork closes all three. It files the side issue, links the design file to an issue that tracks it, and reasons about precedence, writing the conclusion back to GitHub as real dependency links.
/plugin marketplace add dbhq-uk/marketplace
/plugin install deskwork@dbhq
npx skills add dbhq-uk/deskwork-skillThe skills.sh CLI installs into whichever agent directories it finds, so this works outside Claude Code and Codex too.
git clone https://github.com/dbhq-uk/deskwork-skill.git
cd deskwork-skill
./install.sh # Claude Code: symlinks into ~/.claude/skills (edits are live)
./install-codex.sh # Codex: installs into ~/.codex/skillsinstall.sh and install-codex.sh are the
same install two ways: Claude Code substitutes ${CLAUDE_SKILL_DIR}, so the
whole skill directory is symlinked untouched, while Codex does not, so its
SKILL.md is rewritten at install time. Re-run the Codex one after editing
SKILL.md.
Python 3.11 or later, standard library only. git, and gh 2.94 or later,
authenticated - every verb here reads or writes GitHub issues. Both installers
and every mode refuse an older gh.
deskwork does nothing at all until a repository has a .github/deskwork.toml saying enabled = true. Write a starter, which ships switched off:
python3 ~/.claude/skills/deskwork/scripts/deskwork.py initEdit it, set enabled = true, commit it, and run init again to create the labels. The starter is skills/deskwork/deskwork.toml.example.
All require the working directory to be inside a git repository with deskwork.toml present and enabled = true. Any directory in the repository works, including a subdirectory or a git worktree. Issues go to the repository the origin remote points at.
python3 ~/.claude/skills/deskwork/scripts/deskwork.py capture --template --type Bug > body.md
# fill in every section, then:
python3 ~/.claude/skills/deskwork/scripts/deskwork.py capture \
--title "Retry logic drops the last attempt" \
--type Bug \
--area infra \
--body-file body.mdRefuses a body that leaves out a section its type needs or still says _not stated_. Before filing, it compares the title with every open issue and asks GitHub's hybrid search, which also sees issues closed in the last 30 days. If anything looks like the same issue, it files nothing and prints the candidates (exit 10); --file files anyway. Otherwise it files with gh issue create, applies the Triage label and the area label, reads the issue back, and with a board configured puts it on the board with Status set to Triage.
python3 ~/.claude/skills/deskwork/scripts/deskwork.py review --jsonReads every open issue in one query and prints the graph: each issue's blockers with their state, whether it is still in Triage, what a human already decided about its edges, and any cycles and bottlenecks. It writes nothing. An agent reasons about what should block what; you approve or reject each proposal; then one of four verbs records your answer:
deskwork.py link 12 --blocked-by 5 --reason "The migration needs the schema"
deskwork.py unlink 12 --blocked-by 5 --reason "No longer needed"
deskwork.py reject 12 --blocked-by 5 --reason "Different areas"
deskwork.py keep 12 --blocked-by 5 --reason "Order matters here"link and unlink write through gh issue edit and read the edge back. All four record the decision and its reason in one comment on the issue, so a rejected edge is not proposed again.
python3 ~/.claude/skills/deskwork/scripts/deskwork.py roadmap --order order.jsonTakes the order an agent reasoned, as a list of {"ref": "#7", "reason": "..."}, and checks it against the live graph. An entry that is closed, still in Triage or blocked is refused by name, and nothing is written. Otherwise it writes roadmap.md with the reason under each item under ## Next, lists what is blocked, ready but not ordered, and still in Triage, and commits the file alone.
python3 ~/.claude/skills/deskwork/scripts/deskwork.py initWith no config, writes the starter switched off. With one, creates the labels capture applies and, with a board, adds the Triage option to Status while keeping every existing option. Reports only what it created.
python3 ~/.claude/skills/deskwork/scripts/deskwork.py intakeAdds every open issue that is not on the board, for a repository with a board and issues from before deskwork.
python3 ~/.claude/skills/deskwork/scripts/deskwork.py doctorReports labels in the config and not the repository, area: labels in the repository and not the config, issue types not enabled, and with a board, a missing Triage option and open issues not on it. Exits 1 on any drift.
.github/deskwork.toml. TOML, not YAML, so that no extra packages are needed.
enabled = true
roadmap = "roadmap.md"
designs = "docs/designs/"
issue_types = ["Bug", "Feature", "Task"]
triage_label = "triage"
[labels]
area = ["infra", "docs"]
# Optional
# project = "PVT_kwDOABCD1234"
# triage_status = "Triage"The board is optional. Without it, the Triage label alone marks what is unreviewed. With it, the project is stored by node ID, not title: titles are not unique, and an unlinked project can conflict with a linked one.
enabled = true is required. File presence alone does not arm the skill.
The config parser, graph construction, cycle detection, bottleneck finding and roadmap rendering are tested without touching GitHub. Every mode also runs end to end against a fake gh that keeps a small GitHub in a file and changes it on every write, so a test can check the write, the read-back and what GitHub would hold afterwards.
python3 -m pytest skills/deskwork/tests -qThe fixtures deliberately include the cases most likely to produce plausible wrong answers: a cross-repository dependency edge, an issue blocking three others, an issue whose blocker has closed, a Triage issue that is also blocked, a cycle in the graph, and a link that GitHub reports as written but that landed on a different issue.
Honesty note: No mode has yet been run against a live Projects v2 board. Every mode is tested against the fake gh; none has had a supervised run on a real repository and board. A first deployment should begin with init on a test repository and a human watching the board.
- It does not close issues. A pull request can carry
Closes #N; GitHub closes it when a human merges. - It does not touch pull requests. It neither merges nor proposes a merge order.
buildworkproposes one; a human merges. - It does not infer dependency edges. An edge exists because it was proposed and accepted. The reasoning is recorded with it.
- It holds no credentials.
gh authis the credential. deskwork stores no token and keeps no~/.dbhq/deskwork/, so there is nothing of its own to leak. - It does not run on a schedule. Every pass is on demand.
Eight things that must not break. See AGENTS.md.
deskwork decides what the work is and what order it goes in. buildwork runs it - one agent per issue, each in its own worktree, collecting the results and proposing a merge order.
Neither needs the other. buildwork reads issues and a roadmap file whoever wrote them, and falls back to open issues in no particular order while saying so.
Every DBHQ agent skill is free, open source and installable from the same
marketplace, and all of them are documented at
skills.dbhq.uk. The marketplace itself is
dbhq-uk/marketplace - one
/plugin marketplace add and every one of them is available.
| Skill | What it does |
|---|---|
| outlook | Microsoft 365 mail and calendar, from the terminal |
| trello | Your boards, run from your agent |
| legwork | Research that settles a decision, and says when it cannot |
| dovetail | Checks whether your repository still agrees with itself |
| verve | Strips AI tells from prose and puts a voice back |
| vela | Compiler-exact code search, in any language you index |
| garmin | Your Garmin data, answered in the terminal |
| imager | Images from OpenAI, costed before it spends |
| gitview | Which branches are finished, and which only look like it |
| atlassian | It edits a real page without losing what it does not understand |
| pennyblack | A physical letter, posted from the terminal |
| buildwork | Your open issues, run as parallel agents |
| groupwork | A second agent on the work, and a result you can cite |
| headwork | One decision at a time, with a recommendation |
Plus heliograph, for a machine you cannot log into.
MIT. See LICENSE.