Three TikTok Minis skills for Codex and Claude Code, with the cold-start playbook and five benchmark accounts through 88776-1 (2026-09-30). install.sh links them into ~/.codex/skills and ~/.claude/skills. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
24 lines
723 B
Bash
Executable File
24 lines
723 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Link every skill in this repo into Codex and Claude Code, so a `git pull` here
|
|
# is all it takes to get the latest lessons. Safe to re-run.
|
|
set -euo pipefail
|
|
|
|
repo="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
for target in "$HOME/.codex/skills" "$HOME/.claude/skills"; do
|
|
mkdir -p "$target"
|
|
for skill in "$repo"/skills/*/; do
|
|
name="$(basename "$skill")"
|
|
link="$target/$name"
|
|
if [ -e "$link" ] && [ ! -L "$link" ]; then
|
|
echo "skip $link: a real directory is there (an old copy?); remove it and re-run"
|
|
continue
|
|
fi
|
|
ln -sfn "${skill%/}" "$link"
|
|
echo "linked $link"
|
|
done
|
|
done
|
|
|
|
echo
|
|
echo "Done. Each person still needs their own swads MCP token (see README)."
|