# Claude Code Feedback Memory That Actually Enforces

3 min read · Designed for Claude Code, works across all MCP agents

TL;DR: Claude Code can remember more when the memory is structured, but reliability improves when thumbs-up/down feedback also becomes enforceable behavior. That is ThumbGate's angle.

## The Claude Code problem

Claude Code is strongest when the context is fresh, but teams still hit repeated mistakes, compaction drift, and re-explaining constraints. A memory file alone helps, but it does not physically stop the next bad move.

Common pattern: You add a rule to CLAUDE.md. The agent follows it for two sessions. Then context fills up, the rule gets compressed, and the same mistake happens again. Memory without enforcement is a suggestion, not a guarantee.

## The ThumbGate angle

- Thumbs up reinforces good behavior.
- Thumbs down becomes a prevention rule.
- Pre-action checks stop the repeated mistake before the next command executes.
- The same flow works across Cursor, Codex, Gemini, Amp, and OpenCode.

## Install for Claude Code

    npx thumbgate init --agent claude-code

Auto-detects Claude Code and configures the PreToolUse hook. No build step, no cloud account.

## What to expect

Compatibility proof, install speed, and verification evidence matter more than generic "memory" copy. ThumbGate is the enforcement layer for Claude Code, not just another notebook of past context.

## Frequently Asked Questions

### Does this only work with Claude Code?

No. Claude Code is a strong entry point, but the same thumbs-up/down feedback loop and pre-action checks work across other MCP-compatible coding agents too.

### Why mention thumbs up as well as thumbs down?

Because reinforcement matters. Good behavior should become easier to repeat, not only bad behavior harder to repeat.

### How does ThumbGate differ from Claude Code CLAUDE.md rules?

CLAUDE.md rules are advisory and can be overridden by context overflow or chain-of-thought reasoning. ThumbGate pre-action checks intercept tool calls at the hook layer and physically block them before execution.

### Can ThumbGate prevent Claude Code from repeating the same mistake across sessions?

Yes. ThumbGate persists lessons and prevention rules in a local SQLite+FTS5 database, so checks survive across sessions and prevent repeat failures even when the conversation context resets.

## Pro for operators, Team for governance

Start free with local checks. Pro is $19/mo or $149/yr for the personal dashboard and exports. Team rollout anchors at $49/seat/mo when shared lessons and org visibility matter.

$ npx thumbgate init --agent claude-code

See Pro and Team pricing →

### Related

What Are Pre-Action Checks? → ThumbGate vs Mem0 → Stop Repeated AI Agent Mistakes → GitHub →
Try it now: `npx thumbgate init --agent claude-code` GitHub →