Launching today

feedback-memory
Make Claude Code remember why you rejected its drafts
1 follower
Make Claude Code remember why you rejected its drafts
1 follower
An open-source MCP server and Claude Code plugin that gives your agent a memory for your corrections. Approve, edit or reject a draft and it saves your one-line reason in a local Postgres + pgvector (PGlite). Before the next draft it recalls your rules and the closest past corrections, and the plugin's hooks add them to your prompts on their own, so the agent can't forget to check. Works in Cursor and Claude Desktop too. MIT, nothing to host, plus a browser demo.







Hi Product Hunt! I run a one-person course business in Korea, and AI agents draft most of my posts and replies. For a long time they kept repeating mistakes I had already corrected, because the correction lived in a chat the next session never saw.
feedback-memory is the small fix I ended up with. When I approve, edit or reject something the agent wrote, it saves that decision with my one-line reason in a local Postgres (PGlite + pgvector). Before the next draft, the closest past corrections and my standing rules come back.
In Claude Code it's now a plugin (run one line at a time):
/plugin marketplace add https://github.com/ssap-pa/self-...
/plugin install feedback-memory@ssap-pa
The plugin's hooks add your rules when a session starts and the closest past corrections to each prompt, so they apply even when Claude doesn't call a tool. In a test run Claude made zero tool calls and the reply still followed a stored edit and a rule (last image in the gallery). MCP server only: claude mcp add feedback-memory -- npx -y github:ssap-pa/self-learning-agent-setup. Claude Desktop gets a one-click bundle from the repo's releases.
There's also a browser demo where Postgres, pgvector and the embedding model all run in the tab, if you want to poke at it before installing anything.
What it can't do yet: without an OpenAI key it only matches shared words, and it can't tell whether the agent actually followed what it recalled. It's free and MIT. If you try the plugin, I'd love to hear what it added to a prompt that it shouldn't have.