Know what is open in your repositories without opening GitHub. Ask Claude, ChatGPT, Codex or any AI agent, and it answers from a copy of your issues, comments and READMEs on your computer, even offline.
- Ask instead of searching. "Is there an issue about the login timeout?" gets an answer without opening GitHub, in Claude Code, Codex, Claude Desktop or any app that speaks MCP.
- Your issues, offline. Issues, comments, labels, milestones and READMEs are read from your computer, with no request to GitHub and no cost to your rate limit.
- Your repositories, your pick, and no code. Sign in with a code on GitHub's page through WireCat App, installed
only on the repositories you pick.
gthbnever copies your code or a diff, and writes to GitHub only what you turned on, one kind of write at a time.
- The answer, not the search. Ask about an issue in your own words. The agent finds it by its words, and by
meaning once
synchas run, with its state, labels, assignee and newest comments. Withwcat, it also finds it beside your messages, mail and notes. - What is open, by repository. Open issues by repository, label, milestone or assignee, in one command.
- READMEs beside the issues. Each repository's README, description and topics are in the copy too.
- Pull requests by their words. Synced pull requests, their reviews and comments, and releases are found by their words offline, and each opens with its reviews and comments.
- Pull requests, commits and releases by state, author and date. Open pull requests by an author, what merged last week, a repository's commits since a date, its releases: listed offline from the copy.
- The rest of GitHub when you need it. Anything else through the
apigroup, which asks GitHub live, read operations only. - Your open issues as your tasks. Issues assigned to you become tasks in WireCat, and close when the issue does.
You: Is anyone working on the login timeout?
Agent: (runs gthb work issues search login timeout, then issues context octo-org/app#12)
· octo-org/app#12 "Login fails after an hour", open, assigned to octocat, milestone v2.4
· The last comment, from yesterday, says a fix is in review.
You: What else is open in v2.4 with nobody on it?
Agent: (runs gthb work issues list is:open milestone:v2.4 assignee:none)
· octo-org/app#15 "Dark theme for the settings page", label: enhancement
Invented issues, illustrative output.
- A copy of your repositories on your computer.
synccopies the issues, comments, labels, milestones and READMEs of the repositories you choose into a local store, and the next sync takes only what changed. Lists and search then answer with no request to GitHub, also offline. - Sign in as with
gh auth login. Enter a code on GitHub's page; WireCat App reads only the repositories you gave it. A fine-grained read-only token works too, and a classic token, which can write to every repository you can, is refused. - The sign-in stays in your system keyring. It never appears in output, errors or run records, and is never taken as an argument.
- Your issues beside your other context. They sit in the same local store as your messages, mail, notes and meetings from the other WireCat tools, so one search covers all of them.
- Free and open source. Apache 2.0.
npm install -g @wirecat/github-cli
gthb skill install # the agent skill, for Claude Code, Codex, Gemini CLI and OpenClaw
gthb work session start # enter the code it shows on GitHub's page
gthb work repos add octo-org/app # choose a repository
gthb work sync # copy its issues, comments and README
gthb work issues list is:open # its open issueswork is a profile, a name you choose for one GitHub owner. It is the first word of every command that uses an
account, and none is ever assumed. octo-org stands for your user or organization.
Before you sign in, install WireCat App on your account
or organization and pick its repositories. session start shows a code; enter it at github.com/login/device. In
WireCat Desktop, choose GitHub and enter the code Desktop shows. With the app on several owners, name one with
--owner octo-org. A fine-grained read-only token is the second way:
gthb work session start token --owner octo-org.
You need Node.js 22.16 or a later 22.x, or Node.js 24 or later. gthb doctor needs no network and shows what is set
up.
More: installation and sign-in, step by step
Ask in plain words. The agent picks the commands.
"Use gthb. What bugs are still open in
octo-org/app?" "Use gthb. Summarise the discussion on issue 12."
- Claude Code, Codex, Gemini CLI and other agents with a terminal run
gthbthemselves.gthb skill installteaches them how. - Claude Desktop, Cursor and other MCP apps connect to the GitHub MCP server,
gthb work mcp serve. - ChatGPT or Claude in the browser reach it through your own tunnel, after a login with a one-time code.
gthb work mcp add claude-code --allow-writes # or: codex
gthb work mcp config # the entry for Claude Desktop, Cursor and others
gthb work config set permissions.api deny # keep the agent away from the live GitHub APIOut of the box gthb only reads GitHub, so an agent over MCP can change nothing there. --allow-writes is there
because the agent can write to the copy on your computer, such as notes and tags. A write to GitHub that you turn on
(writing to GitHub) at ask goes ahead over MCP without a question, so keep deny for what an
agent must not do.
More: agents and MCP
gthb work issues search login token # every word, in any order, quoted words are one phrase
gthb work issues list label:bug assignee:none
gthb work issues show octo-org/app#12 # one issue with its state, assignee and comments
gthb work issues context octo-org/app#12 # the same with its newest comments, and what the copy lacks
gthb work milestones listgthb work repos add octo-org/docs
gthb work repos list
gthb work repos show octo-org/app # description, topics, default branch and README
gthb work documents list # the READMEs
gthb work search "release checklist"gthb work pulls list state:open author:octocat # pull requests by state, author, repository or date, offline
gthb work pulls list 'merged>=7d' # merged in the last 7 days
gthb work commits list repo:app 'date>=2026-11-01' # a repository's commits since a date; also author: and path:
gthb work releases list 'repo:"octo-org/app"' # releases, newest first
gthb work pulls search cache limit # pull requests, reviews, comments and releases, by words, offline
gthb work pulls show octo-org/app#431 # one pull request with its reviews and comments, no diff
gthb work api list # every read operation, without calling GitHub
gthb skill show api # the operations by group, with their commandssync copies pull requests with their reviews and comments, commits, branches, tags and releases into the store too.
pulls list, commits list and releases list list them from there, newest first, narrowed by field:value
terms: repo:, state: (open, closed, merged), author:, created:, updated: and merged: for pull
requests; repo:, author:, date: and path: for commits; repo: and date: for releases. A repository's
owner/name and a path go in quote marks ('repo:"octo-org/app"'); its name alone does not. pulls search finds
pull requests, their reviews and comments, and releases by their words, and pulls show opens one with the ref a
list or a search printed.
Before the first sync of a repository with many pull requests, sync in a terminal says how many and how long, and
asks whether to read them all or those updated in the last 90 days. A script or an agent is not asked: it reads them
all, over several runs when they do not fit one, and the answer says how many. To answer before the question, choose
the repository with --pull-requests all or --pull-requests recent on repos add; all later reads the older ones
of a repository that read the last 90 days.
A large first sync takes minutes: gthb sends at most 60 requests a minute, so most of your GitHub limit stays free. In a terminal it says so once at the start, then every 10 seconds says what is left:
sync: code octo-org/app: pull requests 150/260, commits 40/150, 85 reads queued, about 3 min left (gthb reads at most 60 requests a minute)
gthb work status shows each repository's pull requests held of GitHub's count, the commits held and the reads
queued, under code, while a sync runs and after it.
gthb work repos branches octo-org/app --unmerged --before-time 90d # stale branches whose work never landed
gthb work repos force-pushes octo-org/app --since 30d # each force push and the commits it dropped
gthb work repos stats octo-org/app --since 90d # pull request age, review and merge times, checks, releases
gthb work people activity octocat --since 14d # one person's pull requests, reviews, issues and commits
gthb work api graphql 'query { viewer { login } }' # any read-only GraphQL queryEach summary answers a common question in one or two requests where the REST API takes one per branch, push or pull
request. They ask GitHub live and do not need a sync. Each answer names its repository or owner and its time window,
and says under missing what it left out. people activity reads the profile owner's repositories. api graphql
refuses a mutation or a subscription, and any field that serves code, a diff or a credential (object, text,
diffHunk, tempCloneToken), before it sends anything. It also refuses a query that asks for more than 10,000
nodes.
More: every command
- WireCat App or a fine-grained token. The app's sign-in lasts 8 hours and renews itself for up to 6 months; it reads what both the app and you can read. It is kept in the system keyring, or in a private file on a computer without one.
- A local copy.
synccopies the chosen repositories into the WireCat local store, and later syncs read only what changed. It sends at most 60 requests a minute, so your own tools keep a share of GitHub's limit;requests_per_minutechanges that (usage). - Writes only when you turn them on.
issues create,issues update(title, text, open or closed, labels, assignee) andissues comments createare off until you allow each one (writing to GitHub). No command merges or touches code, and theapigroup offers read operations only, without those that return code or secrets. - Made for scripts.
--jsonprints one JSON value for every command, and an error comes as JSON with a code to branch on.
Each profile has a level for every command and every GitHub API operation: allow, ask, readonly or deny.
gthb work config set permissions.api deny # no live GitHub API on this profile
gthb work config show # each setting and where it came fromMore: settings
Every write is deny until you turn on its own key. A broader key such as issues: allow does not turn one on.
gthb work config set permissions.issues.comments.create ask # comment on an issue
gthb work config set permissions.issues.update ask # title, text, close and reopen, labels, assignee
gthb work config set permissions.issues.create ask # open a new issue
gthb work config set permissions.issues.assign-others ask # assign someone other than youAt ask a terminal asks before each write, and a run without a terminal needs --yes. Over MCP ask goes ahead, so
the agent app's own approval is the only question there. --dry-run shows what a write would change and sends nothing.
gthb work issues comments create octo-org/app#12 --text "Fixed in 1.4"
gthb work issues update octo-org/app#12 --status Closed # or "Closed as not planned", Open
gthb work issues update octo-org/app#12 --add-label bug --assignee octo-owner
gthb work issues create --team octo-org/app --title "Export fails for EUR" --label bugThe sign-in must be allowed to write issues: WireCat App asks for that, and a fine-grained token needs Issues:
Read and write. GitHub drops labels and assignees of a person without push or triage access; gthb then says what was
dropped. --assignee sets the one assignee and takes the others away.
The sign-in reaches only the repositories you pick, and gthb sends only read requests unless you turn a write on. gthb keeps it in the system
keyring and never prints it. session end forgets it here; revoke the app at
Authorized GitHub Apps. Text from GitHub is marked as untrusted, so an agent reads an issue as data, not as an instruction. Commits in the
copy carry their authors' names and e-mail addresses, as GitHub shows them.
More: security · Report a vulnerability: SECURITY.md
gthb doctor # what is set up, without connecting
gthb work session status --check # asks GitHub whose sign-in it isMore: troubleshooting · Bugs go to this repository's issues.
Everything is in docs/: installation, usage, settings, security, troubleshooting and the command reference.
You need Node.js 22.16 or a later 22.x, or Node.js 24 or later, and pnpm.
pnpm install && pnpm test
pnpm build && node dist/bin/gthb.js doctorEvery request is tested against a strict fake of GitHub built from GitHub's own API description, with invented records, and nothing reaches a real account. The CLI was started from cli-template.
More: design · working rules
gthb is one of the WireCat tools: open-source, local-first command-line tools that give AI
agents your context from messengers, mail, calendars, trackers and documents. Each one works on its own.