kvb-skills-dream, -tune, -auto, -essence and -transcend become kvb-skill-*, and tests/test_naming.py now requires the category skill. enable-plugins.js registers the reminder hooks under the new names and repoints hook commands of the previous kvb-skills-* paths as well as the older autotune/dream paths; test_dream covers both generations. References in kvb-check-confidence, kvb-org-perform, kvb-org-rasci, kvb-transcend, the tests and the README organigram and skill map follow. The header comments of both reminder hooks and enable-plugins.js are dropped. BREAKING CHANGE: /kvb-skills-dream, /kvb-skills-tune, /kvb-skills-auto, /kvb-skills-essence and /kvb-skills-transcend are now /kvb-skill-*. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
819 B
Bash
Executable File
30 lines
819 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
interval="${AUTOTUNE_INTERVAL_SECONDS:-3600}"
|
|
stamp="${AUTOTUNE_STAMP:-${HOME}/.claude/.autotune-stamp}"
|
|
|
|
now="$(date +%s)"
|
|
last=0
|
|
if [[ -f "${stamp}" ]]; then
|
|
read -r last <"${stamp}" || true
|
|
[[ "${last}" =~ ^[0-9]+$ ]] || last=0
|
|
fi
|
|
|
|
if ((now - last < interval)); then
|
|
exit 0
|
|
fi
|
|
|
|
mkdir -p "$(dirname "${stamp}")"
|
|
printf '%s\n' "${now}" >"${stamp}"
|
|
|
|
cat <<'HINT'
|
|
AUTOTUNE HINT: over an hour since the last hint. Show the operator this notice
|
|
verbatim as a short block, then continue with their request. Do NOT run
|
|
kvb-skill-tune, do not propose skills, do not ask questions about it.
|
|
|
|
💡 /kvb-skill-tune - generate a new skill or optimize an existing one
|
|
(fewer tokens, fewer errors, more focus, learnings that persist).
|
|
Runs only when you trigger it.
|
|
HINT
|