feedback-capture

feedback-capture is a cursor rule for coding agents from IgorGanapolsky/ThumbGate. It costs 24 tokens per session (430 once invoked), scanned A, original, MIT.

A set of rules for collecting structured feedback after mistakes, unexpected behavior, corrections, or completed tasks. The feedback records what happened and tags the lesson for future use.

In plain words
What is it for?
Use it to capture test failures, wrong approaches, deployment problems, user corrections, and positive signals from successful work.
Why use it?
It prevents useful lessons from being lost in conversation and makes recurring problems easier to identify and avoid.

Cursor rule

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 rules/igorganapolsky/thumbgate/feedback-capture
Clone the repo
git clone --depth 1 https://github.com/IgorGanapolsky/ThumbGate

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 feedback-capture

README.md
[![agentmods](https://agentmods.dev/badge/rules/igorganapolsky/thumbgate/feedback-capture.svg)](https://agentmods.dev/rules/igorganapolsky/thumbgate/feedback-capture)
Your own site
<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>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 430 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00024 $0.00430
Opus 5 $0.00012 $0.00215
Sonnet 5 $0.00005 $0.00086
Haiku 4.5 $0.00002 $0.00043

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

Security

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.

plugins/cursor-marketplace/rules/feedback-capture.mdc · 35 lines

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

  1. Call the capture_feedback MCP tool with:

    • signal: "thumbs_up" or "thumbs_down"
    • context: Brief description of what happened when the explanation is already explicit
    • tags: 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 conversation
    • relatedFeedbackId: use for a later clarification that should refine an existing feedback event
    • rubric_scores: Optional structured scores if a rubric applies
  2. Include enough context so the feedback is useful for future prevention rule generation.

  3. If the user only gives a bare thumbs signal or short correction, still capture it and let ThumbGate propose whatWentWrong / whatToChange from recent history. If the explanation arrives later, reuse relatedFeedbackId so 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"]
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. 5d ago First seen · 35 lines · 24 tokens per session scan A 7847e67a72c9

Subscribe to this mod's changes

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.