Diverge logo

Diverge

Community
scdenney
diverge

Generates 3-5 conceptually distinct approaches (Novel, Surprising, Diverse, Conventional) and holds for selection before implementing. Use before committing to an approach when a task has more than one non-obvious solution; --codex delegates the brainstorm to a fresh subagent.

Overview

Publisherscdenney
Repositoryopen-science-skills
Skill namediverge
Stars
69
Forks
3
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by scdenney on GitHub. Read the source before you install it.

Installation

Install the Diverge AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/scdenney/open-science-skills/tree/main/codex/diverge
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scdenney/open-science-skills.git /tmp/open-science-skills
mkdir -p .claude/skills
cp -r /tmp/open-science-skills/codex/diverge .claude/skills/diverge
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Diverge in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Diverge on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Diverge is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Diverge

Interrupt the default path of jumping to the most probable — and least creative — solution.

Heritage and scope

An original Open Science Skills workflow grounded in Creative Preference Optimization (Ismayilzada et al., 2025; background in references/creative-preference-optimization.md). 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.

Read the background note only when the user asks for the rationale or when refining the creativity criteria.

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 runs in the current session. For a demanding --codex brainstorm, use gpt-6-astra at high for the fresh worker if the tool exposes model and effort overrides (xhigh for the write-capable implementation turn); pass a self-contained brief with fork_turns="none" where supported. Otherwise the worker inherits the lead, and the report must name that limitation. A routine brainstorm can retain the current model. A fresh context reduces anchoring but does not establish independent model-family evidence. Claude Code's /oss:diverge --codex explicitly launches Astra through the CLI.

Behavior

Given the task supplied with the invocation:

Step 1 — Clarify if needed

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.

Step 2 — Generate approaches

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:

  • [Novel] — semantically far from the conventional solution; different conceptual basis
  • [Surprising] — violates the obvious assumption about how this should work; would not be the first answer
  • [Diverse] — maximally different from the other approaches in this list
  • [Conventional] — the expected path, included as a reference point

For each approach provide:

  1. Core mechanism — one sentence naming the key insight
  2. How it works — two to three sentences on the mechanism and what makes it distinct
  3. Main tradeoff — one sentence

Step 3 — Hold

Do not implement. Present all approaches, then ask:

"Which approach should I pursue? Or should I synthesize elements from multiple?"

After selection

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.

Codex mode (--codex)

A fresh subagent reduces anchoring from the lead agent's conversation history. The specification above is unchanged — the subagent generates the approaches and, after selection, implements the chosen one.

Gate the delegation

Delegate only when the user passes --codex or asks for a subagent, an independent context, or a delegated brainstorm; otherwise run the local workflow.

Phase 1: brief the brainstormer

Extract the task, hard constraints, existing artifacts, and acceptance criteria. Spawn one fresh Codex subagent with only the task-local context it needs, withholding your own preferred solution or likely implementation. Give it this contract:

text
Generate 3–5 conceptually distinct approaches to TASK. Do not implement.

Label every approach [Novel], [Surprising], [Diverse], or [Conventional].
Include at least one [Novel] and one [Surprising] approach. For each, provide:
1. Core mechanism — one sentence.
2. How it works and why it differs — two or three sentences.
3. Main tradeoff — one sentence.

Do not restate one idea with different vocabulary. Return only the approaches.

Phase 2: present and pause

Check that the response contains 3–5 mechanically distinct approaches and satisfies the required labels. If it does not, send one focused correction to the same subagent.

Present the approaches without silently ranking, filtering, or rewriting them. Ask the user to select one approach or request a compatible synthesis. Stop before implementation.

Phase 3: implement after selection

Send the selected approach, original task, constraints, and acceptance checks back to the same subagent when possible. Require it to implement the user's selected mechanism rather than substituting another, preserve unrelated user changes, run proportionate checks, and return changed files, verification evidence, and any residual risk.

The lead agent owns integration. Inspect the resulting diff and verification output, fix integration defects, and report the final outcome.

The user's selection authorizes Phase 3; the Codex-plugin guidance to stop after presenting review findings covers code-review handoffs, not this step.

Fallbacks

  • If subagents are unavailable, state that the independent-context path is unavailable and run the local workflow.
  • If the brainstorm subagent fails or returns empty output, retry once with a shorter brief, then fall back locally.
  • If the selected approaches cannot be combined without changing the requested behavior, explain the incompatibility before proposing a hybrid.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Diverge AI skill do?

Generates 3-5 conceptually distinct approaches (Novel, Surprising, Diverse, Conventional) and holds for selection before implementing. Use before committing to an approach when a task has more than one non-obvious solution; --codex delegates the brainstorm to a fresh subagent.

Why use Diverge on TypingMind?

Because you install it once and use it with any model. Diverge is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Diverge in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/scdenney/open-science-skills/tree/main/codex/diverge. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Diverge?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Diverge?

As many as you like. As long as a model supports skills, you can use Diverge with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Diverge AI skill free?

It is published on GitHub by scdenney. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇