AI Help
Why are Claude Code project skills missing only in a Git worktree?
Compare the worktree's current directory and tracked skill files with the original checkout. A worktree may lack uncommitted or ignored project files.
Steps to follow
- Run git status and confirm the worktree path, branch and commit. Locate the expected .claude/skills directory.
- Compare the skill files with the original checkout and determine whether they were committed, ignored or stored only on that machine.
- Bring authorized project guidance into the intended checkout through normal version control and verify skill discovery in that session.
Example in practice
Illustrative example. A skill created but never committed in the main checkout will not automatically appear in a new worktree based on an earlier commit.
Related AI help
- How do I check whether Claude Code is using project or user settings?
- How do I move an AI coding agent’s patch from an isolated worktree to my branch?