agentleFS
varunk130varunk130/ai-ux-skill-library/skills/ai-feedback-loops/SKILL.md

ai-feedback-loops

Skill3 starsChanged 4 months agoMITView on GitHub

Design feedback mechanisms that help AI systems learn from users - thumbs up/down, preference ranking, corrections, and human-in-the-loop escalation. Use when: RLHF UX, user feedback for AI, thumbs up down design, AI correction flow, human in the loop, feedback signal design, AI improvement loops.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Design rule: Never require L3+ feedback to complete a task.

    line 41
  2. Distinctive:

    When a user clicks thumbs down, expand into a lightweight triage:

    line 79
  3. Distinctive:

    When AI confidence is low, feedback becomes real-time human decision-making.

    line 138

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AI Feedback Loops

Design feedback mechanisms that simultaneously improve the AI model AND improve the user's experience of giving feedback. The SIGNAL framework ensures feedback is low-friction, high-quality, and genuinely acted upon.

Core Principle

Feedback is a transaction. Users invest effort (reporting an error, rating an output, explaining what's wrong). If they never see a return on that investment, they stop giving feedback. Design feedback loops that close - where users can see that their input made a difference.


The SIGNAL Framework

LetterPrincipleDesign Question
SSurface the MomentIs feedback offered at the exact moment the user has an opinion?
IIncentivize HonestlyDoes the feedback design encourage genuine assessment, not just positive ratings?
GGraduate the EffortCan users give 1-second feedback OR 1-minute feedback, depending on their willingness?
NNarrate the ImpactCan users see how their feedback improved the system?
AAggregate IntelligentlyIs individual feedback combined into actionable patterns, not just counted?
LLoop the LearningDoes the improved AI behavior visibly reflect the feedback it received?

The Feedback Pyramid

Design feedback collection in layers - most users will only reach the first layer, and that's fine.

LayerEffortSignal QualityCollection RateMechanism
L1: ImplicitZero effortLow but high-volume100% of usersUsage patterns: regeneration rate, copy rate, session length, abandonment points
L2: Binary1 secondMedium15-30% of usersThumbs up/down, helpful/not helpful
L3: Categorical5 secondsMedium-High5-15% of users"What was wrong?" dropdown: Inaccurate / Irrelevant / Incomplete / Offensive / Other
L4: Textual30 secondsHigh2-5% of usersFree-text explanation of what was wrong and what would be better
L5: Comparative60 secondsVery High1-3% of usersSide-by-side preference ranking: "Which response is better? A or B"

Design rule: Never require L3+ feedback to complete a task. Deeper feedback should always be optional and offered after the primary interaction is complete.


Implicit Feedback Signals

These require zero user effort but reveal powerful behavioral data:

SignalWhat It IndicatesMeasurement
RegenerationUser rejected the outputCount of "regenerate" clicks per session
Copy/use rateUser accepted the outputPercentage of outputs that are copied, saved, or acted upon
Edit distanceUser partially acceptedHow much the user modified the AI output before using it
Abandonment pointAI failed to deliver valueWhere in the flow users leave
Scroll depthOutput was too long or too shortHow far users scroll before acting
Time-to-next-actionUser needed time to evaluateLong pause = uncertainty; immediate action = confidence
Return frequencyProduct is valuableHow often users come back after first use
Prompt refinement rateAI didn't understand the first timeHow often users rephrase their query

Binary Feedback Design

The thumbs up/down is the most common AI feedback mechanism - and the most commonly botched.

Thumbs Up/Down Best Practices

Design DecisionRecommended ApproachAnti-Pattern
PlacementBelow every AI response, right-alignedHidden in a menu, or only on some responses
Initial stateBoth unselected (neutral)Pre-selected thumbs up (biases positive)
After thumbs downImmediately offer L3 dropdown: "What was wrong?"Just log the downvote with no follow-up
After thumbs upOptional: "What did you like?" (but don't insist)Pop-up survey that interrupts the flow
Visual feedbackButton fills/highlights to confirm the vote registeredNo visual change (user doesn't know if it worked)
ChangeabilityUser can change their vote anytimeVote is locked after submission

The Thumbs Down Expansion

When a user clicks thumbs down, expand into a lightweight triage:

What was wrong?
[ ] Inaccurate information      [ ] Not what I asked for
[ ] Too long / too short        [ ] Offensive or inappropriate
[ ] Outdated information        [ ] Other: ___________

[Optional] What would a better answer look like?
[_______________________________________________]

[Submit]  [Skip]

Design rule: "Skip" must be prominent. Forcing explanation creates resentment and low-quality data.


Comparative Feedback (A/B Preference)

The highest-quality feedback signal: showing two AI outputs and asking which is better.

When to Use Comparative Feedback

ScenarioComparative Feedback?Why
General chat responsesOccasionally (10-20% of responses)High-quality signal but adds friction
Creative generation (writing, images)Yes - great fitSubjective quality is hard to measure otherwise
Factual answersRarelyUsually one answer is objectively correct - binary feedback is sufficient
Code generationSometimes"Which code is cleaner?" is valuable but requires expertise to judge

Comparison UI Patterns

PatternHow It WorksBest For
Side-by-sideTwo responses shown simultaneouslyShort responses (< 200 words each)
Sequential with memoryShow response A, then B, then ask preferenceLonger responses where side-by-side is unwieldy
Inline replacement"I have an alternative answer. Want to see it?"Minimal disruption to the main flow
Batch reviewEnd-of-session: "Help us improve - which answers were best today?"Users willing to spend 2 minutes helping

Closing the Feedback Loop

Users who give feedback and never see impact stop giving feedback. Design visible closure.

Feedback Impact Patterns

PatternImplementationExample
Immediate acknowledgmentThank the user and explain what happens next"Thanks - this helps us improve. We review flagged responses daily."
Aggregate impactShow users how feedback from all users improved the system"Users flagged 500 inaccurate responses last month. 340 were corrected."
Personal impactShow the user how THEIR feedback changed behavior"Based on your feedback, I now handle [specific task] differently."
Release notesTie model improvements to user feedback themes"v2.3 improvements: Better code generation (informed by user feedback)"

Human-in-the-Loop Escalation

When AI confidence is low, feedback becomes real-time human decision-making.

Escalation Triggers

TriggerConditionEscalation Type
Confidence below thresholdModel confidence < 40% on a high-stakes outputRoute to human reviewer before showing to user
User reports critical errorThumbs down + "Inaccurate" + free-text with urgency signalsFlag for immediate human review
Sensitive content detectedOutput touches medical, legal, financial, or safety topicsAdd human verification badge or mandatory disclaimer
Novel situationQuery is outside the model's training distributionTransparent handoff: "This is outside my expertise. Let me connect you with..."
Repeated failuresSame user gives thumbs down 3+ times in a sessionProactive human intervention: "Would you like to speak with a specialist?"

Anti-Patterns

PatternWhy It Fails
Feedback widget appears before the user has read the responseUsers can't rate what they haven't consumed
Only collecting positive feedback (e.g., "Was this helpful? Yes / No" with only "Yes" prominent)Survivorship bias - you only hear from satisfied users
Pop-up NPS survey mid-taskInterrupts flow; generates resentful 0-scores
"Thanks for your feedback!" with no evidence of actionTeaches users that feedback is performative, not functional
Requiring login to give feedbackReduces feedback volume by 80%+
Treating all thumbs-down equally"Inaccurate" and "too long" require completely different responses

Quick Reference

TaskFramework ElementKey Deliverable
Add feedback to AI productFeedback Pyramid (L1-L5)Layered feedback system design
Improve feedback qualitySIGNAL frameworkAudit of current feedback loops + gaps
Design thumbs up/down experienceBinary Feedback Best PracticesThumbs down expansion flow
Build RLHF training pipeline UXComparative Feedback patternsA/B preference UI + sampling strategy
Close the feedback loopFeedback Impact PatternsUser-visible impact communication plan

Integration

Works with: ai-error-resilience (error reports as feedback), ai-trust-transparency (feedback builds trust when acted upon), ai-agent-ux (rating agent actions), ai-conversation-architect (in-conversation feedback moments).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.