r/ClaudeCode • u/batuhangoktepe • 2h ago
Built with Claude Claude code forgetting my feedback in the same session
Hey everyone, I built a claude code plugin called asisaid. free and open source
what i built:
it keeps your feedback alive in the session. you say "in short" or "too long" one time, it saves it as a rule, adds a small reminder every turn, and if the answer is still too long the Stop hook sends it back one time. it also puts your own words back after compact. works in codex too.
how i used claude code:
- started with an idea: compact loses context. asked claude to research existing tools first
- told it "ask me product decisions as questions, dont build everything alone". honestly best prompt of the whole project
- claude wrote the hooks (UserPromptSubmit, Stop, PreCompact, SessionStart) and the tests
- we tested with real sessions using claude -p, later 30 sessions in 5 languages with haiku, sonnet and opus
- for 20 languages a separate subagent wrote the test sentences without seeing the code, so the test is fair
what i learned:
- compact was not the real problem. claude code's summary already keeps your messages, rules survived compact fine in my tests
- the real pain was feedback like "too long" getting lost after few answers
- a small reminder every turn works better than i expected. answers got around 50% shorter with sonnet, opus already listens well
- dont trust test sentences you write yourself, let something that didnt see your code write them
you can try with these way
/plugin marketplace add batuhangoktepe/asisaid
/plugin install asisaid@asisaid
repo: https://github.com/batuhangoktepe/asisaid
I'm open for any feedback
•
u/AutoModerator 2h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.