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.
npx agentmods add rules/igorganapolsky/thumbgate/feedback-capturegit clone --depth 1 https://github.com/IgorGanapolsky/ThumbGateWrote 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.
[](https://agentmods.dev/rules/igorganapolsky/thumbgate/feedback-capture)<a href="https://agentmods.dev/rules/igorganapolsky/thumbgate/feedback-capture"><img src="https://agentmods.dev/badge/rules/igorganapolsky/thumbgate/feedback-capture.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00024 | $0.00430 |
| Opus 5 | $0.00012 | $0.00215 |
| Sonnet 5 | $0.00005 | $0.00086 |
| Haiku 4.5 | $0.00002 | $0.00043 |
Grade A, and why
feedback-capture 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 5d 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.
What it actually says
Feedback Capture
After any mistake, unexpected behavior, or completed task, prompt to capture structured feedback.
When to trigger
- A tool call produces an unexpected error
- A test fails after code changes
- The user corrects an approach mid-task
- A task completes successfully (capture positive signal)
How to capture
-
Call the
capture_feedbackMCP tool with:signal: "thumbs_up" or "thumbs_down"context: Brief description of what happened when the explanation is already explicittags: Relevant tags (e.g., "test-failure", "wrong-approach", "deployment-error")chatHistory: up to 8 prior recorded entries plus the failed tool call when the thumbs-down signal is vague and the lesson should be inferred from recent conversationrelatedFeedbackId: use for a later clarification that should refine an existing feedback eventrubric_scores: Optional structured scores if a rubric applies
-
Include enough context so the feedback is useful for future prevention rule generation.
-
If the user only gives a bare thumbs signal or short correction, still capture it and let ThumbGate propose
whatWentWrong/whatToChangefrom recent history. If the explanation arrives later, reuserelatedFeedbackIdso the linked 60-second follow-up session refines the same record.
Examples
- Test failure after refactor: signal=thumbs_down, tags=["test-failure", "refactor"], context="Tests broke after extracting helper function — missed internal dependency"
- Successful deployment: signal=thumbs_up, tags=["deployment", "success"], context="Clean deploy after running gate checks"
- Vague correction after failed tool use: signal=thumbs_down, chatHistory=[up to 8 prior recorded entries + failed tool call], tags=["wrong-approach", "tool-failure"]
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.
- 5d ago First seen · 35 lines · 24 tokens per session scan A 7847e67a72c9
feedback-capture is a cursor rule published in the GitHub repository IgorGanapolsky/ThumbGate (26 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 430 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-30.
Other cursor rules, from other repositories
selectools-testing
Testing conventions and patterns for selectools.
selectools-agent-core
Rules for working with the agent core loop in selectools.
selectools-development
Selectools development conventions, testing requirements, and release process.
selectools-docs
Documentation standards for selectools docs and MkDocs site.
selectools-providers
Rules for working with LLM provider adapters in selectools.
agentguard
AgentGuard local-first safety.