Files
skills/Makefile
T
Kevin Veen-BirkenbachandClaude Opus 5.5 9403e17e97 perf(skills): cut the tokens and start-up time every agent pays
Requirement 071, from the skeptic audit picks.

Output: radio.py show groups older rows per peer and class into one
line each (7 days 143,520 -> 3,229 bytes); rasci.py show is narrower
(7,081 -> 2,915 bytes) and archives tasks ended over 7 days ago into
rasci-archive.json, still listed by get, --all, artifacts and tools
and revived by any command that names them; make test runs quiet.

Hooks: hooks register as python3 -I -S (site import skipped), the
hook paths of watch, queue, radio, graph and log skip argparse, and
traceback, tempfile, configparser, tomllib, statistics and urllib load
lazily; councilroot.guard() serves watch and radio; the dream
reminder exits before Python when no row can be on. pre-bash 68 ms,
post-bash 50 ms.

Hub: names.json keeps only the entries every lookup needs (11.6 MB ->
11 KB, lookups identical) and phrasing is cached; a state build takes
55 instead of 104 ms.

Context: the commit-chain skills shrink from 3,330 to 1,192 words with
their names kept, details moved to chain.md and reference.md files read
on demand; descriptions capped at 25 words; .ignore and .rgignore keep
state and worktrees out of searches. overhead.py of
kvb-check-efficiency measures hook and script cost per call.

🎯 Fix: 93 %
💥 Break: 5 %
💸 Tokens: 107 %
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 83
🚦 Gate: ⚠️ tokens 107 % > 100 (on-demand reference files; resident text and daily cost fall): operator approved the commit

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 10:49:30 +00:00

50 lines
2.1 KiB
Makefile

.PHONY: install project test update budget orchestrator-install orchestrator-check orchestrator-pin orchestrator-runner orchestrator-hook watch-check
# Install the skills globally into $HOME (.agents/skills + .claude/skills).
install:
@TARGET="$(HOME)" bash scripts/install.sh
# Copy the skills into a project: make project TARGET=/path/to/repo
project:
@test -n "$(TARGET)" || { echo "usage: make project TARGET=/path/to/repo"; exit 2; }
@TARGET="$(TARGET)" bash scripts/install.sh
# Validate the lock, lint Python (ruff), scripts (shellcheck), and markdown.
test:
@python3 -m unittest discover -s tests -q
@if command -v ruff >/dev/null; then ruff check .; else echo "ruff not installed - skipped"; fi
@if command -v shellcheck >/dev/null; then shellcheck scripts/*.sh; else echo "shellcheck not installed - skipped"; fi
@if command -v markdownlint-cli2 >/dev/null; then markdownlint-cli2 "**/*.md"; else echo "markdownlint-cli2 not installed - skipped"; fi
# Update all skills to their latest versions and refresh skills-lock.json.
update:
@bash scripts/update.sh
# Count skill description words against the listing budget: make budget [INDEX=1]
budget:
@python3 scripts/budget.py --repo . --top 5 $(if $(INDEX),--index)
# Migrate, install, build and start only the Agent Orchestrator, without touching the installed skills.
orchestrator-install:
@bash scripts/orchestrator.sh install
# Check the installed Agent Orchestrator: image, container, logs, HTTP, pinned keys, hook, runner, disk.
orchestrator-check:
@bash scripts/orchestrator.sh check
# Param: CREDENTIAL the blob "Passkey registrieren" shows: make orchestrator-pin CREDENTIAL=<blob>
orchestrator-pin:
@bash scripts/orchestrator.sh pin "$(CREDENTIAL)"
# Install, enable and restart the Agent Orchestrator runner user service.
orchestrator-runner:
@bash scripts/orchestrator.sh runner
# Register the Agent Orchestrator PermissionRequest hook in ~/.claude/settings.json.
orchestrator-hook:
@bash scripts/orchestrator.sh hook
# Show whether the agents-council watch hook is stuck.
watch-check:
@bash scripts/watch-check.sh