Who it is forA developer whose Claude Code sessions keep retrying failing commands or saying done without testing.
The problemA rule is already written down, but Claude keeps breaking it and you find out only later.
The outcomeClaude gets a one-line nudge right away, and ctx-handoff drafts guards that apply only after you say yes.
What you need first
- Claude Code 2.1.287 or later (the README says it is tested up to 2.1.302)
- A Claude subscription sign-in, or an API key, Bedrock or Vertex setup with the cache refresh turned off
- Access to the Claude Code plugin commands in a terminal
Steps
- Run
claude plugin install ctx-handoff@ctx-handoff-modif it is not installed yet - Start a new conversation and let Claude raise any drafted guard
- Open
/handoff panelto see the guards waiting for approval - Answer yes to the guards you want applied and no to the rest
- Confirm in the panel that the approved guards are listed as active
Prompt for your agent
With ctx-handoff-mod installed in Claude Code, open `/handoff panel` for <project path> and review any drafted guards. Expected output: a list of guards with approve or decline choices. Verify that nothing is applied until you approve it.
Caveat. The README describes guards as checks on tool calls, so only approve a guard after you have read what it blocks or reminds about.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cablate/ctx-handoff-mod and "Approve guards for mistakes Claude keeps repeating"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer