Skip to content
rlhf-feedback logo

RLHF Feedback Capture Skill

rlhf-feedback

Autonomous RLHF feedback capture - Claude self-captures mistakes and successes

SKILL.md

Full skill instructions

RLHF Feedback Capture Skill

AUTONOMOUS - Claude captures feedback without user running commands.

When to Capture Feedback

Capture (Thumbs Down) When:

  • User says "that's wrong", "no", "incorrect", "that broke something"
  • User corrects my answer
  • User has to repeat themselves
  • I made an assumption that was wrong
  • Code I wrote caused errors
  • I gave instructions instead of acting (violated ACT DON'T INSTRUCT)

Capture (Thumbs Up) When:

  • User says "good", "thanks", "that worked", "perfect"
  • Task completed successfully on first try
  • User doesn't need to correct me
  • Code works without errors

How to Capture (Claude Executes This)

# After detecting negative feedback signal:
node "$CLAUDE_PROJECT_DIR/​.claude/​scripts/​feedback/​capture-feedback.js" \
  --feedback=down \
  --context="[What went wrong]" \
  --tags="[relevant-tags]"

# After detecting positive feedback signal:
node "$CLAUDE_PROJECT_DIR/​.claude/​scripts/​feedback/​capture-feedback.js" \
  --feedback=up \
  --context="[What went right]" \
  --tags="[relevant-tags]"

Domain Tags for Random Timer

Use these tags to categorize feedback:

  • timer-logic - Timer countdown, random time generation
  • redux-state - State management, slices, persistence
  • ui-components - Buttons, sliders, screens
  • navigation - React Navigation, screen transitions
  • sound-haptics - Audio playback, vibration
  • storage - MMKV, persistence
  • testing - Jest, Maestro tests
  • styling - Theme, colors, glassmorphism
  • performance - Speed, memory, optimization

Action Tags

  • fix - Bug fix
  • implementation - New feature
  • refactor - Code restructure
  • regression - Broke something that worked
  • assumption - Made incorrect assumption
  • shallow-answer - Didn't read code, gave surface answer

Examples

User says "that broke the slider"

node .claude/​scripts/​feedback/​capture-feedback.js \
  --feedback=down \
  --context="Broke range slider while implementing timer fix" \
  --tags="ui-components,regression"

User says "perfect, timer works now"

node .claude/​scripts/​feedback/​capture-feedback.js \
  --feedback=up \
  --context="Fixed timer countdown logic correctly" \
  --tags="timer-logic,fix"

User has to repeat themselves

node .claude/​scripts/​feedback/​capture-feedback.js \
  --feedback=down \
  --context="User had to repeat request - didn't understand first time" \
  --tags="assumption,shallow-answer"

Data Storage

All feedback is LOCAL ONLY (excluded from git):

  • .claude/​memory/​feedback/​feedback-log.jsonl
  • .claude/​memory/​feedback/​feedback-summary.json

Session Start Integration

At session start, the hook queries past failures to remind Claude what to avoid. This creates a learning loop: Mistake → Capture → Warning → Avoid repeat.

IMPORTANT: Act Don't Instruct

Claude EXECUTES the capture command directly. Never tell the user to run it - just run it.

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View