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.
Related event: Best Practices for Claude Code Memory and Rules(12 posts)→
More from coding & agent
- Agent Field Kit launches $29 security runbooks for production AI agents — alvelda · 2026-10-27
- Dev mixes Claude specs with abliterated GLM to build SS7 threat detector — l4rz · 2026-10-27
- Cloudflare Durable Objects validated as top architecture for AI agent WebSocket servers — tristanbob · 2026-10-27
- GitHub Next's Chopin prototype explores real-time multiplayer agentic planning — max__drake · 2026-10-27
- TMLR paper: enforced thinking doesn't reliably make LLM agents disclose key info to users — SharonYixuanLi · 2026-10-27
- LLM-written Rust library bbtree verified: speed claims hold, memory savings reverse — lmoroney · 2026-10-27