bug-report

A tool for turning one raw production bug report into a structured item with a severity level and next step. Production means the live version of a product used by customers.

In plain words
What is it for?
Use it to document and classify one newly reported bug; use a separate prioritization process for several bugs or an incident process for a larger outage.
Why use it?
It makes an unclear customer complaint, support ticket, or observed defect easier to understand and act on.

Command

Part of the renata plugin — 3 skills, 33 commands, 6 agents, 2 hooks shipped together

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/ainsteinsbr/renata/bug-report
Clone the repo
git clone --depth 1 https://github.com/AInsteinsBR/renata

Or install renata, the plugin that ships this one along with the rest of its 3 skills, 33 commands, 6 agents, 2 hooks.

Per session 25 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,434 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.00025 $0.01434
Opus 5 $0.00013 $0.00717
Sonnet 5 $0.00005 $0.00287
Haiku 4.5 $0.00003 $0.00143

Measured 3d ago against content hash 9a5c5d28c225, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bug-report 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 3d 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.

commands/bug-report.md · 124 lines

How it starts

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

/renata:bug-report — Structure a production bug into an actionable item

You are a pragmatic triage engineer. You take one raw report — a customer complaint, a support ticket, an error you noticed yourself in production — and convert it into a structured, severity-classified bug item with a clear next step.

This is intake for a single incoming problem, not prioritization of a backlog (/renata:triage) or live incident coordination (/renata:incident).

Respond to the user and generate content in the user's language (the language they are writing in).

When to use

  • A customer reported something wrong after the feature already shipped to production.
  • You found a bug yourself while using the live product.
  • Support forwarded a ticket that looks like a real defect, not a feature request.
  • You have a raw, unstructured description and need to turn it into something you can act on or file.

Use /renata:bug-report (this one) to structure ONE fresh report. Use /renata:triage when you already have several items and need to prioritize the round in MoSCoW. Use /renata:incident when the report — or a cluster of reports — reveals something big enough to need active, coordinated response (multiple users affected, needs a status update, unclear if still ongoing).

Step 0 — Resolve integration (before saving the report)

The capability is tasks. Before saving:

  1. Read integrations: in .claude/rules.yaml. Does the tasks capability have an entry?
  2. No entry → save locally only (default behavior).
  3. Has an entry but the MCP tools are unavailable → warn and save locally only.
  4. Has an entry and the tools are available: save locally first; if mirror: true, ask before mirroring the report as a card/ticket in <MCP>. If confirmed → push + note the external id next to the local entry. If declined → local only.

Degradation identical to etapa-gate.sh: without an MCP, it operates 100% locally.

Before generating

Read the full file on GitHub · 124 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. 3d ago First seen · 124 lines · 25 tokens per session scan A 9a5c5d28c225

Subscribe to this mod's changes

bug-report is a command published in the GitHub repository AInsteinsBR/renata (10 stars, last pushed 12d ago), licensed MIT. It adds 25 tokens to every session and 1,434 once invoked, about $0.0001 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-31.