Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

Share nested agent rules with Claude Code

debajyoti-truefoundryf3b6c4dda9a4
diff --git a/AGENTS.md b/AGENTS.md
index 7cabdf04a..d3a0c8e03 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -5,3 +5,4 @@
- Modules MUST use static `import` and `import type`; they MUST NOT use `require()`, `require.resolve()`, or lint suppressions to bypass import checks.
- A change that makes code unused MUST remove that dead code in the same change; it MUST NOT leave stale exports, files, documentation, duplicates, or “just in case” shims.
- Comments MUST explain intent, trade-offs, or constraints and remain concise; they MUST NOT restate the code or include issue-tracker IDs.
+- Every nested `AGENTS.md` MUST have a sibling `CLAUDE.md` containing only `@AGENTS.md`, so Cursor and Claude Code load the same scoped rules.
diff --git a/packages/frontend/CLAUDE.md b/packages/frontend/CLAUDE.md
new file mode 100644
index 000000000..43c994c2d
--- /dev/null
+++ b/packages/frontend/CLAUDE.md
@@ -0,0 +1 @@
diff --git a/packages/harness/src/core/runtime/CLAUDE.md b/packages/harness/src/core/runtime/CLAUDE.md
new file mode 100644
index 000000000..43c994c2d
--- /dev/null
+++ b/packages/harness/src/core/runtime/CLAUDE.md
@@ -0,0 +1 @@