File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/ai_sbx/dockerfiles/devcontainer-base Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,9 @@ if [ -d /home/claude/claude-defaults ]; then
7979 fi
8080fi
8181
82- # Copy host Claude settings (commands, agents, hooks) if mounted and enabled
82+ # Copy host Claude settings (commands, agents, hooks, skills ) if mounted and enabled
8383if [ " $COPY_CLAUDE_SETTINGS " = " true" ] && [ -d /host/.claude ]; then
84- mkdir -p /home/claude/.claude/commands /home/claude/.claude/agents /home/claude/.claude/hooks 2> /dev/null || true
84+ mkdir -p /home/claude/.claude/commands /home/claude/.claude/agents /home/claude/.claude/hooks /home/claude/.claude/skills 2> /dev/null || true
8585
8686 # Copy commands from host (merge with existing)
8787 if [ -d /host/.claude/commands ]; then
@@ -99,6 +99,11 @@ if [ "$COPY_CLAUDE_SETTINGS" = "true" ] && [ -d /host/.claude ]; then
9999 chmod +x /home/claude/.claude/hooks/* .sh 2> /dev/null || true
100100 fi
101101
102+ # Copy skills from host (merge with existing)
103+ if [ -d /host/.claude/skills ]; then
104+ cp -rn /host/.claude/skills/* /home/claude/.claude/skills/ 2> /dev/null || true
105+ fi
106+
102107 # Copy settings.json from host if exists (don't overwrite)
103108 if [ -f /host/.claude/settings.json ] && [ ! -f /home/claude/.claude/settings.json ]; then
104109 cp /host/.claude/settings.json /home/claude/.claude/ 2> /dev/null || true
You can’t perform that action at this time.
0 commit comments