Files
openclaw/scripts/package_skill.sh
Clawd BotandClaude Opus 4.6 ca9b510922 chore: align with upstream openclaw/openclaw and overlay local additions
- Reset master to upstream/main (16,697 commits)
- Overlay 2,271 local-only files (skills, tools, workspace, configs, apps)
- Restore IDENTITY.md and USER.md templates
- Build verified, gateway running, Discord working

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-03 07:40:46 +01:00

10 lines
293 B
Bash

#!/usr/bin/env bash
# Simple packager: zip the skill folder into .skill
if [ $# -ne 1 ]; then echo "usage: package_skill.sh <skill-path>"; exit 1; fi
skill_path="$1"
skill_name=$(basename "$skill_path")
out="${skill_name}.skill"
rm -f "$out"
zip -r "$out" "$skill_path" >/dev/null
echo "$out"