issue

issue is a cursor rule for Cursor from rajitsaha/100xprism. It costs 9 tokens per session (2,466 once invoked), scanned A, original, MIT.

An investigation workflow for turning a bug or project gap into a detailed GitHub issue. GitHub issues are tracked work items used to describe and manage engineering tasks.

In plain words
What is it for?
Use it to inspect project history and configuration, investigate bugs or gaps from multiple angles, and create a structured issue with a proposed resolution.
Why use it?
It helps teams understand the root cause and surrounding context before deciding how to fix a problem. This makes the resulting task more actionable.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md; positional $N argument; mentions AGENTS.md.

Good fit Use it to inspect project history and configuration, investigate bugs or gaps from multiple angles, and create a structured issue with a proposed resolution.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/rajitsaha/100xprism/issue
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/rajitsaha/100xprism

Made for: Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/rajitsaha/100xprism/issue/github.svg)](https://agentmods.dev/rules/rajitsaha/100xprism/issue)
Your own site
<a href="https://agentmods.dev/rules/rajitsaha/100xprism/issue"><img src="https://agentmods.dev/badge/rules/rajitsaha/100xprism/issue/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

Your own site · 80×15
<a href="https://agentmods.dev/rules/rajitsaha/100xprism/issue"><img src="https://agentmods.dev/badge/rules/rajitsaha/100xprism/issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,466 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.00009 $0.02466
Opus 5 $0.00005 $0.01233
Sonnet 5 $0.00002 $0.00493
Haiku 4.5 $0.00001 $0.00247

Measured 5d ago against content hash af71415e427d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 5d 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.

.cursor/rules/issue.mdc · 268 lines

How it starts

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

Issue — Investigate & Create Detailed GitHub Issue

Given an observation, bug, or gap: investigate multi-dimensionally, find the root cause, plan the resolution, and create a detailed actionable GitHub issue.

Do NOT ask for permission — investigate thoroughly, then create the issue.


Phase 1 — Codebase Investigation

Understand the problem in full context before forming any opinion.

PROJECT_ROOT=$(git rev-parse --show-toplevel); cd "$PROJECT_ROOT"
git log --oneline -20
git status

# Detect the stack so later steps don't assume GCP/npm (canonical block — source: _lib/reference.md)
INSTRUCTION_FILE=$(for f in CLAUDE.md AGENTS.md .cursorrules; do [ -f "$PROJECT_ROOT/$f" ] && echo "$PROJECT_ROOT/$f" && break; done)
CLOUD=""
if command -v gcloud >/dev/null 2>&1 && gcloud config get-value project >/dev/null 2>&1; then CLOUD=gcp; fi
[ -z "$CLOUD" ] && grep -rqiE "aws_|amazonaws|::aws" "$PROJECT_ROOT"/terraform "$PROJECT_ROOT"/infra "$PROJECT_ROOT"/cdk.json 2>/dev/null && CLOUD=aws
[ -z "$CLOUD" ] && [ -n "$INSTRUCTION_FILE" ] && grep -qiE "gcloud|Cloud Run|Firebase" "$INSTRUCTION_FILE" && CLOUD=gcp
CI_SYSTEM=""; ls "$PROJECT_ROOT"/.github/workflows/*.y*ml >/dev/null 2>&1 && CI_SYSTEM=github-actions
echo "stack: cloud=${CLOUD:-none} ci=${CI_SYSTEM:-none}"
  1. Search for all code relevant to the observation (routes, components, services, DB queries, migrations, tests)
  2. Read the relevant source files — never guess at behavior
  3. Check recent commits in the affected area:
    git log --oneline --since="60 days ago" -- <relevant-paths>
    
  4. Check for existing related issues (only if gh is available). Pull titles and bodies, then match on meaning, not just a keyword grep — a dupe often uses different words for the same root cause:
    command -v gh >/dev/null 2>&1 && gh issue list --state all --limit 100 \
      --json number,title,body -q '.[] | "#\(.number) \(.title)\n\(.body)\n---"' 2>/dev/null
    
    If an existing issue describes the same underlying problem, reference or update it instead of filing a duplicate.
  5. Check current test coverage for the affected code paths
  6. If a production issue and CLOUD=gcp, check Cloud Run logs (resolve the project from gcloud config — never pass a literal placeholder):
    if [ "$CLOUD" = gcp ]; then
      PROJECT=$(gcloud config get-value project 2>/dev/null)
      gcloud logging read "resource.type=cloud_run_revision AND severity>=ERROR" \
        --project="$PROJECT" --limit=20 --format="value(textPayload)" 2>/dev/null || true
    fi
    
    For other providers, read logs the platform-appropriate way (AWS: aws logs tail; Vercel: vercel logs; or the project's configured log viewer). Skip if not a production issue.

Read the full file on GitHub · 268 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. 5d ago First seen · 268 lines · 9 tokens per session scan A af71415e427d

Subscribe to this mod's changes

issue is a cursor rule published in the GitHub repository rajitsaha/100xprism (10 stars, last pushed 8d ago), licensed MIT. It adds 9 tokens to every session and 2,466 once invoked, about $0.0000 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-09-03.