Borrowing it
Nothing to install: this file belongs to kamiazya/scopes. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kamiazya/scopes/main/.claude/commands/pm/issue-analyze.mdgit clone --depth 1 https://github.com/kamiazya/scopesWrote 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.
[](https://agentmods.dev/commands/kamiazya/scopes/issue-analyze)<a href="https://agentmods.dev/commands/kamiazya/scopes/issue-analyze"><img src="https://agentmods.dev/badge/commands/kamiazya/scopes/issue-analyze.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01203 |
| Opus 5 | $0.00000 | $0.00602 |
| Sonnet 5 | $0.00000 | $0.00241 |
| Haiku 4.5 | $0.00000 | $0.00120 |
Grade A, and why
issue-analyze 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Issue Analyze
Analyze an issue to identify parallel work streams for maximum efficiency.
Usage
/pm:issue-analyze <issue_number>
Quick Check
-
Find local task file:
- First check if
.claude/epics/*/$ARGUMENTS.mdexists (new naming convention) - If not found, search for file containing
github:.*issues/$ARGUMENTSin frontmatter (old naming) - If not found: "❌ No local task for issue #$ARGUMENTS. Run: /pm:import first"
- First check if
-
Check for existing analysis:
test -f .claude/epics/*/$ARGUMENTS-analysis.md && echo "⚠️ Analysis already exists. Overwrite? (yes/no)"
Instructions
1. Read Issue Context
Get issue details from GitHub:
gh issue view $ARGUMENTS --json title,body,labels
Read local task file to understand:
- Technical requirements
- Acceptance criteria
- Dependencies
- Effort estimate
2. Identify Parallel Work Streams
Analyze the issue to identify independent work that can run in parallel:
Common Patterns:
- Database Layer: Schema, migrations, models
- Service Layer: Business logic, data access
- API Layer: Endpoints, validation, middleware
- UI Layer: Components, pages, styles
- Test Layer: Unit tests, integration tests
- Documentation: API docs, README updates
Key Questions:
- What files will be created/modified?
- Which changes can happen independently?
- What are the dependencies between changes?
- Where might conflicts occur?
3. Create Analysis File
Get current datetime: date -u +"%Y-%m-%dT%H:%M:%SZ"
Create .claude/epics/{epic_name}/$ARGUMENTS-analysis.md:
---
issue: $ARGUMENTS
title: {issue_title}
analyzed: {current_datetime}
estimated_hours: {total_hours}
parallelization_factor: {1.0-5.0}
---
# Parallel Work Analysis: Issue #$ARGUMENTS
## Overview
{Brief description of what needs to be done}
## Parallel Streams
### Stream A: {Stream Name}
**Scope**: {What this stream handles}
**Files**:
- {file_pattern_1}
- {file_pattern_2}
**Agent Type**: {backend|frontend|fullstack|database}-specialist
**Can Start**: immediately
**Estimated Hours**: {hours}
**Dependencies**: none
### Stream B: {Stream Name}
**Scope**: {What this stream handles}
**Files**:
- {file_pattern_1}
- {file_pattern_2}
**Agent Type**: {agent_type}
**Can Start**: immediately
**Estimated Hours**: {hours}
**Dependencies**: none
### Stream C: {Stream Name}
**Scope**: {What this stream handles}
**Files**:
- {file_pattern_1}
**Agent Type**: {agent_type}
**Can Start**: after Stream A completes
**Estimated Hours**: {hours}
**Dependencies**: Stream A
## Coordination Points
### Shared Files
{List any files multiple streams need to modify}:
- `src/types/index.ts` - Streams A & B (coordinate type updates)
- `package.json` - Stream B (add dependencies)
### Sequential Requirements
{List what must happen in order}:
1. Database schema before API endpoints
2. API types before UI components
3. Core logic before tests
## Conflict Risk Assessment
- **Low Risk**: Streams work on different directories
- **Medium Risk**: Some shared type files, manageable with coordination
- **High Risk**: Multiple streams modifying same core files
## Parallelization Strategy
**Recommended Approach**: {sequential|parallel|hybrid}
{If parallel}: Launch Streams A, B simultaneously. Start C when A completes.
{If sequential}: Complete Stream A, then B, then C.
{If hybrid}: Start A & B together, C depends on A, D depends on B & C.
## Expected Timeline
With parallel execution:
- Wall time: {max_stream_hours} hours
- Total work: {sum_all_hours} hours
- Efficiency gain: {percentage}%
Without parallel execution:
- Wall time: {sum_all_hours} hours
## Notes
{Any special considerations, warnings, or recommendations}
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.
- 7d ago First seen · 186 lines · 0 tokens per session scan A 69ca62c40eb7
issue-analyze is a command published in the GitHub repository kamiazya/scopes (2 stars, last pushed 9mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,203 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-31.
Other commands, from other repositories
arrange-workspace-flow
Workflow for arranging a workspace: layout, reference source code, business/technical context, ecosystem setup.
diagnose-deeptrace
Run a ZDX deep trace diagnostics session — start, analyze, or clean up deep traces for a user's device.
troubleshoot-user
Cross-product troubleshooting of user connectivity across ZCC, ZDX, ZPA, and ZIA.
investigate-incident
Investigate security incidents using Z-Insights analytics -- threats, firewall actions, shadow IT, and web traffic.
create-access-rule
Create a ZPA access policy rule with v2 conditions for application access control.
onboard-app
End-to-end onboarding of a new application in ZPA with full dependency chain.