issue-analyzer

issue-analyzer is an agent for Claude Code from JanDeDobbeleer/oh-my-posh. It costs 85 tokens per session (1,140 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).

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,433 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 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,140 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.00085 $0.01140
Opus 5 $0.00043 $0.00570
Sonnet 5 $0.00017 $0.00228
Haiku 4.5 $0.00009 $0.00114

Measured 8d ago against content hash f95152bc3df7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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.

.github/agents/issue-analyzer.agent.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 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 perform a thorough investigation of a GitHub issue and post your findings as a structured comment back on the ticket.

Workflow

Step 1: Precondition checks

Before doing anything else, verify you are inside the oh-my-posh git repository (git rev-parse --is-inside-work-tree). If the check fails, stop and tell the user what is missing.

Step 2: Fetch the issue

Invoke the gh-cli skill to retrieve the issue details. Use it to run:

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

Read the issue title, body, and any existing comments carefully. Pay attention to:

  • What the reporter says is happening (actual behavior)
  • What they expect instead (expected behavior)
  • Their platform (OS, shell, terminal, tool version if mentioned)
  • Any config fragments or theme snippets they pasted
  • Labels already applied — these hint at the affected area

Step 3: Identify the affected codebase area

Use the table below as a starting point for which area of the codebase is likely involved:

Issue topic Where to look
A specific segment src/segments/<name>.go + src/segments/<name>_test.go
Shell integration src/shell/ and src/shell/scripts/
Rendering / styling src/prompt/engine.go, src/color/
Theme / config src/config/, themes/
CLI command src/cli/
Caching src/cache/
Templates src/template/

Invoke the ast-grep skill to locate symbols, function names, struct definitions, and call sites mentioned in the issue — do not read entire directories or files to find them. Use ast-grep structural patterns to trace data flow and discover the precise files and line numbers involved before opening any file for detailed reading.

Read the full file on GitHub · 116 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 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,433 stars, last pushed today), licensed MIT. It adds 85 tokens to every session and 1,140 once invoked, about $0.0004 per session on Opus 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

Dynatrace Expert

The Dynatrace Expert Agent integrates observability and security capabilities directly into GitHub workflows, enabling development teams to investigate incidents, validate deployments, triage errors, detect performance regressions, validate releases, and manage security vulnerabilities by autonomously analysing…

github/awesome-copilot · 77 tokens

New Relic Incident Response Agent

Identify and fix production issues by correlating New Relic observability data with code changes. Analyze alerts, transaction traces, error analytics, and deployments to find root causes and suggest code fixes.

github/awesome-copilot · 45 tokens

react18-auditor

Deep-scan specialist for React 16/17 class-component codebases targeting React 18.3.1. Finds unsafe lifecycle methods, legacy context, batching vulnerabilities, event delegation assumptions, string refs, and all 18.3.1 deprecation surface. Reads everything, touches nothing. Saves .github/react18-audit.md.

github/awesome-copilot · 74 tokens

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