feat: add Codex CLI installer (symlinks into ~/.agents/skills)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
16
install-codex.sh
Executable file
16
install-codex.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# Install the gw-triage skills for OpenAI Codex CLI by symlinking them
|
||||
# into ~/.agents/skills. Safe to re-run; updates arrive via `git pull`
|
||||
# in this clone (symlinks keep pointing at the updated files).
|
||||
set -eu
|
||||
|
||||
repo_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)
|
||||
dest="${HOME}/.agents/skills"
|
||||
|
||||
mkdir -p "$dest"
|
||||
for skill in triage setup map-repo; do
|
||||
ln -sfn "$repo_dir/skills/$skill" "$dest/$skill"
|
||||
echo "linked $dest/$skill -> $repo_dir/skills/$skill"
|
||||
done
|
||||
|
||||
echo "Fatto. Per aggiornare in futuro: git -C \"$repo_dir\" pull"
|
||||
Reference in New Issue
Block a user