
What happened
In tests on Claude Code 2.1.326 on Windows 11, skills and commands in a parent folder's .claude/skills and .claude/commands showed up in the init list and could be called with /name from subfolders.
Why it matters
Teams that keep shared .claude definitions above a subfolder can rely on that arrangement, unless the subfolder is its own git root, where the parent's definitions did not appear.
Summaries like this, every morning.
By signing up you agree to the Terms of Service and Privacy Policy.
The test was run as a way to untangle a common frustration: people who keep shared Claude Code definitions in an upper folder sometimes feel those definitions disappear when they start Claude Code lower down. The author set up parent folders with a single skill, command, and agent, then launched Claude Code in non-interactive mode from the parent, a subfolder, and a subfolder two levels down. The init list showed all three kinds of definition, and calling by name worked for skills and commands.
The one condition that broke this was nesting git repositories. When both the parent and the subfolder were git roots, the parent's definitions did not appear at all, in either Claude Code 2.1.318 or 2.1.326. The author notes a similar report in a comment on GitHub issue #26489, a feature request for tracing skills, agents, and commands up to parent folders, but treats that comment as a single unverified report. The stated limit is that the test shows this condition did not surface definitions, not why.
On the official documentation, the author read that project skills are loaded from parent folders up to the repository root, and that commands were merged into skills with skills taking precedence. The test adds detail the docs did not cover in the portion read: that commands are also visible from the parent, that this holds outside git as well, and that a same-named skill in the subfolder wins. The measurements were done on Windows 11 with a limited number of runs, and other versions, operating systems, and the user-level ~/.claude folder were not tested.
Pick your industry and the AI tools you use, and get news related to your work every day.
By signing up you agree to the Terms of Service and Privacy Policy.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
At AWS re:Invent 2026, AWS announced Project C2, where an AI agent writes Lean proofs of what code should do…

A Claude Code-written piece said unmanned-agent article drafts kept failing for "nearly a week"; lining up the…

The developer says coding is handed to worker AI agents, while the human moves cards on the kanban and answers…

Across 10 apps built with Claude Code (Sonnet 5.5), adding a single security instruction changed nothing in th…

A practitioner describes using Claude, Codex, Kiro and several other AI tools side by side, choosing which too…

A developer switched from one session handling sites in sequence to one Claude Code subagent per site from Oct…
