gh-wrangler

gh-wrangler is an agent for Claude Code from poindexter12/waypoint. It costs 67 tokens per session (7,544 once invoked), scanned B, original, MIT.

An interactive tool for managing GitHub Issues, which are tracked requests for bugs, features, or other work, and for creating linked pull requests.

In plain words
What is it for?
Use it to list, create, label, link, and close GitHub Issues, and to create pull requests that automatically reference them.
Why use it?
It keeps issue handling in the command line and supports the full workflow from backlog review and triage to closing issues and linking code changes.

Agent for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: model in frontmatter; mentions Claude Code.

Part of the workflows plugin — 4 skills, 5 commands, 2 agents shipped together

Good fit Use it to list, create, label, link, and close GitHub Issues, and to create pull requests that automatically reference them.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/poindexter12/waypoint/gh-wrangler
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.

Clone the repo
git clone --depth 1 https://github.com/poindexter12/waypoint

Made for: Claude Code.

Or install workflows, the plugin that ships this one along with the rest of its 4 skills, 5 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gh-wrangler

README.md
[![agentmods](https://agentmods.dev/badge/agents/poindexter12/waypoint/gh-wrangler/github.svg)](https://agentmods.dev/agents/poindexter12/waypoint/gh-wrangler)
Your own site
<a href="https://agentmods.dev/agents/poindexter12/waypoint/gh-wrangler"><img src="https://agentmods.dev/badge/agents/poindexter12/waypoint/gh-wrangler/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gh-wrangler

Your own site · 80×15
<a href="https://agentmods.dev/agents/poindexter12/waypoint/gh-wrangler"><img src="https://agentmods.dev/badge/agents/poindexter12/waypoint/gh-wrangler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,544 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00067 $0.07544
Opus 5 $0.00034 $0.03772
Sonnet 5 $0.00013 $0.01509
Haiku 4.5 $0.00007 $0.00754

Measured 9d ago against content hash b33136421e8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

gh-wrangler scanned grade B with 1 finding 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 9d ago.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt install gh
workflows/agents/gh-wrangler.md · 1,108 lines

How it starts

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

GitHub Issue Wrangler

Interactive GitHub Issues management and PR creation using the gh CLI.

PREREQUISITES

This agent requires the GitHub CLI (gh) to be installed and authenticated.

Installation:

# macOS
brew install gh

# Linux (Debian/Ubuntu)
sudo apt install gh

# Other platforms
# See: https://github.com/cli/cli#installation

Authentication:

gh auth login

Verification:

gh auth status

The agent will check authentication status in STEP 1 and provide guidance if gh is not available.

INVOCATION DECISION TREE

INPUT: user_message

PHASE 1: Explicit Issue Requests
  IF user_message matches "(list|show|view|create|triage|close).*(issues?|backlog)" → INVOKE
  IF user_message matches "(github|gh) issues?" → INVOKE
  IF user_message matches "issue #?[0-9]+" → INVOKE
  IF user_message matches "(bug|feature|task) report" → INVOKE
  IF user_message matches "(create|make|open).*(pull request|PR)" AND contains "issue" → INVOKE
  CONTINUE to PHASE 2

PHASE 2: Anti-Patterns
  IF user_message matches "pull request|PR" AND NOT "issue" → DO_NOT_INVOKE
  IF user_message matches "release|deploy" → DO_NOT_INVOKE
  CONTINUE to PHASE 3

PHASE 3: Pattern Matching with Scoring
  SCORE = 0.0

  IF user_message contains_any ["backlog", "issues", "triage"] → SCORE += 0.35
  IF user_message contains_any ["bug", "feature request", "task"] → SCORE += 0.25
  IF user_message contains_any ["label", "priority", "milestone"] → SCORE += 0.20
  IF user_message contains "github" AND contains_any ["manage", "organize"] → SCORE += 0.15

  CONTINUE to PHASE 4

PHASE 4: Decision
  IF SCORE >= 0.50 → INVOKE
  IF SCORE >= 0.25 AND SCORE < 0.50 → ASK_CLARIFICATION
  IF SCORE < 0.25 → DO_NOT_INVOKE

EXECUTION PROTOCOL

Execute steps sequentially when invoked.

STEP 1: VERIFY AUTHENTICATION

EXECUTE:

gh auth status 2>&1

VALIDATION:

  • If "not logged in" → ERROR PATTERN "NOT_AUTHENTICATED"
  • If authenticated → Continue

Read the full file on GitHub · 1,108 lines

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. 9d ago First seen · 1,108 lines · 67 tokens per session scan B b33136421e8c

Subscribe to this mod's changes

gh-wrangler is an agent published in the GitHub repository poindexter12/waypoint (7 stars, last pushed 7mo ago), licensed MIT. It adds 67 tokens to every session and 7,544 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.