report-bug

report-bug is a command for coding agents from roberto-mello/lavra. It costs 12 tokens per session (925 once invoked), scanned A, original, MIT.

A command for collecting the information needed to report a bug in the Lavra plugin. It asks about the affected component, expected and actual behaviour, reproduction steps, errors, and the environment.

In plain words
What is it for?
Use it when a Lavra agent, command, skill, server, or installation is not working as expected.
Why use it?
It turns a vague problem report into details that can be investigated and reproduced. This reduces the need to gather the same information through repeated follow-up questions.

Command

Part of the lavra plugin — 23 skills, 18 commands, 1 hook, 1 MCP server 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/roberto-mello/lavra/report-bug
Clone the repo
git clone --depth 1 https://github.com/roberto-mello/lavra

Or install lavra, the plugin that ships this one along with the rest of its 23 skills, 18 commands, 1 hook, 1 MCP server.

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 report-bug

README.md
[![agentmods](https://agentmods.dev/badge/commands/roberto-mello/lavra/report-bug.svg)](https://agentmods.dev/commands/roberto-mello/lavra/report-bug)
Your own site
<a href="https://agentmods.dev/commands/roberto-mello/lavra/report-bug"><img src="https://agentmods.dev/badge/commands/roberto-mello/lavra/report-bug.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 925 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00012 $0.00925
Opus 5 $0.00006 $0.00463
Sonnet 5 $0.00002 $0.00185
Haiku 4.5 $0.00001 $0.00093

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

Security

Grade A, and why

report-bug scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

import urllib.parse
plugins/lavra/commands/report-bug.md · 159 lines

How it starts

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

Step 1: Gather Bug Information

Use the AskUserQuestion tool to collect the following information:

Question 1: Bug Category

  • What type of issue are you experiencing?
  • Options: Agent not working, Command not working, Skill not working, MCP server issue, Installation problem, Other

Question 2: Specific Component

  • Which specific component is affected?
  • Ask for the name of the agent, command, skill, or MCP server

Question 3: What Happened (Actual Behavior)

  • Ask: "What happened when you used this component?"
  • Get a clear description of the actual behavior

Question 4: What Should Have Happened (Expected Behavior)

  • Ask: "What did you expect to happen instead?"
  • Get a clear description of expected behavior

Question 5: Steps to Reproduce

  • Ask: "What steps did you take before the bug occurred?"
  • Get reproduction steps

Question 6: Error Messages

  • Ask: "Did you see any error messages? If so, please share them."
  • Capture any error output

Step 2: Collect Environment Information

Automatically gather:

# Get Lavra version (works on all platforms)
cat .lavra/.lavra-version 2>/dev/null || echo "unknown"

# Get OS info
uname -a

Step 3: Format the Bug Report

Create a well-structured bug report with:

## Bug Description

**Component:** [Type] - [Name]
**Summary:** [Brief description from argument or collected info]

## Environment

- **Lavra Version:** [from plugin.json]
- **OS:** [from uname]
- **AI Platform:** [Claude Code / OpenCode / Gemini CLI / Cortex / other]

## What Happened

[Actual behavior description]

## Expected Behavior

[Expected behavior description]

## Steps to Reproduce

1. [Step 1]
2. [Step 2]
3. [Step 3]

## Error Messages

[Any error output]


## Additional Context

[Any other relevant information]

---
*Reported via `/report-bug` command*

Read the full file on GitHub · 159 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 · 159 lines · 12 tokens per session scan A a79cffe499c8

Subscribe to this mod's changes

report-bug is a command published in the GitHub repository roberto-mello/lavra (50 stars, last pushed 2mo ago), licensed MIT. It adds 12 tokens to every session and 925 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.