DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to keep the HERO block active on overnight agent runs with HERO Anti Over Defense

Put the block in an always-loaded file so long unattended runs keep the scope limits.

Short answer: Confirm that the block is in the always-loaded file for your host, using the hosts guide in the hosts/ folder; then run grep -qi 'scope.limits' CLAUDE.md in the project root, or use the filename for your host, to confirm it is present; start the unattended run and check the output at the first checkpoint for over-defensive steps. All steps.

Who it is forA researcher or engineer who starts an agent on a long unattended task, such as a multi-hour experiment or refactor, and comes back to a pile of defensive work.

The problemOver a long run the block can fade from the agent's working context, and an invoked copy is absent when nobody is there to invoke it.

The outcomeThe block sits in the agent's always-loaded config, and the hosts guide is used to pick a placement that survives long sessions.

What you need first

  • A coding agent that loads a config file automatically, such as CLAUDE.md, AGENTS.md, .github/copilot-instructions.md or .cursorrules
  • A terminal with curl, awk and grep to run the one-line install, or a text editor to paste the block by hand
  • A project where you can edit the agent config file

Steps

  1. Confirm that the block is in the always-loaded file for your host, using the hosts guide in the hosts/ folder.
  2. Run grep -qi 'scope.limits' CLAUDE.md in the project root, or use the filename for your host, to confirm it is present.
  3. Start the unattended run and check the output at the first checkpoint for over-defensive steps.
  4. If the block seems to have faded in a long session, follow the hook route described in hosts/README.md.

Prompt for your agent

Check that the HERO SCOPE LIMITS block is in the always-loaded config for this project. Then run <long task> and, at each checkpoint, list any hashing, extra review or scaffolding step and state which rule it falls under.

Caveat. The README says the block can fade on long runs and that the fix depends on the cause, so checking at checkpoints is needed, and the hook route is described only in hosts/README.md.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for wanshuiyin/HERO-Anti-OverDefense and "Keep the HERO block active on overnight agent runs"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer