/skill-concierge:flywheel [--generate] [--rate <seconds>] [--catalog <alias>] [--workers <N>]from skill-concierge
See the retrieval-flywheel status and trigger an incremental utterance-generation run. Use this skill when the user asks about the flywheel, "how many skills have utterances / triggers", "flywheel coverage", "which skills are missing utterances", "is the LLM endpoint configured/reachable", or wants to "generate triggers", "run the flywheel", "refresh utterances", or "index the new skills' utterances". The flywheel is the utterance layer (ADR-0026) that teaches the retriever how users actually ask for a skill (EN+VN), lifting recall. Runs scripts/flywheel.py — status mode (default, read-only) prints endpoint config + reachability and per-skill utterance coverage (N/M covered, and the missing skills by name); --generate runs the incremental generator (only new/changed skills hit the LLM) then reindexes so the new points go live, printing before/after coverage. Generation fails loud if the LLM endpoint is unreachable.
Ships in skill-concierge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Surface and drive the retrieval flywheel — the utterance layer (ADR-0026). For each
indexed skill the flywheel stores short, LLM-generated "how a user actually asks for this"
phrases (English + Vietnamese) under llm_triggers in the canonical corpus
~/.claude/skill-concierge/triggers.json (operator home — personal data, kept out of the
public repo since 0.37.0); those phrases
lift retrieval recall. Generation is offline and incremental — the generator
content-hashes each skill, so only new or changed skills ever hit the LLM. Skills with no
utterances still work (graceful fallback to description+body retrieval); the flywheel just
makes them easier to find.
This skill is the seamless surface for two things: seeing where the flywheel stands, and running an incremental generation pass.
Status (default, read-only) — endpoint config + reachability and per-skill coverage:
python3 "$CLAUDE_PLUGIN_ROOT/scripts/flywheel.py"
It prints the full observability card:
FLYWHEEL_LLM_ENDPOINT + model, whether an API key is
set, the schema mode, and a live ping() reachability result.N/M plus one line per configured external catalog
(antigravity: N/M), with missing skills by name. Indexed names come from the live
Qdrant claude_skills index; covered = a non-empty llm_triggers.triggers in
the canonical corpus at ~/.claude/skill-concierge/triggers.json.IN PROGRESS; while a run holds the lock (including the
detached auto-flywheel pass) status samples coverage twice (5s) and prints live
throughput + ETA — the only way to observe a detached run's progress.Generate (--generate) — fill utterances for new/changed skills, then reindex:
python3 "$CLAUDE_PLUGIN_ROOT/scripts/flywheel.py" --generate
It preflights the endpoint with ping() and fails loud if unreachable (pointing at
the provider-setup doc — do not generate against a dead endpoint). On success it runs BOTH
incremental generators — the eval scenarios (llm_eval_gen.py) and the utterance triggers
(llm_triggers.py), under the engine venv — then skill-search --reindex so the new
utterance points land live, and prints before/after coverage. Only new/changed skills call
the LLM (each generator content-hashes the description), so re-running when nothing changed
is cheap and safe. Every run is recorded to the global manifest (below).
Flags: --triggers-only skips the measurement-only scenario pass (triggers are what serve
retrieval); --limit <N> caps how many skills are processed in one pass; --rate <seconds>
spaces out LLM calls when sharing a busy endpoint; --catalog <alias> runs generation
against ONE external catalog's <alias>:* skills instead of installed skills (the
ADR-0031 D10 deferral, owner-commissioned — default coverage counts stay installed-only);
--workers <N> fans the LLM network phase out over N concurrent calls while all file
writes stay single-threaded (default 1 = sequential; effective gateway load scales with
N). Full rationale: ADR-0043.
You usually do not need to run --generate by hand. The auto_flywheel SessionStart
hook (ADR-0027, gated SKILL_AUTO_FLYWHEEL, default ON) does it for you: when an endpoint is
configured and reachable, on session start it detects skills missing utterances, generates for
just those, and reindexes — detached and non-blocking (it never delays the session), throttled
(AUTO_FLYWHEEL_THROTTLE_S, default 6h) and capped per run (AUTO_FLYWHEEL_MAX_PER_RUN, default 25).
If no endpoint is configured or it's unreachable, the hook is a silent no-op — the graceful
description+body fallback is untouched.
Because the run is a background process, its results are written to a global manifest at
~/.claude/skill-concierge/flywheel-manifest.json — timestamp, endpoint+model, per-skill status,
totals, coverage, last error (last 20 runs). Any agent or the user can read it to verify what the
flywheel did, without watching a live process. Status mode (above) prints the last run from it, and
doctor reports it too.
--generate fails loud. Configure a provider first; the three
documented setups (LM-Studio, Ollama, OpenAI-compatible gateway) live in
../../references/flywheel-llm-providers.md. The four FLYWHEEL_LLM_* env vars belong in the
machine's cross-harness env file ~/.config/harness-env.sh (sourced by ~/.zshenv +
the bash entry files), NOT in ~/.claude/settings.json env — the settings env block
reaches Claude sessions only, so a Codex session's doctor reported "not configured"
against a fully configured machine and its auto_flywheel silently no-opped
(caveats §20). Status mode still works — it just reports NO.--generate points you at the skill-concierge:setup skill,
which builds the venv. After a reindex, retrieval picks up the new points immediately (no
restart needed).Doctor's check_flywheel() reports the same coverage + reachability inside the normal health
workflow; this skill is the place to act on it.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thinhkhuat/skill-concierge --plugin skill-concierge10 skills in this plugin
/blocklistManage skill-concierge's DISABLE list — skills the user ordered off, regardless of origin (personal, plugin, external catalog, or command-files surfaced as skills). Use this skill when the user wants to view, disable, block, or re-enable a skill, says "disable X", "block X", "stop using/offering X", "X is turned off", "re-enable/unblock X", "which skills are disabled", or asks why a Skill invocation was denied by the blocklist guard. Runs scripts/blocklist.py (list / add / remove); the blocklist lives under the canonical durable home (~/.claude/skill-concierge/blocklist.json) and is enforced by the enforcer (no offers/hints/routes), the engine (no search hits, get_skill refuses), and the PreToolUse guard (invocation denied) — ADR-0046./catalogsManage external skill-catalog roots — third-party skill collections indexed for retrieval WITHOUT being installed (ADR-0031). Use this skill when the user wants to register, list, or remove an external skills directory ("add my cloned skills repo to search", "index this skill collection without installing it", "which external catalogs are configured"), promote an external skill into ~/.claude/skills, or asks why a search hit is marked "[external]". Runs scripts/catalogs.py (list / add / remove / promote), which edits the operator-owned ~/.claude/skill-concierge/catalog-roots.json; the index follows at the next reindex.Other plugins' skills for the same job