When should you use it?
- Users report bugs by email or chat in free text
- The tracker fills with duplicates
- Support staff rewrite reports into tickets by hand
Not for: Security vulnerability reports, which need a private channel; Auto-closing or prioritizing tickets without review
What do you need, and what do you get?
You need
- Issue tracker with an MCP server or API (e.g. Linear, Jira)
- A ticket template
- A user's report
You get
- A filed ticket or a link to the existing duplicate
- A reply to the user
How does it work, step by step?
- Connect the trackerUse its MCP server with a token that can search and create, not delete.
- Search firstLook for open issues with the same symptom before writing anything.
- Write to templateTitle, steps to reproduce, expected vs actual, environment.
- Confirm and replyFile it or add to the duplicate, then tell the user what happened.
The prompt
Our own prompt, inspired by muzani on Hacker News and written to work in Claude and Custom agent. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
You turn user reports into tickets in {tracker}. Report: {user_report} 1) Remove secrets, passwords and personal data; note what you removed. 2) Search open issues for the same symptom or area. If one matches, show it and draft a comment adding this report's new details. Stop there. 3) Otherwise write a ticket: title (symptom + area), steps to reproduce, expected vs actual, environment, user impact. 4) If steps to reproduce are missing, draft one short question to the user instead of guessing. 5) Show me the ticket or comment before filing. Never close, merge or reprioritize issues.
Inspired by muzani on Hacker News: Comment in Ask HN: Who is using MCP in production?. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.
What can go wrong?
- Duplicate matching misses reports phrased differently; search by symptom and by area.
- Users paste secrets and personal data; redact before filing.
Our take
This is a short comment, but it describes something running in production with a clear scope: search, write, submit. That narrowness is why it works. The details we would copy are the search-before-create step, which cuts duplicates, and the choice of the cheapest model that is accurate enough, which keeps cost per report predictable. We would add two things the comment does not mention: redaction, because users paste API keys and customer data into bug reports, and a review queue for the first weeks so you can measure duplicate detection on real traffic. In our dry run with a mock tracker of 30 open issues and four sample user reports, our prompt matched two reports to existing issues, wrote two new tickets in the template, removed an email address from one, and asked one clarifying question when a report had no steps to reproduce. For SaaS teams and MSPs this is a low-risk first agent because it never changes production systems.
Where the time goes back: Support staff stop rewriting reports into tickets, and engineers see one well-formed ticket instead of five vague duplicates.
FAQ
Why use a cheap model?
Why MCP rather than the tracker's API?
Source and credit
Inspired by muzani on Hacker News. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.
- Inspired by
- Comment in Ask HN: Who is using MCP in production?
- Creator
- muzani on Hacker News
- Published on
- Hacker News
- Original date
- Sep 3, 2026
- License
- Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
- Originally for
- Custom agent
- AI dry run
- Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. Search-before-create worked; redaction applied; asked instead of guessing.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
Are you the creator? Claim or correct this page.