flux-opencode-skill-builder
Installation
SKILL.md
Flux Skill Builder
Autonomously create production-grade OpenCode skills from a short description. No interview loops — the agent researches, infers, drafts, validates, and installs in one pass.
Why this exists: The default LLM behavior when asked to "make a skill" produces vague descriptions that never trigger, monolithic SKILL.md files with no progressive disclosure, empty gotchas sections, and instructions that state the obvious.
Session Phase Tracking
On entry, save the current phase and set the new one:
ROOT="$(git rev-parse --show-toplevel)"
NBENCHCTL="$ROOT/.opencode/bin/fluxctl"
PREV_PHASE=$($NBENCHCTL session-phase get 2>/dev/null || echo "idle")
$NBENCHCTL session-phase set skill_build
On completion, restore the previous phase (not blindly reset to idle):
$NBENCHCTL session-phase set "$PREV_PHASE"