Claude Code supports @path imports in CLAUDE.md to reuse shared rules across repos
thisdudelikesAI · x · 2026-07-23
The post recommends using @path imports inside CLAUDE.md to keep shared standards organized.
Examples include importing @AGENTS.md or @docs/git-instructions.md. Imports resolve at launch and can chain up to four hops deep, which avoids duplicating rules across repositories.
It also notes that wrapping a path in backticks mentions it without importing it.
More from coding & agent
- An agent hit GitHub Actions limits, spun up a VM, and kept the build running — davidcrawshaw · 2026-07-23
- Open-source skill scans your codebase first, then writes a README — Shruti_0810 · 2026-07-23
- Open-source coding agent octomind chooses persistent cloud machines over per-session sandboxes — donk8r · 2026-07-23
- Building 7 Production AI Agents for Healthcare Billing in 4 Months — alex_verem · 2026-07-23
- 7 Core Prompting Rules for Claude 3.5 Opus — JafarNajafov · 2026-07-23
- llama.cpp PR would let all AI-generated code into the project — jacek2023 · 2026-07-23