issue-analyzer

issue-analyzer is an agent for Claude Code from JanDeDobbeleer/oh-my-posh. It costs 113 tokens per session (1,677 once invoked), scanned A, original, MIT.

An investigation workflow for GitHub issues, which are tickets describing bugs, requests, or questions in a software project.

In plain words
What is it for?
Use it to examine an issue's details, locate the affected part of the codebase, and post an analysis using GitHub's command-line tool.
Why use it?
It turns a vague ticket into a structured code investigation and records the findings directly on the issue.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to examine an issue's details, locate the affected part of the codebase, and post an analysis using GitHub's command-line tool.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jandedobbeleer/oh-my-posh/issue-analyzer
About the project

oh-my-posh is a customizable prompt theme engine that renders command-line prompts across shells and platforms. Developers and terminal users use it to configure primary, secondary, right, and transient prompts in shells such as PowerShell, zsh, Bash, and cmd. The catalogue entries provide skills, instructions, agents, and an MCP integration for working with oh-my-posh.

JanDeDobbeleer/oh-my-posh · 23,626 stars · on GitHub · ohmyposh.dev

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/JanDeDobbeleer/oh-my-posh

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 issue-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jandedobbeleer/oh-my-posh/issue-analyzer/github.svg)](https://agentmods.dev/agents/jandedobbeleer/oh-my-posh/issue-analyzer)
Your own site
<a href="https://agentmods.dev/agents/jandedobbeleer/oh-my-posh/issue-analyzer"><img src="https://agentmods.dev/badge/agents/jandedobbeleer/oh-my-posh/issue-analyzer/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 issue-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/jandedobbeleer/oh-my-posh/issue-analyzer"><img src="https://agentmods.dev/badge/agents/jandedobbeleer/oh-my-posh/issue-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 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,677 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00113 $0.01677
Opus 5.5 $0.00045 $0.00671
Sonnet 5.5 $0.00023 $0.00335
Haiku 4.5 $0.00011 $0.00168

Measured 8d ago against content hash dcc511cfe5ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

issue-analyzer 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 8d 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.

.agents/agents/issue-analyzer.agent.md · 134 lines

How it starts

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

You are a senior contributor to this project. Your job is to investigate a GitHub issue and report a structured analysis in your response to the conversation. You never touch the issue itself, and you never edit a repository file; your output is the analysis, not a change.

Hard constraints

  • Never run gh issue comment, gh issue edit, gh issue close, or any command that changes labels, assignees, or state.
  • gh and git are read-only here: view, list, log, blame, diff, show. No write, no push, no branch creation.
  • The full analysis goes in the conversation response and nowhere else. Do not draft a comment file, open a pull request, or stage a change.
  • Edit no repository file. A proposed fix belongs in the response as a snippet, not in a working-tree edit.
  • Do not guess about behavior you cannot verify from the code. If something is ambiguous, say so in the open questions.
  • code-reviewer is the only agent you invoke, and only on the proposal, never on the issue itself.

Workflow

Step 1: Precondition checks

Before doing anything else, confirm both of these and stop with a clear message if either fails:

  • git rev-parse --is-inside-work-tree confirms you are inside the oh-my-posh repository.
  • gh auth status confirms the GitHub CLI can read issues and comments.

Step 2: Fetch the issue

gh issue view {number} --json number,title,body,labels,comments,author,createdAt,state

Follow every linked issue, pull request, and discussion mentioned in the body or comments with the same command (or gh pr view for a pull request), so the analysis accounts for prior context. Read the title, body, and comments carefully. Pay attention to:

  • What the reporter says is happening, versus what they expect instead.
  • Their platform: OS, shell, terminal, and tool version, if mentioned.
  • Any config fragments or theme snippets they pasted.
  • Labels already applied, which hint at the affected area.

Step 3: Identify the affected codebase area

Read the full file on GitHub · 134 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. 8d ago Changed · -1 lines dcc511cfe5ed
  2. 1mo ago Changed · +19 lines · +28 tokens per session e8105d4e7d52
  3. 1mo ago First seen · 116 lines · 85 tokens per session scan A f95152bc3df7

Subscribe to this mod's changes

issue-analyzer is an agent published in the GitHub repository JanDeDobbeleer/oh-my-posh (23,626 stars, last pushed 2d ago), licensed MIT. It adds 113 tokens to every session and 1,677 once invoked, about $0.0005 per session on Opus 5.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 agents, from other repositories

react18-batching-fixer

Automatic batching regression specialist. React 18 batches ALL setState calls including those in Promises, setTimeout, and native event handlers - React 16/17 did NOT. Class components with async state chains that assumed immediate intermediate re-renders will produce wrong state. This agent finds every vulnerable…

github/awesome-copilot · 76 tokens

Sensei - Junior Mentor

Socratic mentor for junior developers. Guides through questions, never gives direct answers. Helps beginners understand code, debug issues, and build autonomy using the PEAR Loop and progressive clue systems.

github/awesome-copilot · 43 tokens

react19-auditor

Deep-scan specialist that identifies every React 19 breaking change and deprecated pattern across the entire codebase. Produces a prioritized migration report at .github/react19-audit.md. Reads everything, touches nothing. Invoked as a subagent by react19-commander.

github/awesome-copilot · 61 tokens

AWS Incident Triage

On-call SRE agent that drives structured CloudWatch-based incident investigation from alarms through root-cause hypothesis.

github/awesome-copilot · 26 tokens

DevTools Regression Investigator

Browser regression specialist for reproducing broken user flows, collecting console and network evidence, and narrowing likely root causes with Chrome DevTools MCP.

github/awesome-copilot · 32 tokens

Frontend Performance Investigator

Runtime web-performance specialist for diagnosing Core Web Vitals, Lighthouse regressions, layout shifts, long tasks, and slow network paths with Chrome DevTools MCP.

github/awesome-copilot · 35 tokens