From e96410d599641d0d8099757c3f524849afd38dfc Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Fri, 20 Mar 2026 15:40:04 +0100 Subject: [PATCH] Remove anvillm-skills script --- mkfile | 2 -- scripts/anvillm-skills | 42 ------------------------------------------ 2 files changed, 44 deletions(-) delete mode 100755 scripts/anvillm-skills diff --git a/mkfile b/mkfile index abb46ac..6de269f 100644 --- a/mkfile +++ b/mkfile @@ -6,8 +6,6 @@ build:V: go build -o $INSTALL_PATH/anvillm . cp scripts/anvillm-notify $INSTALL_PATH/anvillm-notify chmod 0755 $INSTALL_PATH/anvillm-notify - cp scripts/anvillm-skills $INSTALL_PATH/anvillm-skills - chmod 0755 $INSTALL_PATH/anvillm-skills cp scripts/anvillm-hook $INSTALL_PATH/anvillm-hook chmod 0755 $INSTALL_PATH/anvillm-hook cp scripts/anvilspawn $INSTALL_PATH/anvilspawn diff --git a/scripts/anvillm-skills b/scripts/anvillm-skills deleted file mode 100755 index 6f1a17e..0000000 --- a/scripts/anvillm-skills +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -SKILLS_DIR="${SKILLS_DIR:-$HOME/doc/agent-skills}" - -list() { - old_ifs="$IFS" - IFS=: - for dir in $SKILLS_DIR; do - IFS="$old_ifs" - for skill_dir in "$dir"/*/; do - [ -d "$skill_dir" ] || continue - skill="$skill_dir/SKILL.md" - [ -f "$skill" ] || continue - name=$(basename "$skill_dir") - desc=$(sed -n 's/^description: //p' "$skill" | head -1) - echo "$name: ${desc:-No description}" - done - IFS=: - done - IFS="$old_ifs" -} - -load() { - [ -z "$1" ] && { echo "Usage: skills load " >&2; exit 1; } - old_ifs="$IFS" - IFS=: - for dir in $SKILLS_DIR; do - IFS="$old_ifs" - skill="$dir/$1/SKILL.md" - [ -f "$skill" ] && { cat "$skill"; exit 0; } - IFS=: - done - IFS="$old_ifs" - echo "Skill not found: $1" >&2 - exit 1 -} - -case "$1" in - list) list ;; - load) load "$2" ;; - *) echo "Usage: skills {list|load }" >&2; exit 1 ;; -esac