/oss:diverge [describe the task, problem, or design question to diverge on] [--gemini] [--codex]from oss
Generates 3-5 conceptually distinct approaches (Novel, Surprising, Diverse, or Conventional) for creative, architectural, or analytical tasks with multiple non-obvious solutions. Supports --gemini and --codex modes to use external models for brainstorming.
Ships in oss. 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; scripts run unread.
Interrupt the default path of jumping to the most probable — and least creative — solution.
Use a new output path or directory for each run; preserve earlier results and existing user edits.
An original Open Science Skills workflow grounded in Creative Preference Optimization (Ismayilzada et al., 2025; background in reference/creative-preference-optimization.md in this skill's directory). Standard preference alignment (RLHF/DPO) optimizes for the most human-expected output, which is by construction the least surprising one. The paper's most accessible remedy — its own "brainstorm-then-select" baseline — needs no fine-tuning: force divergence before convergence, require that at least one approach is surprising and one is novel, and defer quality and implementation until after selection.
Use it wherever more than one non-obvious solution exists — creative, architectural, or analytical work — and not for rote tasks with one correct answer (fix this syntax error).
When the task itself is still underspecified (goal, constraints, success criteria unsettled), interview before diverging. For research tasks, research-grill resolves the decision tree the approaches must answer to; it descends from Matt Pocock's grill-me (see RECOMMENDED.md in the library repository). Grilling settles the question, and diverge generates genuinely distinct answers to a settled one.
Model. The default mode makes no external model call: it runs in whatever model and reasoning effort the session is already using, not a fixed pin. --gemini and --codex are the exceptions. Each shells out to a separate model family for the brainstorm. --gemini uses Gemini 4 Carbon (gemini-4-carbon-high) through the Antigravity CLI, read-only, and this session implements the selection. --codex uses gpt-6.2-astra: high effort for the brainstorm (a fresh-perspective consult whose output the user selects from) and xhigh for the write-capable implementation run.
Given $ARGUMENTS:
If the task is ambiguous about what "good" looks like, ask one round of goal questions — the frontier of what blocks generation now, numbered, each with your recommended answer; questions about the goal, never the implementation. One round, then generate: a task that needs a second round needs the full interview (research-grill, see Heritage), not this skill. Skip this entirely if the goal is clear.
Produce 3–5 approaches that differ in underlying mechanism, not surface vocabulary. At least one must be [Surprising] and at least one [Novel]. Label each with its primary creativity dimension:
For each approach provide:
Do not implement. Present all approaches, then ask:
"Which approach should I pursue? Or should I synthesize elements from multiple?"
Implement the selected approach directly. If the user asks to synthesize, identify which elements are mechanically compatible and propose a brief hybrid plan before implementing.
With --gemini, Gemini 4 Carbon generates the approaches instead of you. You structure the prompt and present the results; you do not add approaches of your own.
Take the task from $ARGUMENTS with --gemini stripped. Step 1 above (one round of goal questions) still applies before delegating.
Fill the brainstorm prompt template below with the user's request verbatim, adding none of your own implementation preferences, and write it to a new file. Resolve SKILL_DIR as the directory containing this SKILL.md, then run:
"$SKILL_DIR/scripts/agy-peer.sh" --model gemini-4-carbon-high -C "$PWD" --prompt-file <prompt-file>
The driver runs agy -p in plan mode, which blocks file edits, and prints the answer. Never call agy -p bare: without plan mode a headless run edits files.
Present the approaches verbatim, without paraphrasing, filtering, or reordering. Ask which to pursue, or whether to synthesize.
After selection, implement the chosen approach yourself, as in "After selection". The Gemini driver is read-only by design.
A non-zero exit or the driver's "no usable response" message is a Gemini failure: report it and offer plain /diverge. With both --gemini and --codex, run both brainstorms in the same turn, present the two lists separately under their model names, and let the user pick across them; Codex implements only if the user asks for it.
With --codex, the specification above is unchanged — Codex generates the approaches instead of you, and implements the selected one. Running the brainstorm on a second model family widens the space of approaches beyond what one model proposes. You structure the prompt and present the results; you do not add approaches of your own.
Plain Claude Code has no native codex:codex-rescue subagent. Every "ask Codex" step means calling codex exec through the Bash tool (the same mechanism paper-review-lite --codex uses):
--model gpt-6.2-astra -c model_reasoning_effort=<effort> — pins Codex explicitly (high to brainstorm, xhigh to implement) rather than relying on codex exec's implicit default, which can drift upstream.< /dev/null — closes stdin. Without it, codex exec hangs on "Reading additional input from stdin…" even when the prompt is passed as a CLI argument; this is the most common failure.--skip-git-repo-check so it runs regardless of git state, and --sandbox set per phase: read-only for brainstorming, workspace-write for implementation.timeout: 600000 (10 min) on the Bash call as a backstop.The result returns on stdout — read it directly from the Bash output. Treat a non-zero exit, or empty output, as a Codex failure: report it and offer to fall back to plain /diverge (Claude-only).
Take the task from $ARGUMENTS with --codex stripped; if empty, ask the user what they want to solve. Step 1 above (one round of goal questions) still applies before delegating.
Brainstorm via Codex, substituting TASK with the user's request verbatim and adding none of your own implementation preferences:
codex exec --model gpt-6.2-astra -c model_reasoning_effort=high --sandbox read-only --skip-git-repo-check "$(cat <<'CODEXEOF'
<brainstorm prompt template below, with TASK substituted>
CODEXEOF
)" < /dev/null
Present the approaches to the user verbatim — do not paraphrase, filter, or reorder them. Ask which to pursue, or whether to synthesize.
Implement via Codex only after selection, switching the sandbox to workspace-write and setting -C to the project directory. The user's selection is the authorization for this write; the Codex plugin's "stop after presenting findings" guidance covers code-review handoffs, not this step:
codex exec --model gpt-6.2-astra -c model_reasoning_effort=xhigh --sandbox workspace-write --skip-git-repo-check -C "<project dir>" "$(cat <<'CODEXEOF'
<implementation prompt template below, with TASK and SELECTED_APPROACH substituted>
CODEXEOF
)" < /dev/null
<task>
Before implementing, generate 3–5 conceptually distinct approaches to:
TASK
Label each approach:
[Novel] — different conceptual basis from the conventional solution
[Surprising] — violates the obvious assumption; not the first answer
[Diverse] — maximally different from the other options in this list
[Conventional]— the expected path, for contrast
For each approach provide:
- Core mechanism (1 sentence)
- How it works and what makes it distinct (2–3 sentences)
- Main tradeoff (1 sentence)
</task>
<constraints>
At least one approach must be [Surprising].
At least one must be [Novel].
Approaches must differ in underlying mechanism, not just vocabulary.
Prioritize novelty and surprise over immediate quality.
</constraints>
<structured_output_contract>
Numbered list only. No preamble, no implementation code.
Format each: number, label, mechanism line, explanation, tradeoff line.
Present all approaches and stop.
</structured_output_contract>
<task>
Implement the following approach to: TASK
Selected approach: SELECTED_APPROACH
Implement it fully. Edit files in place where applicable.
</task>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub scdenney/open-science-skills --plugin oss46 skills in this plugin
/advisorConsults Fable as an independent, read-only reviewer at an effort the caller matches to the question. The calling session (usually Opus, or Haiku) holds the task and escalates one decision point. Use before committing to an interpretation or a substantial piece of writing or analysis, when stuck or not converging, when changing approach, or as a final check on a finished task. Fallback for when the native advisor tool is unavailable. Not for a session already running Fable./beamerHouse rules and craft for LaTeX Beamer slide decks (lectures, seminars, talks), drawn from the author's own Overleaf edits and published slide-design guidance. Covers storyboarding, frame titles, slide prose, word and frame budgets, layout without overfull boxes, XeLaTeX fonts and Korean (xeCJK), color, figures and screenshots, Overleaf source hygiene, speaker notes, and a build-and-QA loop with a contact sheet. Use when writing, editing, reviewing, or building a Beamer deck, theme, or storyboard. A course skill supplies course facts and the frame skeleton; this skill supplies the craft. Not for HTML or PowerPoint decks, posters, or papers./citation-checkAudits a manuscript's citations for fabricated or nonexistent sources, DOIs that resolve to a different work, mismatches between in-text citations and the reference list, APA 7 or journal style, and whether each source supports the claim it is attached to. Checks entries against Crossref, OpenAlex, and DataCite and labels anything it could not verify NOT CHECKED. Use to check citations, references, a .bib file, or DOIs, or when a source may be AI-invented. Figures and tables go to figure-table-audit./conjoint-cleaningTurns a raw Qualtrics conjoint export into an analysis-ready long-format dataset, covering export settings, identifying the implementation, package or manual wide-to-long reshaping, choice-profile alignment, ratings, reference categories, pilot exclusion, and subgroup merges. Use when the user has a conjoint CSV to clean, reshape, or debug, cannot align choices with profiles, or asks what the data must look like before AMCE estimation. Design goes to conjoint-design, validity review to conjoint-diagnostics./conjoint-designDesigns conjoint and factorial-vignette experiments, covering attribute architecture and randomization restrictions, effective-N power, treatment realism, the choice among AMCE, marginal-mean, and AMIE estimands, forced-choice versus rating designs, and PAP tiers. Use when the user is planning a conjoint, drafting or critiquing an attribute table, asking how many respondents or tasks are needed, whether to report AMCEs or marginal means, or how to test interactions. Reviewing an existing design goes to conjoint-diagnostics, cleaning the export to conjoint-cleaning./conjoint-diagnosticsReviews an existing conjoint study for threats to inference and returns severity-ranked findings on design integrity, estimation, measurement error, external validity, and interpretation, including the guardrail against reading an AMCE as majority preference. Use when the user asks whether a conjoint design or analysis holds up, has referee comments on a conjoint, or wants a second opinion on estimation or interpretation. New designs go to conjoint-design, reshaping to conjoint-cleaning.Other plugins' skills for the same job