echo "Link the omarchy-app agent skill for building apps" # omarchy-provision-user links every skill, but only once per user, so # existing installs get the new one here, in the same places. A skill of the # user's own by that name is left where it is. skill="$OMARCHY_PATH/default/agents/skills/omarchy-app" link_skill() { mkdir -p "$1" if [[ -e $1/omarchy-app && ! -L $1/omarchy-app ]]; then echo "Leaving your own $1/omarchy-app in place" else ln -sfn "$skill" "$1/omarchy-app" fi } if [[ -d $skill ]]; then for skills_dir in ~/.agents/skills ~/.claude/skills ~/.codex/skills ~/.pi/agent/skills ~/.gemini/config/skills ~/.hermes/skills; do link_skill "$skills_dir" done if [[ -d ~/.hermes/profiles ]]; then for profile in ~/.hermes/profiles/*/; do [[ -d $profile ]] || continue link_skill "$profile/skills" done fi fi