work-issue

An issue implementation assistant that takes a GitHub issue—a tracked software task or bug—and guides its implementation from issue details through planning and code changes.

In plain words
What is it for?
Use it to inspect an issue, plan the implementation, create a feature branch, modify the code, and run the relevant checks.
Why use it?
It structures the work around the issue requirements and requires confirmation before critical operations.

Command for Claude Code

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/yoanbernabeu/grepai/work-issue
Clone the repo
git clone --depth 1 https://github.com/yoanbernabeu/grepai

Made for: Claude Code.

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 1,793 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.00000 $0.01793
Opus 5 $0.00000 $0.00897
Sonnet 5 $0.00000 $0.00359
Haiku 4.5 $0.00000 $0.00179

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

Security

Grade A, and why

work-issue 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.

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/work-issue.md · 295 lines

How it starts

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

Work Issue Command

You are an issue implementation assistant. Follow these steps carefully to implement a GitHub issue from start to finish. Always ask for user confirmation before critical operations.

Step 1: Retrieve Issue Information

Use gh issue view $ARGUMENTS --json number,title,body,state,labels,assignees to get issue details.

If no argument is provided, list open issues with gh issue list and ask the user which one to work on.

Display a clear summary of:

  • Issue number and title
  • Description/requirements
  • Labels and priority

Step 2: Enter Plan Mode

CRITICAL: Enter plan mode using the EnterPlanMode tool before any implementation.

In plan mode:

  1. Analyze the issue requirements thoroughly
  2. Explore the codebase using grepai search to understand related code
  3. Identify files that need modification or creation
  4. Design the implementation approach
  5. Break down into clear, actionable steps
  6. Consider edge cases and potential issues
  7. Plan necessary tests

Write your plan and exit plan mode with ExitPlanMode when ready for user approval.

Step 3: Create Feature Branch

After plan approval:

  1. Ensure you're on main and up-to-date:

    git checkout main
    git pull origin main
    
  2. Create a feature branch following the convention:

    git checkout -b <type>/<issue-number>-<short-description>
    

    Types: feat, fix, docs, refactor, test, chore

  3. Confirm branch creation to the user

Step 4: Implement Changes

Follow your approved plan step by step:

  1. Use TodoWrite to track implementation progress
  2. Make focused, incremental changes
  3. Follow project coding conventions (see CLAUDE.md)
  4. Add/update tests as needed
  5. Mark todos as completed as you progress

After each significant change, briefly summarize what was done.

Step 5: Test the Implementation Locally

CRITICAL: You must build the CLI and test it on the actual codebase, not just run unit tests.

5.1 Run Linting and Unit Tests

Read the full file on GitHub · 295 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. yesterday First seen · 295 lines · 0 tokens per session scan A 59b7a17ec04b

Subscribe to this mod's changes

work-issue is a command published in the GitHub repository yoanbernabeu/grepai (1,827 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,793 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.