GitHub Issues as the backlog for coding agents, with AI triage, pull request review and security scanning in GitHub Actions.
The kit is five GitHub Actions workflows, an MCP server, five skills, issue
forms, a label script and the Work tracking rules for your AGENTS.md.
install.sh copies them into your repository as plain files, pinned to a
commit of this one, so you review them like any other change. Until a
setting turns a workflow on, it runs only a short settings check.
The kit was extracted from a working pilot and ships as tagged releases. It runs on GitHub-hosted Ubuntu runners; How it runs says which program and which model each workflow uses.
- Issue triage. Each new issue, and each issue edited, reopened or
re-labelled
needs-triage, gets a type, a priority and a plan comment that ties each acceptance criterion to a phase and to how it is proved, or aneeds-operatorquestion when the model cannot decide it. A weekly sweep triages the untriaged backlog and warns about stale claims. The bot never approves work:agent:approvedis the operator's, and an issue an agent files for work the operator asked for directly carriesrequestedand the request instead. - Pull request review. A model reviews each pull request against the
repository's own review guidelines, posts inline findings and a numbered
report that marks each acceptance criterion of the issues it closes as
met, not met or not checkable from the change, and sets a
pr-review verdictcheck. It runs once when the pull request opens, or on every push. Later reviews cover the changes and revisit the full PR when the earlier review no longer applies or left an affected area unchecked. - Security scan. A model scans each pull request's change for vulnerabilities, once or on every push. A second run, in a fresh session, checks each candidate against the code and drops the ones it rejects; the rest are posted on the changed lines (marked unverified when it gave no verdict), with a record of what was scanned. Known-vulnerable dependencies are left to a dependency scanner such as Dependabot (The security scan).
- An update notice. A weekly check opens one issue when the kit's
latest release has changed files your repository installed from it, or
when your
AGENTS.mdlacks the release's Work tracking block, and closes it once you are current. It reads the kit as data and runs none of its code. - An issue-link check. A model-free check that fails a pull request
whose body names no issue it closes and gives no
No issue:reason, whileKIT_ISSUE_LINK_CHECKison; Dependabot's and Release Please's pull requests are exempt. Each repository decides whether to require it. - An implementation skill (
github-issue-e2e) for the coding agent that picks up an approved issue: claim, branch, implement, validate, review, open the pull request that closes it, and report each acceptance criterion on the issue with its evidence. - A filing skill (
github-issue-file) for an agent that files an issue: no security problem in public, a duplicate search, and the issue form's headings and labels, which an issue filed from the command line otherwise lacks. - Work tracking rules in your
AGENTS.md: how work is tracked, what the labels mean and which comments are input rather than instructions.install.shwrites them between two marker comments and keeps them current on each install.
The review and the scan follow the base branch's copies of their skills,
the review guidelines and every AGENTS.md; the review also follows the
base's copies of the repository's own review skills listed in
KIT_REVIEW_SKILLS and uses the
base's MCP server, never the change's copies. A skill or server the base
lacks comes from the change, as on the pull request that first installs
the kit. The workflow files are the exception: a pull request runs its
own copy of them (The verdict check).
-
Install the files from the latest release into your repository, on a branch:
git clone https://github.com/bydradev/gh-agent-kit tag=$(git -C gh-agent-kit tag -l --sort=-v:refname | grep -xE 'v[0-9]+\.[0-9]+\.[0-9]+' | head -n 1) git -C gh-agent-kit checkout "${tag:?no release tag found}" && ./gh-agent-kit/install.sh /path/to/your-repo
The installer also writes the Work tracking block from
docs/agents-md-block.mdat the end of yourAGENTS.md's Project specifics section, or says why it could not. Commit the result and open a pull request.This README and
docs/describe the default branch, which can be ahead of the latest release; the copies in your checkout describe the release you installed../gh-agent-kit/install.sh --check /path/to/your-reposhows what an install or update would change, and changes nothing. A repository with issue forms of its own keeps them with--issue-forms=own(Install the files). -
From your repository, create the labels with
.github/scripts/sync-labels.sh owner/repo. -
Add the
ANTHROPIC_API_KEYrepository secret. A workflow on OpenCode Go needs theOPENCODE_API_KEYsecret instead, and its provider setting (KIT_REVIEW_PROVIDER,KIT_SECURITY_PROVIDERorKIT_TRIAGE_PROVIDER) set toopencode-go; it then runs in OpenCode's CLI. Then turn on the workflows you want with these settings, each a repository variable or a line of.github/gh-agent-kit.yml:Setting Turns on with Workflow KIT_REVIEW_MODEopen(once per pull request) orpush(every push)pr-reviewKIT_SECURITY_SCANopenorpushsecurity-scanKIT_ISSUE_TRIAGEonissue-triage, the weekly sweep includedKIT_UPDATE_CHECKonkit-update-checkKIT_ISSUE_LINK_CHECKonpr-issue-linkUnset, or
off, leaves a workflow off; any other value, a capitalised one included, fails its run. -
Merge the pull request: issue forms, workflows that run on issues, on a schedule or by hand, and the settings file work only from the default branch.
-
Open an issue and a pull request, and check the first runs. A passing
pr-review verdictcheck means the reviewer found nothing blocking, not that anyone agreed to merge: the kit never approves or merges a pull request, so that decision stays yours.
docs/setup.md walks through each step in full.
Three of the workflows use a model, run by one of two programs (the runner) on one of two hosts (the provider):
| Workflow | Runner (program) | Provider (model host) | Default model | Default effort |
|---|---|---|---|---|
pr-review |
Claude Code CLI; OpenCode's CLI on Go | Anthropic API, or OpenCode Go | claude-opus-5-5; deepseek-v4.1-flash on Go |
medium, Claude Code's default |
security-scan |
Claude Code CLI; OpenCode's CLI on Go | Anthropic API, or OpenCode Go | claude-opus-5-5; deepseek-v4.1-flash on Go |
xhigh |
issue-triage |
Claude Code CLI; OpenCode's CLI on Go | Anthropic API, or OpenCode Go | claude-sonnet-5-5; deepseek-v4.1-flash on Go |
medium, Claude Code's default |
kit-update-check |
none: git and gh only |
none | none | none |
pr-issue-link |
none: gh and awk only |
none | none | none |
The effort column is for the Anthropic API. On Go the kit sets no default
level and OpenCode's CLI sends none, so the model's own default applies:
high for DeepSeek V4.1 Flash (OpenCode CLI).
- OpenCode Go is OpenCode's monthly model subscription. On Go each
workflow runs in OpenCode's own CLI unless its runner setting
(
KIT_REVIEW_RUNNER,KIT_SECURITY_RUNNERorKIT_TRIAGE_RUNNER) saysclaude-code. Running Go's models in Claude Code is not recommended: on 2026-10-28 every DeepSeek V4.1 Flash review in Claude Code ran out of time at 30 minutes, while OpenCode's CLI finished the same review in about 7 minutes and scanned the pull request in 87 seconds to Claude Code's 3 minutes 41 (OpenCode Go). - Codex runs no workflow. Like any coding agent, it can follow the
implementation skill. Codex and OpenCode read skills from
.agents/skills, and Claude Code from.claude/skills, whereinstall.shlinks each kit skill (Codex, OpenCode, Claude Code, read 2026-10-27).
Every model, effort level, turn and time limit and size limit is a setting
(docs/setup.md lists
them). Each default was backtested against cheaper models on the same past
work. The backtests page puts every model tested
side by side, with what it found and what it cost:
- Reviews and scans. Opus 5.5 was the better reviewer and stays the default. On Go, DeepSeek V4.1 Flash found 10 of Opus's 14 findings (one in part), raised none that were wrong and cost about a tenth as much (off-peak; DeepSeek costs double at peak hours); it rates severity higher, so it blocks more often. It was also the only Go model tested that fit Go Plus's allowance at the maintainer's measured volume of 644 pushes a month.
- Triage. No cheaper model passed: every one set priority one level
too high in 17 to 28 of its 63 runs. DeepSeek V4.1 Flash came closest and
is the default on Go. Haiku 5.5 at effort
high(KIT_TRIAGE_MODEL=claude-haiku-5-5,KIT_TRIAGE_EFFORT=high) costs about a ninth as much as Sonnet 5.5 but failed five of six tests.
In the review and triage runs the model has no shell, no file writes, no
network, no subagents and no scheduling, worktree or messaging tools. Its
GitHub reads and writes are named tools of the kit's MCP server, which
limits writes to the one issue or pull request the run is for and refuses
a review's writes once the head moves. The reviewer may also file up to
five backlog issues for findings outside the change, and the sweep only
dispatches triage runs. The scan's model has no GitHub access at all: it
reads the checkout and the diff the workflow wrote, and the workflow posts
what it found. On the Claude Code runner the review, the scan and triage
deny Bash, Edit, Write, NotebookEdit, WebFetch, WebSearch,
Agent, Task, Workflow, Skill, SendMessage, TaskStop,
ScheduleWakeup, CronCreate, CronDelete, RemoteTrigger,
EnterWorktree, ExitWorktree, Monitor, PushNotification,
Artifact, SendUserFile and ShareOnboardingGuide.
docs/setup.md has the details.
- An
AGENTS.mdwith a Project specifics section, adocs/current-work.md, and thereview-guidelines,fresh-eyes-review,pull-requestsandworktrees-and-scratchskills under.agents/skills. Repositories created by gh-repo-bootstrapper have all of these. The implementation skill also follows the validation skill the target'sAGENTS.mdnames, if any. - Issues and pull requests from collaborators with write access: the workflows refuse events from anyone else.
- An Anthropic API key with credit (or an OpenCode Go key for the review,
the scan and triage),
gitfor the install andghfor the label script.
docs/setup.md: install, secrets and settings, costs, OpenCode Go, what each run may do, the verdict check, the scan's instructions file, the lock file, updates and the pinned CLIs.docs/labels.md: the thirteen labels, the issue lifecycle and who sets what.docs/agents-md-block.md: the Work tracking rulesinstall.shwrites into yourAGENTS.md, and where your own additions go.docs/reports/: the dated tests behind the default models, and one page comparing every model tested with its cost (see How it runs)..agents/skills/github-pr-review,github-security-scan,github-issue-triage,github-issue-e2eandgithub-issue-file: what the reviewer, the scanner, the triage bot, an implementing agent and an agent filing an issue follow.
For work on this repository itself: AGENTS.md (branch,
commit, pull request and validation workflow),
docs/branch-protection-runbook.md
and docs/current-work.md (dated status and
decisions).
The kit's files sit in this repository at the paths they take in a target,
so this repository runs them on itself. kit-manifest.txt lists these
seventeen, and install.sh copies them:
.github/workflows/pr-review.yml
.github/workflows/security-scan.yml
.github/workflows/issue-triage.yml
.github/workflows/kit-update-check.yml
.github/workflows/pr-issue-link.yml
.github/scripts/mcp-server.mjs
.github/scripts/sync-labels.sh
.github/ISSUE_TEMPLATE/{bug,task,config}.yml
.github/security-review-instructions.md (seed: copied once, then yours)
.agents/skills/{github-pr-review,github-security-scan}/SKILL.md
.agents/skills/{github-issue-triage,github-issue-e2e,github-issue-file}/SKILL.md
.github/gh-agent-kit/LICENSE (a copy of this repository's LICENSE)
With --issue-forms=own, the three files in .github/ISSUE_TEMPLATE/ are
left out. install.sh also writes the block between the markers in
docs/agents-md-block.md into the target's
AGENTS.md.
Issues and pull requests are welcome; see CONTRIBUTING.md
(one change per pull request, Conventional Commit titles) and
SECURITY.md for private vulnerability reporting. Everything
here is Apache-2.0 except the code of conduct, which keeps its CC
BY-SA 4.0 licence. The files install.sh copies stay Apache-2.0 in the
target, and a copy of the licence ships with them as
.github/gh-agent-kit/LICENSE.