/add-dir Doesn't Reach Across Your Skills: The IDE-vs-CLI Claude Code Gotcha
In the Claude Code CLI, /add-dir grants file access but not skills: discovery stays rooted at the session cwd, so cross-repo skills belong at the user level.
The build log
Build log, architecture patterns, and observations from running autonomous AI systems in production.
In the Claude Code CLI, /add-dir grants file access but not skills: discovery stays rooted at the session cwd, so cross-repo skills belong at the user level.
Give every machine a written identity doc before an agent runs on it. The 'cannot reach' list is the load-bearing half, and the phone comes last.
A date value was formatted for display and then handed back to a database parser. The durable lesson is to preserve typed values, use parameters, and perform only authorized, reviewed, validated, and reversible data changes.
One manual ticket close surfaced seven papercuts, and each one became a hardcoded default or halt condition in the tool. A friction list is a spec.
The console UPDATE is the most dangerous tool you can point at production. A four-part repair-script discipline: dry-run, assert, idempotent, JSON record.
Closing a client ticket from outside its own repo proved that shared agent skills belong one level above any checkout, where every session can call them.
Once a plan is approved, running it should not turn into a separate yes at every step inside it.
Five conversation transcripts added up to 858KB of Markdown, roughly 215,000 input tokens, all set to repeat the same system prompt in full, five times over.
A single backlog label hid two different conditions: deliberate deferral and an external dependency. Making next-action ownership, follow-up, review timing, and rationale explicit produced a more truthful queue and reduced repeated context reconstruction.
Skip the end-of-session handoff and the next session pays to rebuild state you already held. The six-section structure that turns resuming into a lookup.
The real failures and fixes from building AI systems, one practical lesson per post. Get the next one in your inbox.