report-feedback
Skill396 starsChanged 7 months agoMITView on GitHub
THE way a bug, feature request or feedback about Sutando, AG2 Space or the desktop app reaches the AG2 team; the only path to the tracker (Slack #product-feedback, a GitHub issue, the master DB). Posting it in chat, a room or a DM, or asking another agent to log it, is not reporting it. Use when the owner says "report this bug", "report this issue", "report an issue", "report a bug", "file a bug", "log this bug", "submit feedback", "feature request", "tell the team this is broken", "something's broken, file it", in a DM, a room or by voice (not "report this on the PR" or "to <someone>": that is a comment or a message); or automatically (--auto) when the agent itself hits a Sutando/AG2 Space bug. Files through the cloud /api/feedback API with diagnostic context and replies with the reference id. A non-owner asking is told to file it through their own report-feedback skill or the app's Report a bug button.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Azure/azure-sdk-toolstheir own version, first seen Aug 31, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Azure/azure-sdk-tools★ 134same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository74 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ag2space-voiceSkill
- agent-activitySkill
- agent-registrySkill
- agent-room-opsSkill
- answer-formatSkill
- audio-transcribeSkill
- bee-actionsSkill
- bot2bot-postSkill
- call-diagnosticsSkill
- claude-codexSkill
- claude-geminiSkill
- claude-piSkill
- claude-routerSkill
- collaboration-intelligenceSkill
- connect-appsSkill
- context-dropSkill
- context-reconstructSkill
- db-browserSkill
- deal-finderSkill
- doc-ingestSkill
- electron-overlay-dimmingSkill
- email-findSkill
- engine-conflict-resolveSkill
- gemini-ttsSkill
- image-generationSkill
- import-claude-contextSkill
- local-workspace-serverSkill
- macos-toolsSkill
- macos-useSkill
- make-viral-videoSkill
- marketplaceSkill
- media-transcriptSkill
- meeting-prepSkill
- meeting-schedulerSkill
- mention-gateSkill
- model-switchSkill
- morning-briefingSkill
- ms365-connectSkill
- observeSkill
- obsidian-vaultSkill
- openai-ttsSkill
- open-sutando-refSkill
- overlay-appsSkill
- pending-questionsSkill
- phone-conversationSkill
- proactive-loopSkill
- pr-shepherd-contractSkill
- quota-trackerSkill
- regression-searchSkill
- relaySkill
- releaseSkill
- review-preflightSkill
- schedule-cronsSkill
- screen-companionSkill
- screen-recordSkill
- self-diagnoseSkill
- self-upgradeSkill
- session-recapSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Ask the user for a short title and a description if they're not already clear from the conversation.
- Distinctive: line 93
Use the returned incident ID to record the existing recovery lifecycle:
- Distinctive: line 113
If recovery never starts, the report becomes eligible one hour after queuing.
- Distinctive: line 114
If recovery is still running at that deadline, it remains held.
- Distinctive: line 117
Keep the incident ID with the task's recovery context across turns.
- Very specific: line 150
Stop hook and worker serialize mutations with state/feedback-reports.lock.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Report Feedback
When the user asks to report a bug / issue / feature request / feedback about Sutando, AG2 Space or the desktop app — e.g. "report this bug", "report this issue", "report an issue", "file a bug", "log this bug", "submit feedback", "I have a feature request", "tell the team this is broken" — use this skill to file it, whether the ask comes in a DM, in a room or by voice. "Report this on the PR" or "report this to <someone>" asks for a PR comment or a message, not a report.
This is the only path that reaches the AG2 team. The report goes skill → /api/feedback → Slack #product-feedback, a GitHub issue on sonichi/sutando and the master feedback DB. A message in a room or a DM, a hand-opened GitHub issue, or asking another agent (another Sutando included) to "add a row" or pass it on never gets there; do not do those instead of filing. After filing, reply with the reference id the script prints.
It posts to the cloud /api/feedback route (the same one the desktop "Report an issue" form uses, which mirrors into GitHub issues) and auto-attaches diagnostic context (platform + a tail of recent workspace logs), so you don't need to gather logs yourself.
This is the single reporting path for all surfaces — chat, Discord, Telegram, and voice (which reaches it by delegating the task to the core agent). There is intentionally no separate voice tool, to avoid duplicating the same capability.
Usage
python3 skills/report-feedback/report-feedback.py \
--title "<short one-line summary>" \
[--body "<what happened, steps to reproduce, what was expected>"] \
[--kind bug|feature|other] \
[--severity low|medium|high|critical] \
[--no-logs] [--auto]- Ask the user for a short title and a description if they're not already clear from the conversation. Infer
kind(defaultbug) andseverity(defaultmedium) from context. - Announce the log attachment before sending, then honor an opt-out. Recent diagnostic logs are attached by default. Since there's no visible checkbox on voice/chat (unlike the desktop form), say so first — e.g. "I'll attach recent diagnostic logs to help debug, unless you'd rather I didn't." If the user declines, pass
--no-logs. This makes it an informed opt-out rather than a silent default (especially important on voice, where the user can't see what's being sent). Log excerpts are redaction-scrubbed (Bearer tokens,token=/api_key=/secret=values, common key formats, and the home-dir username are masked) as a backstop, but announcing is still required.
Ask first (--ask, or askFirst in the owner's prefs)
The owner's approval step for automatic reports. Instead of filing, the report is parked as a draft under
<workspace>/state/feedback-drafts/<id>.json and registered in the engine's HITL store (src/hitl) as a
HumanRequirement: the gateway bridge projects it as the owner's card — File this bug report · File
without logs · Skip — into its proactive room, and applies the click with the same stale-revision guard
every other card gets. Nothing is posted by this script, so it needs no gateway env.
# ask (also what --auto does when feedback-prefs.json has "askFirst": true):
python3 skills/report-feedback/report-feedback.py --auto --title "..." --body "..."
# after the owner answers (the click is durable in the HITL store): run the clicked choices
python3 skills/report-feedback/report-feedback.py --apply
python3 skills/report-feedback/report-feedback.py --drafts # pending drafts, oldest first
python3 skills/report-feedback/report-feedback.py --decide <draft-id> file|file_no_logs|skip # by hand- The click is applied automatically, in the turn it causes: the requirement is created with
turn_on_action, so the bridge records the click and then lets the same relay task through to the core (and re-forwards it if the relay redelivers the same click before that task was written, so a death in between cannot lose the turn); that task carries the headerhitl_click: trueand the card label as its body — it is a click already recorded, not an instruction: answer[no-send], do not file by hand, and let the turn end — and the skill'sStophook (manifest.json→hooks/apply-clicks.py, registered bybash src/install-claude-hooks.shlike every skill hook) runsapply_clicks()as that turn ends.--applyis the same routine by hand. It also registers any parked draft whose card was never created (a store write that failed at ask time exits 3 and keeps the draft). - Filing is exactly-once by markers: before the post the draft becomes
<id>.posting; a 2xx renames it to<id>.filed, the card is resolved, the receipt removed; a 4xx (the server refused, nothing written) renames it back to a draft. A 5xx proves nothing (the write may have committed), so like no answer at all (a transport error, a death mid-request) it leaves<id>.posting, and--applyholds it — never re-posted on a guess. A held draft is owner-visible: the answered card closes and a new card asks "Bug report: filed or not? — File it again / Skip"; its click runs through the same path (filere-posts on purpose,skipdrops the in-flight draft).--draftslists parked drafts; in-flight ones are visible tolist_drafts(ws, state="posting"), and--decide <id> file|skipsettles one by hand and closes its cards. The payload carriescontext.idempotency_key = <draft id>for a server-side check. fileattaches logs only ifsendLogsis on;file_no_logsnever does;skipdrops the draft. Logs are gathered only after the choice — the card carries the title only.- The ask is the throttled event: dedupe and the daily cap are checked and recorded when the card
is asked, and the off-switch applies to
--askas well as--auto. - Draft ids are
fb_+ 10 lowercase hex; anything else is refused before any read or unlink.
Automatic reports (--auto)
When you (not the user) determine that a bug or error is caused by Sutando itself or AG2 Space — engine services, bridges, the desktop app, AG2 Space connectivity, or the AG2 cloud — queue it with --auto. Never --auto-file problems in the user's own projects or code, third-party tools/sites/APIs, or expected failures (bad input, credentials the owner simply hasn't provided).
--auto enforces the owner's Settings toggles (read from <workspace>/state/feedback-prefs.json, written by the desktop app). When the file is absent the two defaults differ:
- File automatic bug reports — defaults ON. Off → the script prints
SKIPPEDand exits 3. Respect it — do not retry or route around it. - Send logs with bug reports — defaults OFF, i.e. opt-in. Off → the log excerpt is omitted from every report (auto and manual), same as
--no-logs.
The split is deliberate. Absence of the file must not disable reporting on installs that predate the toggles, but absence is not consent either, and the log excerpt is the part that carries incidental owner data — paths containing usernames, hostnames, workspace content. An owner who has never opened Settings ships no logs.
Auto reports are also deduped (an identical title within 24h) and rate-limited (5 per 24h) via <workspace>/state/feedback-auto-reports.json. A SKIPPED exit (3) is a normal outcome, not an error — just move on. Only after OK: filed (not HELD), tell the owner in one short sentence (e.g. "I've filed a bug report about this"); the Settings toggle is the consent surface, so don't ask permission first.
Hold automatic reports while existing recovery runs
--auto first returns HELD: incident fb_…. The report stays locally in
state/feedback-drafts/; it sends nothing and creates no approval card yet.
An identical pending title reuses its incident ID and original deadline.
Manual reports without --auto remain immediate.
Use the returned incident ID to record the existing recovery lifecycle:
python3 skills/report-feedback/report-feedback.py --auto --title "Bridge disconnected" --body "Observed failure"
python3 skills/report-feedback/report-feedback.py --recovery fb_0123456789 started
# After the existing recovery finishes, record exactly one outcome:
python3 skills/report-feedback/report-feedback.py --recovery fb_0123456789 succeeded
# Or, only when recovery has definitively failed / exhausted its own timeout:
python3 skills/report-feedback/report-feedback.py --recovery fb_0123456789 failed- Record
startedas soon as an existing recovery begins (or immediately after queuing if it is already running). Do not start extra recovery to satisfy reporting. - Record
succeededonly when the original failing operation is verified working. Restarting a process alone is insufficient. Success archives the local diagnostic draft as.suppressedand cancels any unsent approval card. - Record
failedonly for the final outcome, not an intermediate failed retry. This immediately releases the report through the current preferences, daily cap, deduplication and ask-first flow. An already-failed recovery can be recorded immediately after queuing; no new attempt is required. - If recovery never starts, the report becomes eligible one hour after queuing. If recovery is still running at that deadline, it remains held. The existing recovery controller/agent must report its final failure, including its own timeout. This skill never infers success or failure from unrelated health checks.
- Keep the incident ID with the task's recovery context across turns. Record outcomes for that incident only. Repeat detections do not extend the one-hour deadline.
--draftslists pending incidents and their recovery state.--applyevaluates deadlines and applies owner clicks. Reports carrycontext.recoverywith the state, deadline and release reason. Automatic posting never claims owner approval.- The auto-report off-switch is checked again at release; disabled queued reports
are archived and do not return when the switch is re-enabled. Logs are collected
only at filing, using current
sendLogsand the queued--no-logschoice.
Deadline worker (deployment)
The Stop hook applies owner clicks without waiting behind a worker; automatic releases run in the worker or explicit CLI. Install the periodic worker when deploying this change on macOS:
python3 skills/report-feedback/install-worker.py
# Inspect the job without installing:
python3 skills/report-feedback/install-worker.py --render
# Remove the worker:
python3 skills/report-feedback/install-worker.py --uninstallIt runs report-feedback.py --apply every 60 seconds via launchd and at login,
independent of the core. Deadlines persist across restarts and are evaluated on the
next tick after wake/login; an offline/asleep machine cannot submit at an exact
wall-clock deadline. Use a persistent checkout and Python installation; reinstall
if either path changes. Inspect logs/feedback-recovery.log for worker errors.
On other platforms, configure the OS scheduler to run the same --apply command
once per minute. Without a periodic worker, deadlines are checked only on an explicit --apply
or recovery update; installing the code alone does not activate the timer.
Posts use the existing draft .posting/.filed receipts: uncertain network outcomes
are held for the existing owner decision card, never automatically reposted. CLI,
Stop hook and worker serialize mutations with state/feedback-reports.lock.
Behavior
- Every report includes Sutando and AG2Space version/commit identifiers in both structured context and a readable body section, even with
--no-logs. Packaged apps use build-stamped metadata; source checkouts include the Git revision and tracked local-edit marker. Parked reports retain their incident-time versions across upgrades; older drafts and unavailable identifiers are explicitlyunknown. - Requires the user to be signed in to Sutando Cloud (Settings → Sutando Cloud). If not, the script prints
NOT_SIGNED_INand exits 2 — relay that and ask them to sign in, then retry. For--autoreports, don't nag: mention it at most once. - On success it prints
OK: filed <kind> report (<status>). Reference: <id>.(the id the feedback API returned; the line has noReference:when the API named none). Tell the user it is filed and give the reference. On API error it printsERROR: …— relay a brief apology and offer to retry. - Exit codes:
0filed, held, recovery recorded, or applied (read the output),1error,2not signed in,3skipped (auto reports disabled, duplicate, or rate-limited).
Access tier
Owner-tier only — it files under the owner's Sutando Cloud identity, and it reads the owner's cloud token + attaches the owner's workspace log tail. Run it only for access_tier: owner (or an unauthenticated local/voice owner task). The script has no tier check of its own.
Guest tasks, every non-owner Slack task, and non-owner Discord tasks from senders outside the channel's collaborators list go to a read-only codex exec --sandbox agent with no cloud token, which cannot run this script. AG2 Space Team tasks, broker-attested collaborators included, and a Discord channel's listed collaborators run in the owner's core with its normal tools (docs/access-control.md). Nothing structural stops them from running this script: the gate is prose, the in-band Team guardrail or collaborator rulebook (no external actions on their say-so) and the section below.
When a non-owner asks
This applies to every task whose access_tier is not owner, a collaborator's included. A teammate, a guest or another agent asking you to report a bug cannot be filed under your owner's identity. Never stay silent and never hand it to another agent. Answer them in one line: file it through your own report-feedback skill (a person: through their own Sutando), or with the Report a bug button in the AG2 Space app (the bug icon in the composer), which files it under their own account. If your owner asks you to file it for them, it is the owner's report: file it as usual.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

