Sandbox
@danium/lateral-thinking

Lateral-thinking skills for Claude Code and Codex

This repo gives your agent structured ways to break out of obvious answers. The `lateral` router diagnoses the kind of stuckness you have and points to a matching skill, while each sibling skill applies one technique with abandonment rules and a meta-pattern step.

298 starsโ€ข22 forksโ€ขUpdated 2mo ago
Who it's for

Builders who want their agent to move beyond the first sensible answer and explore different product directions.

What it delivers

You can get more varied, less obvious ideas from your agent, with visible reasoning about why each technique was chosen.

What it does

Router skill

The `lateral` skill diagnoses the problem shape and chooses a technique instead of making the agent guess.

Eight lateral-thinking techniques

Includes random stimulus, provocation, inversion, concept fan, analogy, SCAMPER, six hats, and worst idea.

Abandonment rules

Each skill says when to stop a line of thought and shows when it has run out of real signal.

Meta-pattern step

After a batch of ideas, the skills ask the agent to name the structural insight across the results.

Claude Code plugin bundle

Ships `.claude-plugin` metadata so the set can be installed as a Claude Code plugin.

Any-agent install path

The README includes a generic `npx skills add danium/lateral-thinking` install command and a manual copy path for skills.

How to get it

  1. 1Any agent (recommended)
    npx skills add danium/lateral-thinking
  2. 2Claude Code (plugin)
    /plugin marketplace add danium/lateral-thinking
    /plugin install lateral-thinking@lateral-thinking

README

lateral-thinking

Your product isn't out of ideas. It's stuck in the obvious ones.

License: MIT Skills: 9

Give your AI coding agent eight structured ways to find a better product direction โ€” not just another feature to ship. A router diagnoses how you're stuck and picks the right move.

A maze breaking into unexpected paths, captioned: Your next feature isn't the next obvious one.


The demo

Same agent. Same prompt. One of them read a skill first.

Prompt: "Our users create one project, then never return. What product direction would make that first project worth coming back to?"

Any agent, vanillaSame agent, random-stimulus

Onboarding checklist Give them three next steps after project creation.

Weekly email summary Remind them what changed and invite them back.

Personalized dashboard Make the home screen more useful after the first project.

(Three sensible features. One idea: ask the user to remember the product.)

๐Ÿ—ผ The lighthouse beam It does not light the whole sea. It sends a precise signal when navigation matters.

โ†’ A return trigger should be caused by the user's project, not by a generic reminder.

Beacon โ€” when a project reaches a date, risk, or decision the user chose at creation, send one concise signal explaining why it needs attention now.

๐Ÿž The sourdough starter It becomes more useful between visits. Small inputs create a living thing worth checking on.

โ†’ A first project should begin a rhythm, not become a static container.

Pulse โ€” turn the first project into a lightweight weekly brief: what changed, what is blocked, and the one decision that would move it forward.

๐ŸŽก The Ferris wheel โ€” it repeats a visible loop, but the force-fit only produced a prettier recurring dashboard. Abandoned.

The vanilla answer isn't bad. It's good โ€” and every feature asks the user to do more work or remember to return. Three features, one idea.

The technique produced different product directions: a project that signals at the right moment, and a project that gets more useful between visits. The meta-pattern is the point: retention is not a reminder problem. It is a new-signal problem. Give people a reason to return that did not exist when they left.


Install

Any agent (recommended):

npx skills add danium/lateral-thinking

Claude Code (plugin):

/plugin marketplace add danium/lateral-thinking
/plugin install lateral-thinking@lateral-thinking

Codex: ask $skill-installer to install from https://github.com/danium/lateral-thinking

Manual: clone and copy skills/* into your agent's skills directory.

The toolkit installs as one bundle โ€” the lateral router needs its sibling techniques.


Pick your technique

SymptomTechnique
Ideas all feel the same; brainstorm output is predictablerandom-stimulus
A constraint or rule feels unbreakableprovocation
Requirements assume things nobody has questionedinversion
We might be solving the wrong problemconcept-fan
The solution works but feels derivativeanalogy
We have one idea and need variationsscamper
A decision is being made too fast / everyone agreessix-hats
Everything feels timid, safe, cautiousworst-idea

Or just tell your agent "use the lateral skill" and let it diagnose you.


Anatomy of a session

Every technique in this repo makes failures visible. Here is scamper refusing to pad its own output, mid-session:

Substitute: nothing new. The command is already swapped down to one line, and the only meaningful substitution (git for installer) already ships as a channel. Moving on.

Put to other use: empty. The install does one job and generates no by-product worth repointing. Moving on.

Reverse / Rearrange: empty as a distinct idea. The one real reversal (router-first, siblings later) is Variant D under another name, so it counts once. Nothing else to flip. Moving on.

Three of seven operations came up empty โ€” and the last one had a genuine hit that it disqualified for being a duplicate.

This is the whole point. An agent that produces seven strong ideas from seven prompts is pattern-matching on the shape of a good answer, and you can't tell which ideas it actually believes. Every skill here carries an abandonment rule โ€” a stated condition for giving up, and an instruction to show you when it does. The visible failures are what make the rest credible.

The second requirement is a meta-pattern step: after the batch, scan across what landed and name the structural insight. In that scamper session, the empty operations were the finding โ€” the install command's surface is already tight, so the softness had to be somewhere else. It was: in the unstated dependency between the router and its siblings.


What this is (and isn't)

These are real methods, sourced:

  • Random Stimulus, Provocation (Po), Concept Fan โ€” Edward de Bono, Lateral Thinking (1970), Po: Beyond Yes and No (1972), Serious Creativity (1992)
  • Six Thinking Hatsยฎ โ€” Edward de Bono (1985). A registered trademark of the de Bono Group; this is an independent educational implementation.
  • SCAMPER โ€” Bob Eberle (1971), building on Alex Osborn's checklist
  • Forced Analogy โ€” Synectics, William J.J. Gordon (1961)
  • Assumption Inversion โ€” classical dialectic; "invert, always invert" (Carl Jacobi, via Charlie Munger)
  • Worst Possible Idea โ€” reverse brainstorming; standard in the d.school/IDEO toolkit

This is not magic and it is not a prompt pack. It is structured divergence with quality rules attached. The techniques constrain how an agent generates, and the honesty mechanics constrain what it's allowed to claim afterward.

On invocation: auto-invocation is best-effort โ€” your agent may or may not reach for a skill on its own, and that depends on the agent. For the reliable path, name the skill or ask your agent to use the router.


Contributing

New techniques need provenance and honesty mechanics. Worked examples must come from real sessions. See CONTRIBUTING.md.

License

MIT

Files in the repo

Repository payloadโ€ข8 top-level entries
  • .claude-plugin
  • assets
  • skills
  • .gitattributes
  • .gitignore
  • CONTRIBUTING.md
  • LICENSE
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications โ€” runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravityโ€ฆ)

71k