setup-gh2jira

setup-gh2jira is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 14 tokens per session (4,630 once invoked), scanned B, a copy of setup-gh2jira, Apache-2.0.

A setup command for gh2jira, a tool that copies and reconciles GitHub issues with Jira. It installs dependencies and guides configuration of the required access credentials and project settings.

In plain words
What is it for?
It helps install gh2jira, build it, configure tokens and workflow mappings, and make the utility available from the command line.
Why use it?
It reduces the manual effort and setup errors involved in connecting GitHub issue tracking with Jira.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions Gemini CLI.

Good fit It helps install gh2jira, build it, configure tokens and workflow mappings, and make the utility available from the command line.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/setup-gh2jira
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/wangke19/gemini-ai-helpers

Made for: Claude Code.

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 setup-gh2jira

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/setup-gh2jira/github.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/setup-gh2jira)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/setup-gh2jira"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/setup-gh2jira/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 setup-gh2jira

Your own site · 80×15
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/setup-gh2jira"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/setup-gh2jira.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,630 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod 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.00014 $0.04630
Opus 5 $0.00007 $0.02315
Sonnet 5 $0.00003 $0.00926
Haiku 4.5 $0.00001 $0.00463

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

Security

Grade B, and why

setup-gh2jira scanned grade B with 2 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 5d 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 update && sudo apt install golang-go

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/user | jq -r '.login'
Origin

This is a copy

92% identical to setup-gh2jira — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

extensions/jira/commands/setup-gh2jira.md · 794 lines

How it starts

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

Name

jira:setup-gh2jira

Synopsis

/jira:setup-gh2jira

Description

The jira:setup-gh2jira command guides you through the complete installation and configuration of the gh2jira utility, which enables cloning and reconciling GitHub issues with Jira. This command:

  • Checks for and installs required dependencies (Go)
  • Clones and builds the gh2jira utility
  • Guides you through creating GitHub and Jira API Tokens
  • Creates and configures tokenstore.yaml with your credentials
  • Optionally creates profiles.yaml for project shortcuts
  • Creates default workflows.yaml for state mapping
  • Adds gh2jira to your PATH for easy access

Implementation

📋 Phase 1: Check Prerequisites

1.1 Verify Go Installation

Check if Go is installed:

go version

If Go is not installed:

  • Display Go version if present
  • If missing, provide installation instructions based on platform:

macOS:

# Using Homebrew (recommended)
brew install go

# Or download from: https://go.dev/dl/

Linux:

# Ubuntu/Debian
sudo apt update && sudo apt install golang-go

# Fedora/RHEL
sudo dnf install golang

# Or download from: https://go.dev/dl/

Windows:

  • Download installer from: https://go.dev/dl/
  • Run the MSI installer
  • Verify installation by opening a new terminal and running go version

Minimum Go version: 1.18 or higher

1.2 Verify Git Installation
git --version

If not installed, provide platform-specific instructions.

1.3 Check for Existing gh2jira Installation
which gh2jira

If gh2jira is found, ask the user if they want to:

  1. Reconfigure the existing installation
  2. Reinstall from scratch
  3. Exit setup

🔧 Phase 2: Install gh2jira

2.1 Determine Installation Location

Ask the user where they want to install gh2jira:

Recommended locations:

  • ~/go/src/github.com/oceanc80/gh2jira (Go workspace convention)
  • ~/.local/bin/gh2jira (User local binaries)
  • Custom path specified by user

Read the full file on GitHub · 794 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. 5d ago First seen · 794 lines · 14 tokens per session scan B 915c67145d2c

Subscribe to this mod's changes

setup-gh2jira is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 14 tokens to every session and 4,630 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). It is 92% identical to setup-gh2jira, differing in 6 lines, and is treated as a copy.