/session-flow:recommend-skills [topic-slug|question]from session-flow
Lists every installed skill ranked by relevance to the current session, with annotations for already-run or unnecessary skills. Accepts a topic slug or free-text question to narrow results.
Ships in session-flow. 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.
Read when SKILL.md points to them.
Arguments. [topic-slug|question]. e.g. /session-flow:recommend-skills, /session-flow:recommend-skills my-topic, /session-flow:recommend-skills which skill finds why the build is slow?
The human decides. This skill's judgment goes into rank and annotations. It never goes into presence.
(ran this session). The one exception is the operator's own exclude
setting (below): the states it names are dropped, and the output says which.The output size turns on this test:
When unsure which side a candidate falls on, it is unnecessary. Keep it.
A question that asks which skill fits a task it states, as the argument (an argument holding a space is never a topic slug) or as the request that invoked this skill, gets one answer in place of the menu: one skill from the resolved catalog below (rule 2 holds), the arguments to pass it, and one example prompt with one labeled line each for Goal, Pass/fail check, Proof wanted, Known facts and Constraints. The prompt names no method and no guessed cause, which are the skill's to find. A request for the options themselves ("what are my options", "what next", "show me my options"), or one that states no task, gets the menu, which rule 1 governs. When no catalog skill fits, say so and render the menu.
Two separate needs, resolved separately. Detail, formats, and failure behavior:
context/candidate-ladder.md.
Names. Completeness is a correctness property. The in-context skill listing is not an acceptable sole source: what it carries is set by an upstream budget, and our premise is that the skills an operator has forgotten are the ones it serves worst (pointer record and live sections: candidate-ladder § Why the in-context listing cannot be the sole source). Ladder:
/harness-ops:inventory (if enabled): invoke it via the
Skill tool, asking for its Skills index (--skills-index) on stdout, with --exclude only
when the exclude setting below names states. It
prints one JSON record per skill from its frontmatter, enabled, disabled and
not-installed alike; reuse it rather than walking the plugin cache (when checking the cache's
location and layout, fetch
Find plugins on disk
live). Read its output from stdout, never pass --out into the
consuming project: this skill writes nothing but its Spotlight ledger. A disabled record is
named with a (disabled) annotation and a not-installed one with (not installed), never
listed as runnable and never silently dropped. Done when the returned set contains at least
one enabled skill absent from the in-context listing, proving it reached past the listing's
blind spot;
if it returns nothing usable, fall to rung 2.Descriptions and stage metadata. Enrichment, not completeness. The index rows carry each
skill's description and when_to_use; otherwise use whatever descriptions the listing still
carries; otherwise absent.
Shortlist, then read. Assign buckets from each index row's description and when_to_use,
and shortlist the tier-1 candidates (at most five per bucket). Then read the shortlisted SKILL.md
files where a path is readable: plugins/<plugin>/skills/<skill>/SKILL.md in a marketplace
checkout, or .claude/skills/<skill>/SKILL.md for a personal or project skill. Their
metadata.workflow-stage refines the shortlist's buckets and what each would add here; where no
file is readable, the index row stands in. Read no SKILL.md beyond the shortlist: the rest render
by name.
Exclude setting. recommend_skills_exclude = ${user_config.recommend_skills_exclude}. A
value still reading ${user_config.…}, empty, or none is the default: exclude nothing and pass
no --exclude. Otherwise it is a comma-separated subset of disabled and not-installed; pass it
as the index's --exclude, and say once near the top which states it dropped. An unknown state is an error to
report, never a guess.
Absent enrichment means tier 2, never omission. A skill with no available description cannot be promoted to tier 1 (which needs one). It still appears by name in tier 2. The output shape absorbs a thin catalog without breaking rule 1.
Disclose a degraded pool. When the pool came from rung 3, or enrichment was unavailable, say so
in the output. Presenting a truncated pool as complete is the green-with-hidden-findings failure
docs/contracts/liveness-assertion/ (in the consuming marketplace) forbids.
Durable state is the primary signal; the conversation is secondary. A long session is when the operator most needs this skill and when the conversation is least reliable: compaction drops the early turns and need not keep every skill this session loaded.
Do not build a probe. /session-flow:orient already reads branch and git state, handoff
save-points, workflow checklists, running-retro ledgers, open PRs, and work-items, a superset of
what this skill needs, in this plugin. Invoke it, or consume its briefing if it already ran this
session.
Slug selection for artifact-grounded reads: an explicit topic-slug argument wins (a question
argument is not one); else the
most-recently-modified topic slice; else the branch-derived slug. Resolve every path from the
memory root (default .work/), which is configurable, so never hardcode it.
When the memory root is unreadable or empty. Say so; do not infer. In a worktree, a sibling
lane, or a fresh clone the memory slice is invisible, so every upstream artifact reads "absent".
Inferring from that would announce that the operator skipped every upstream stage, which is the
opposite of the truth. Report cannot ground upstream stages here and leave the bucket empty with
that reason.
Full derivation rules and rendering: context/buckets.md.
| Bucket | Holds | Tiers |
|---|---|---|
| Now | Fits the current moment | 1 + 2 |
| Next | Two or three steps ahead on the trajectory | 1 + 2 |
| Skipped upstream | Stages upstream of the detected position whose output artifact is absent on disk. Artifact-grounded, never inferred from conversation | 1 + 2 |
| Later | Everything else in-domain: relevant to this project but beyond the Next horizon | 2 only |
| Spotlight | Exactly three, ordered least-recently-surfaced | 1 only |
Later is the catch-all that makes rule 1 true. Without it, a skill that is in-domain but
downstream, testing and review skills early in a session, fits no bucket and would have to be
dropped, silently breaking the never-omit rule. It renders tier 2 only: bare names with a count,
roughly one wrapped line. Anything genuinely out-of-domain is still omitted
under the irrelevant test above; Later catches relevance, not everything.
Skipped upstream is deliberately artifact-grounded: "everything upstream" is definitionally the
whole early catalog and carries no information. Verify a
stage from its artifact, not from conversation vibes.
Spotlight rotates so ranking alone does not re-show the same five skills forever. It reads and writes one small ledger of what it last surfaced. Path and record shape are
fixed in context/buckets.md so two sessions cannot pick different ones and
lose the rotation. It is deliberately not in ${CLAUDE_PLUGIN_DATA}: a fixed filename there
would be one file per machine, and a spotlight shown in one repository would suppress it in
another (why: "Verification record: plugin data dir" under
${CLAUDE_PLUGIN_ROOT}/reference/structure.md#full-path-write-procedure).
Per bucket:
Also live now (23): /a:b, /c:d, …Budget: the shape is the cap. Five ranked options per bucket at three lines each, plus one wrapped tier-2 line per bucket, is the whole output. Never render every option in full.
One word expands any tier-2 roster to full treatment (expand now, spotlight all). That is
progressive disclosure, not filtering: nothing was withheld, only deferred a keystroke.
/session-flow:workflow answers which stage comes next and routes to exactly one owner,
by its own mandate never presenting both and leaving the operator to disambiguate. That rule
governs stage routing. This skill owns option surfacing, the whole set, ranked, for a
human to pick from. Reach for workflow when you want a decision; reach here when you want the
menu, or, in question mode, the skill for a task you state./session-flow:orient reports where you stand and deliberately prescribes nothing. This
skill consumes that position rather than restating it./discipline:use-your-skills (if enabled) corrects the model's drift, a skill it should have fired and
did not. This addresses the human's awareness. Different subject entirely./session-flow:orient, invoked via the Skill tool./plugin or claude plugin install or enable
command, and no edit to enabledPlugins or skillOverrides, even when the best fit is a
(disabled) or (not installed) skill or the operator asks. Name the skill and the command the
operator would run; running it is theirs./session-flow:workflow
A menu has no single successor; the workflow router picks the one next stage.
skillOverrides can still appear in a catalog but cannot run.
Recommending it hands the operator a dead option. Annotate it if the override is visible.
Skill-invocable. They can be named as options (/compact,
/clear) but not invoked on the operator's behalf; say which is which (pointer record:
continuation, "Autonomy: two tiers, each explicitly licensed").What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub melodic-software/claude-code-plugins --plugin session-flow20 skills in this plugin
/audit-frictionAudit frictionAudit Claude Code sessions for permission and autonomy friction (denials, approval prompts, hook blocks, hand-offs), traced to cause in one decision brief. Use when the agent keeps asking or handing off, auto mode denies, or re-measuring after permission fixes./audit-sessionsAudit sessionsAudit every Claude Code session on this machine or behind a pull request for wasted time and tokens against a baseline, routing findings to fixes, plus score trends over time. Use when: 'audit my sessions', 'which sessions burned the most tokens', 'retro this PR', trends, or repeating corrections. Not for one session: /session-flow:retro./clean-stopOther plugins' skills for the same job