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

How to add the HERO block to Codex's AGENTS.md with HERO Anti Over Defense

Put the same contract in AGENTS.md so Codex follows the scope limits on each run.

Short answer: In the project root, run grep -qi 'scope.limits' AGENTS.md to see whether the block already exists; then follow the Quickstart install from README.md, replacing the CLAUDE.md filename with AGENTS.md; open AGENTS.md and check that the block appears once, at the end of the file. All steps.

Who it is forA developer who runs Codex on a repo and wants the same over-defense limits they use with Claude Code.

The problemCodex adds checksums, migration layers and repeated review passes on work that is simple, and it does not have the rules Claude Code has.

The outcomeAGENTS.md carries the SCOPE LIMITS block, and Codex reads it when it starts a task in that repo.

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. In the project root, run grep -qi 'scope.limits' AGENTS.md to see whether the block already exists. (inferred, check the README)
  2. Follow the Quickstart install from README.md, replacing the CLAUDE.md filename with AGENTS.md.
  3. Open AGENTS.md and check that the block appears once, at the end of the file.
  4. Give Codex a small task in that repo and check whether it proposes extra hashing or scaffolding.

Prompt for your agent

Confirm that the HERO SCOPE LIMITS block from RULES.md is appended once to <project>/AGENTS.md. Then complete <task> and report whether any change was made under rules 2, 3 or 4 that the task did not require.

Caveat. The README lists AGENTS.md as the file for Codex and Antigravity, and the hosts guide has the full placement table, so check it before assuming another filename works.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for wanshuiyin/HERO-Anti-OverDefense and "Add the HERO block to Codex's AGENTS.md"

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