gh_issue_solve

gh_issue_solve is a command for Claude Code from dagster-io/dagster. It costs 0 tokens per session (864 once invoked), scanned A, original, Apache-2.0.

A GitHub issue review command that retrieves an issue, checks whether it describes actionable work, and proposes how to implement it.

In plain words
What is it for?
Use it to inspect issue details and related discussion, examine the relevant code and tests, propose affected files and testing, and create implementation steps.
Why use it?
It turns an issue discussion into a clearer engineering decision by separating valid bugs or features from unclear, duplicate, or already-solved issues.

Command for Claude Code

Written for Claude Code: installed under .claude/.

About the project

Dagster is a platform for developing, running, and observing data assets, such as datasets and the processes that produce them. It is used to organize and automate data workflows.

dagster-io/dagster · 16,109 stars · on GitHub · dagster.io

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 commands/dagster-io/dagster/gh_issue_solve
Clone the repo
git clone --depth 1 https://github.com/dagster-io/dagster

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 gh_issue_solve

README.md
[![agentmods](https://agentmods.dev/badge/commands/dagster-io/dagster/gh_issue_solve.svg)](https://agentmods.dev/commands/dagster-io/dagster/gh_issue_solve)
Your own site
<a href="https://agentmods.dev/commands/dagster-io/dagster/gh_issue_solve"><img src="https://agentmods.dev/badge/commands/dagster-io/dagster/gh_issue_solve.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 864 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.1 $0.00000 $0.00864
Opus 5 $0.00000 $0.00432
Sonnet 5 $0.00000 $0.00173
Haiku 4.5 $0.00000 $0.00086

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

Security

Grade A, and why

gh_issue_solve 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 6d 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.

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.

.claude/commands/gh_issue_solve.md · 142 lines

How it starts

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

Solve GitHub Issue

Analyzes a GitHub issue, validates it's actionable, and proposes an implementation plan.

Usage

/gh_issue_solve <issue_number>

What it does

  1. Fetch Issue Details: Uses gh api to retrieve the full issue content including:

    • Title and description
    • Labels and assignees
    • Comments and discussion context
    • Linked PRs or related issues
  2. Validate Issue Type: Determines if the issue is:

    • Valid Bug: Reproducible issue with clear symptoms
    • Valid Feature: Well-defined enhancement or new functionality
    • Invalid/Unclear: Needs more information, duplicate, or out of scope
    • Already Solved: Has existing PR or was resolved
  3. Analyze Codebase: For valid issues:

    • Locate relevant code using grep/glob
    • Review existing implementations
    • Check related tests
    • Identify affected packages (using .claude/python_packages.md)
  4. Propose Implementation: Provides:

    • Root cause analysis (for bugs)
    • Implementation approach
    • Files that need changes
    • Testing strategy
    • Potential edge cases or concerns
  5. Create Todo List: Breaks down implementation into actionable steps

Requirements

  • Must be run from the Dagster repository root
  • GitHub CLI (gh) must be authenticated
  • Issue number must be valid in dagster-io/dagster repository

Example Workflow

# User runs command
/gh_issue_solve 12345

# Command fetches issue details
gh api repos/dagster-io/dagster/issues/12345

# Command analyzes and outputs:
# - Issue summary
# - Validation result (valid bug/feature or needs clarification)
# - Proposed implementation plan
# - Todo list of steps to complete the fix

Output Format

For Valid Issues

## Issue Analysis: #12345 - [Issue Title]

**Type**: Bug | Feature Request
**Status**: Valid and actionable
**Affected Area**: [e.g., Asset System, Sensors, UI]

### Summary

[Concise description of the issue]

### Root Cause (for bugs)

[Technical explanation of why the issue occurs]

### Proposed Implementation

**Files to Modify**:

- `path/to/file.py:123` - [what needs to change]
- `path/to/test.py` - [test additions]

**Approach**:
[Step-by-step technical approach]

**Testing Strategy**:
[How to verify the fix works]

**Potential Concerns**:
[Any edge cases or risks]

### Next Steps

[Todo list created for implementation]

Read the full file on GitHub · 142 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. 6d ago First seen · 142 lines · 0 tokens per session scan A 827b64181092

Subscribe to this mod's changes

gh_issue_solve is a command published in the GitHub repository dagster-io/dagster (16,109 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 864 tokens. 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.