n8n-pilot: Command for Claude Code

.claude/commands/bug-reporting.md

bug-reporting is a command for Claude Code from AI-agents-incubator/n8n-pilot. It costs 0 tokens per session (1,146 once invoked), scanned B, original, MIT.

A project command for enabling, disabling, checking, or testing anonymous bug reporting in the framework. When enabled, it can log protocol steps and create anonymized reports for critical errors, with submission to GitHub Issues.

In plain words
What is it for?
Changing bug-reporting settings, viewing their status, or creating a sample report without submitting it.
Why use it?
It gives the project a controlled way to manage whether error information is recorded or sent, rather than leaving reporting settings unclear.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is AI-agents-incubator/n8n-pilot's own configuration. It tells Claude Code how to work on n8n-pilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything n8n-pilot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AI-agents-incubator/n8n-pilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AI-agents-incubator/n8n-pilot/main/.claude/commands/bug-reporting.md
Clone the repo
git clone --depth 1 https://github.com/AI-agents-incubator/n8n-pilot

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/ai-agents-incubator/n8n-pilot/bug-reporting.svg)](https://agentmods.dev/commands/ai-agents-incubator/n8n-pilot/bug-reporting)
Your own site
<a href="https://agentmods.dev/commands/ai-agents-incubator/n8n-pilot/bug-reporting"><img src="https://agentmods.dev/badge/commands/ai-agents-incubator/n8n-pilot/bug-reporting.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,146 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00000 $0.01146
Opus 5 $0.00000 $0.00573
Sonnet 5 $0.00000 $0.00229
Haiku 4.5 $0.00000 $0.00115

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

Security

Grade B, and why

bug-reporting scanned grade B 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat .claude/.framework-config | \
.claude/commands/bug-reporting.md · 181 lines

How it starts

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

Bug Reporting Management Command

Purpose: Manage bug reporting settings for the framework.

Usage

/bug-reporting [enable|disable|status|test]

Commands

enable

Enable anonymous bug reporting. When enabled, the framework will:

  • Log Cold Start and Completion protocol steps
  • Create anonymized bug reports when errors occur
  • Submit reports to GitHub Issues (if error is critical)

disable

Disable bug reporting. No logs will be created, no reports will be sent.

status

Show current bug reporting configuration:

  • Current status (enabled/disabled)
  • Project name
  • Config version
  • Last update timestamp

test

Test the bug reporting system by creating a sample report (does not submit).


Implementation

Enable Bug Reporting

if [ ! -f ".claude/.framework-config" ]; then
  echo "⚠️  Framework config not found. Run 'start' first to initialize."
  exit 1
fi

# Update config to enable
cat .claude/.framework-config | \
  sed 's/"bug_reporting_enabled": false/"bug_reporting_enabled": true/' > \
  .claude/.framework-config.tmp
mv .claude/.framework-config.tmp .claude/.framework-config

echo "✅ Bug reporting enabled"
echo ""
echo "What will be collected:"
echo "  • Anonymous error reports when crashes occur"
echo "  • Protocol execution logs (Cold Start, Completion)"
echo "  • Framework version and step information"
echo ""
echo "What will NOT be collected:"
echo "  • Your code or file contents"
echo "  • File paths (anonymized)"
echo "  • API keys, tokens, secrets (removed)"
echo ""

Disable Bug Reporting

if [ ! -f ".claude/.framework-config" ]; then
  echo "⚠️  Framework config not found. Run 'start' first to initialize."
  exit 1
fi

# Update config to disable
cat .claude/.framework-config | \
  sed 's/"bug_reporting_enabled": true/"bug_reporting_enabled": false/' > \
  .claude/.framework-config.tmp
mv .claude/.framework-config.tmp .claude/.framework-config

echo "✅ Bug reporting disabled"
echo ""
echo "Existing logs in .claude/logs/ will be preserved but not submitted."
echo "You can delete them manually if needed."
echo ""

Read the full file on GitHub · 181 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 · 181 lines · 0 tokens per session scan B 7e751d1e0038

Subscribe to this mod's changes

bug-reporting is a command published in the GitHub repository AI-agents-incubator/n8n-pilot (29 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,146 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.