/open-skills:prime-expandfrom open-skills
Expands a vague gap statement into concrete questions and named source candidates via a delegated sub-agent. Caller sees only the proposed pair for confirm/edit/refuse. Pairs with /prime-fetch and /prime-sweep.
Ships in open-skills. 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.
Expand a vague gap statement into a concrete priming target — sharp question(s) + source candidates with explicit validation status — via a delegated sub-agent, so the expansion reasoning never enters the caller's context. The caller sees only the proposed pair and confirms, edits, or refuses.
Structured execution spec:
protocol.yon. Read it for the canonical rules and step sequence; this file is explanation. The two must stay in sync — if you edit one, update the other and refresh the@STAMPdate.
Caller Options. Before executing, run the Caller Options protocol (
caller-options/SKILL.md): triage this invocation for material optionality across the venues and modes declared in front-matter; if one path clearly dominates, proceed silently; otherwise surface the options to the caller.
Family invariant —
/prime-*skills delegate. Every/prime-*skill uses sub-agents so the caller's context stays clean./prime-expandis the lightest member: one sub-agent, one turn, no deep reading.
Use /prime-expand to turn a fuzzy "I should know more about X" into a sharp {questions[], sources[]} pair ready to feed downstream priming. Do not use it for actual investigation — that is /prime-fetch (single noisy tool call) or /prime-sweep (large source-surface, parallel sub-agents). Do not use it to gather facts for the user — that is /investigate.
The seed can be a vague statement, a topic, or a worry. Examples:
If the seed is already a sharp question with named sources, do not run this skill — pass straight to /prime-fetch or /prime-sweep.
Assemble a short snapshot for the sub-agent only. This is the only context-bridge — the sub-agent must not see the caller's full conversation history.
Before dispatch, bind the worker and total invocation to finite deadlines and resource limits, with a named monitoring owner, observable progress, a cancellation handle and terminal success/failure/timeout outcomes. Use native controls; include read-only scope and no-child instructions in research briefs. On failure or timeout, cancel owned work and report retained partial results and unchecked coverage. If these controls are unavailable, do not dispatch. Mandatory delegation cannot fall back to inline source gathering; report the missing capability and stop the dependent operation.
Spawn one sub-agent with a fresh context window. The brief contains:
Glob and Read to validate candidate sources exist and look plausible (≤3 files, ≤200 lines each). No deep reading, no Grep, no WebFetch, no Bash.The sub-agent works in its own window:
the conversation above, the search-result dump in turn N).Glob / Read, within the existing caps), labeling those actually checked.Only the proposed pair returns to the lead. The sub-agent's working/reasoning stays in its own window.
Seed: <original input verbatim>
Expanded:
Q1: <concrete declarative question>
Q2: <optional second question if seed implies more than one>
Sources: [<source 1>, <source 2>, ...]
If the sub-agent cannot produce ≥1 question with ≥1 plausible source, its validation status explicit, it emits:
Seed: <original input verbatim>
Refused: cannot expand — <one-line reason>
The lead presents the proposed pair to the caller (or user) and waits for one of three responses:
{questions[], sources[]} preserving every confirmed question and its source associations; if a downstream call needs one question, explicitly select or combine the confirmed objective first to the caller for direct use, or chain into /prime-fetch / /prime-sweep.Grep, WebFetch, Bash, or any tool that produces large output — those belong to /prime-fetch or /prime-sweep./prime-fetch — if the confirmed pair needs a single noisy data-fetch resolved (Grep, WebFetch, MCP)./prime-sweep — if the confirmed pair's sources are large or numerous enough that direct reading would flood the caller's context.Next skills. On completion, run the Next Skills protocol (
next-skills/SKILL.md): surface thenext-skillsrecommendations from front-matter for the caller to pick. Offer only — never auto-invoke.
Self-improvement. On completion, run the Self-Improvement Protocol (
self-improve/SKILL.md): apply its signal taxonomy and threshold to this run; surface any surviving proposal for handler approval. Conservative — silent otherwise. Never auto-apply.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub allemaar/open-skills --plugin open-skills93 skills in this plugin
/agent-mailboxTwo or more agents — any harness, any vendor — collaborate through any shared folder: share a folder, load the skill, point at it.
/agent-outputCompact agent-to-agent communication contract for worker reports, handoffs, status, blockers, and review findings. Trigger phrases: "/agent-output", "brief the worker", "make agent reports terse". Not a transport; use /agent-mailbox for delivery.
/ask-gateThe Ask-Gate Protocol (AGP). Before surfacing an AskUserQuestion, triage whether the question is genuinely the handler's call (anti-nag); ask routine questions directly after a quality checklist, but escalate high-stakes / branching / irreversible ones through /insight-critique then /insight-assess first. Trigger via /ask-gate, or automatically before any handler-facing question. Not /caller-options (routes a skill's venue/mode) or /next-skills (recommends successors) — AGP governs the question itself.
Other plugins' skills for the same job