-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpack.sh
More file actions
27 lines (22 loc) · 852 Bytes
/
Copy pathpack.sh
File metadata and controls
27 lines (22 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash
# pack.sh
# builds a flat sessionclips.zip ready for upload to claude.ai
# files are at the zip root, no folder wrapping.
# run from the repo root: ./pack.sh
set -e
rm -f sessionclips.zip
# clean system junk
find sessionclips -name ".DS_Store" -delete 2>/dev/null || true
find sessionclips -name "Thumbs.db" -delete 2>/dev/null || true
find sessionclips -name "__MACOSX" -type d -exec rm -rf {} + 2>/dev/null || true
# zip the FILES inside sessionclips/, not the folder itself
# this puts SKILL.md and voice.md at the zip root, which is what claude.ai expects
cd sessionclips
zip -X ../sessionclips.zip SKILL.md voice.md > /dev/null
cd ..
echo ""
echo "built sessionclips.zip"
echo "structure:"
unzip -l sessionclips.zip | sed 's/^/ /'
echo ""
echo "upload sessionclips.zip to claude.ai -> settings -> capabilities -> skills"