github

A command-line helper for working with GitHub pull requests, including their discussions, reviews, files, checks, and merge status.

In plain words
What is it for?
Use it to view pull requests, list unresolved threads, inspect comments and files, find pull requests ready to merge or failing checks, and create pull requests.
Why use it?
It gathers pull-request information in structured output and handles common review and continuous-integration queries consistently. This reduces manual navigation and incomplete thread checks.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/vanillagreencom/kendex/github
Any agent
npx skills add vanillagreencom/kendex --skill github
Clone the repo
git clone --depth 1 https://github.com/vanillagreencom/kendex

Made for: Claude Code, Codex.

Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,103 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00022 $0.04103
Opus 5 $0.00011 $0.02051
Sonnet 5 $0.00004 $0.00821
Haiku 4.5 $0.00002 $0.00410

Measured yesterday against content hash 207993afb286, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 43 executable files (scripts/commands/await-mergeable.sh, scripts/commands/bot-token.sh, scripts/commands/ci-classify-refusal.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/github/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Queries

Problem with this skill? Run kendex report — it files to the owning repo automatically. Do not hand-file.

CLI wrapper for GitHub API operations used in PR workflows. Structured JSON output, bot account support, configurable issue ID extraction.

.agents/skills/github/scripts/github.sh <command> [options]
.agents/skills/github/scripts/github.sh -C <path> <command> [options]  # Run in different directory

Commands

Command Purpose
pr-data <N> [--actionable] Get PR with threads, comments, files. --actionable: unresolved non-outdated only.
pr-view [N] [--json FIELDS] View PR details (wraps gh pr view with bounded auth/no-PR errors)
pr-threads <N> [--unresolved|--resolved] [--format=safe|raw] Complete paginated thread list/count, outdated included. Both filters apply in both formats. See PR blocked with no visible conversations.
pr-list-ready [--all] [--format=safe|table] List PRs ready for merge
pr-list-failing [--all] [--format=safe|table] List PRs with CI failures
pr-create [--title T] [--body B | --body-file PATH] [--draft] [--dry-run] [--force] Create PR as bot. Safety checks: not main, has commits, pushed; --force skips them.
pr-edit-body <N> --body-file PATH Update an existing PR body through the sanitized router.
pr-merge <N> [--check|--force|--auto] Merge PR. --check reports readiness as JSON on stdout plus a one-word verdict and head-run: <ids> (the run scope of the CI classification) on stderr; --auto queues a currently-blocked PR. Three exit codes, the review-thread gate, and --force — see PR Merge Outcomes.
ci-classify-refusal <N> Name the cause of a pr-merge refusal on one cause: line (fetch_error, merge_conflict, changes_requested, threads, ci_failed, ci_pending, computing, merged, closed, none; an issue prefix outside that vocabulary becomes the cause word itself, and none means the checks pass now); ci_failed adds fail: lines run-correlated to the authoritative run and superseded: lines naming runs whose checks were not counted. --help
pr-cross-check [N...] [--quick|--verify] Cross-PR analysis. --verify: full build+test (auto-detects build system).
pr-issue <N> [--format=safe|text] Extract issue ID from PR branch (configurable via GH_ISSUE_PATTERN)
label-add <PR-or-issue> <label> [--issue] [--required|--optional] Add a label after checking the live inventory. Mode semantics and exit codes: Label application contract.
label-remove <PR-or-issue> <label> [--issue] Remove a label through the sanitized router.
await-mergeable <N> [--interval S] [--max-iter N] [--quiet] Block until GitHub resolves a PR's merge state. Polls state + mergeStateStatus. Exit 0 + JSON on resolve, 124 on timeout.
ci-logs <N> [--lines N] [--format=safe|text] Get CI failure logs for PR
bot-token [--format=safe|text] Check if bot token is configured
dismiss-review <PR> [--bot|--user NAME] [--message M] Dismiss blocking review
resolve-thread <PRRT_...> Mark thread(s) resolved. Works on threads the UI cannot render. See PR blocked with no visible conversations.
unresolve-thread <PRRT_...> Reopen thread(s)
post-reply <PRRT_...|numeric-id> [body | --body-file PATH] [--pr N] Reply to review comment. --pr N is REQUIRED for numeric comment IDs; thread PRRT_... IDs need no PR number.
post-comment <PR> [body | --body-file PATH] Post PR-level comment.
find-comment <PR> --pattern <regex> Find comment by pattern/author
edit-comment <id> [body | --body-file PATH] Edit existing comment.
sticky-comment <PR> [--verdict|--analysis|--body] Get bot sticky comment. --verdict: quick pass/fail. --analysis: deep recommendation.

Read the full file on GitHub · 269 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 269 lines · 22 tokens per session scan A 207993afb286

Subscribe to this mod's changes

github is a skill published in the GitHub repository vanillagreencom/kendex (65 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 4,103 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

surf

Control Chrome browser via CLI for testing, automation, and debugging. Use when the user needs browser automation, screenshots, form filling, page inspection, network/CPU emulation, DevTools streaming, or AI queries via ChatGPT/Gemini/Perplexity/Grok/AI Studio.

w-winter/dot314 · 60 tokens

prose-review

Review prose written for others -- user-facing docs, prompts for other LLMs, inline comments, docstrings, and other-facing messages -- for local jargon leakage, orphaned references, missing grounding, and audience or genre misfit.

w-winter/dot314 · 50 tokens

text-search

Search indexed text corpora with qmd. For indexed content, prefer qmd over grep.

w-winter/dot314 · 22 tokens

repoprompt-tool-guidance-refresh

Refresh RepoPrompt tool guidance when the CLI/MCP surface changes. Tracks RepoPrompt CE (rpce-cli, the maintained target) across versions, and can diff the frozen Classic CLI (rp-cli) against CE. Uses /.pi/agent/skills/repoprompt-tool-guidance-refresh/scripts/track-rp-version.sh to capture/diff --help and -l (tool…

w-winter/dot314 · 115 tokens

xcodebuildmcp

Build/test Xcode projects via the XcodeBuildMCP MCP server using a local CLI wrapper for pi (no MCP support). Use when the user mentions Xcode, xcodebuild, iOS builds/tests, or XcodeBuildMCP.

w-winter/dot314 · 56 tokens

agent-browser

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

w-winter/dot314 · 51 tokens