#!/usr/bin/env sh set -eu repo_root="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)" commit_id="${1:-}" mkdir -p "$repo_root/skills/hwlab-agent-runtime/references" mkdir -p "$repo_root/skills/hwlab-agent-runtime/assets" cat > "$repo_root/skills/hwlab-agent-runtime/SKILL.md" < "$repo_root/skills/hwlab-agent-runtime/references/runtime.md" < "$repo_root/skills/hwlab-agent-runtime/.commit-id" fi echo "HWLAB skills directory ready: $repo_root/skills/hwlab-agent-runtime"