mirror of
https://github.com/Hestia-Homes/agentic-toolkit.git
synced 2026-06-08 11:37:26 +00:00
save in main
This commit is contained in:
parent
af8ea95a5b
commit
3e04fe14ae
1 changed files with 8 additions and 1 deletions
9
setup.sh
9
setup.sh
|
|
@ -98,8 +98,15 @@ echo "==> Installing skills globally (~/.claude)"
|
|||
while IFS=$'\t' read -r SOURCE SKILLS; do
|
||||
[[ -z "$SOURCE" ]] && continue
|
||||
echo "==> $SOURCE :: $SKILLS"
|
||||
# The skills CLI expects --skill repeated per name, not a comma-joined string.
|
||||
SKILL_ARGS=()
|
||||
IFS=',' read -ra _NAMES <<< "$SKILLS"
|
||||
for n in "${_NAMES[@]}"; do
|
||||
[[ -z "$n" ]] && continue
|
||||
SKILL_ARGS+=(--skill "$n")
|
||||
done
|
||||
npx --yes skills@latest add "$SOURCE" \
|
||||
--skill "$SKILLS" \
|
||||
"${SKILL_ARGS[@]}" \
|
||||
--agent "$AGENT_TARGET" \
|
||||
--copy \
|
||||
--global \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue