analogy

A creative problem-solving method that compares your problem with a similar system from a different field, such as air-traffic control or a restaurant kitchen. It transfers useful ideas from that system to your own situation.

In plain words
What is it for?
Use it to develop new product ideas, redesign processes, or improve systems. It is not intended for debugging, code review, or implementing changes.
Why use it?
It helps when familiar industry solutions all feel alike or when a problem seems stuck. Looking at a distant field can reveal ways to handle the same pattern of people, flows, and bottlenecks.

Skill for Claude CodeCodex

Part of the lateral-thinking plugin — 9 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/danium/lateral-thinking/analogy
Any agent
npx skills add danium/lateral-thinking --skill analogy
Clone the repo
git clone --depth 1 https://github.com/danium/lateral-thinking

Made for: Claude Code, Codex.

Or install lateral-thinking, the plugin that ships this one along with the rest of its 9 skills.

Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,357 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00131 $0.01357
Opus 5 $0.00066 $0.00678
Sonnet 5 $0.00026 $0.00271
Haiku 4.5 $0.00013 $0.00136

Measured 3d ago against content hash 657f20d71478, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

analogy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/analogy/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Forced Analogy (Structural Transplant)

What this technique does

Take the problem, strip it down to its bare structure — who the actors are, what flows between them, where it jams — and find a system in a distant domain that has the same shape. An immune system, an air-traffic control tower, a restaurant kitchen at dinner rush. Then ask what that system does about the jam that you don't, and carry the mechanism back as a concrete idea. The point is distance: the further the source domain sits from your problem, the more its solutions will look nothing like the ones already on your whiteboard.

Source: Synectics (William J.J. Gordon, Synectics: The Development of Creative Capacity, 1961), specifically the "direct analogy" operation; widely used in biomimicry and TRIZ-adjacent practice.

Workflow

Step 1: Confirm the target

A valid target is a concrete creative or design problem: how to grow something, how to route something, how to redesign a process or a system. If it is unclear, ask one focused question — "What's the system you're trying to reshape, and where does it jam?"

Refuse requests to perform analytical work — debugging, reviewing code, implementing a change — and suggest an analytical approach instead. Redesigning or ideating about such a process is a valid creative target: "reinvent our code-review ritual" is in scope; "review this PR" is not.

Step 2: State the problem's structure in one sentence

Reduce the target to actors, flows, and the bottleneck. No domain vocabulary, no solution language — just the shape. For example: "many independent producers, one congested channel, quality varies." This sentence is the load-bearing part of the whole technique; if it still names your industry, it is not abstract enough yet.

Step 3: Draw 3-5 domains whose structure rhymes

Pull from references/domain-pool.md. Choose domains whose structural property matches the sentence from Step 2, not domains that sound related to your problem. Mix at least one biological, one operational, and one social/cultural so the transplants come from genuinely different logics. Never run more than five in a batch.

Read the full file on GitHub · 67 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 67 lines · 131 tokens per session scan A 657f20d71478

Subscribe to this mod's changes

analogy is a skill published in the GitHub repository danium/lateral-thinking (286 stars, last pushed 1mo ago), licensed MIT. It adds 131 tokens to every session and 1,357 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

creative-ideation

Structured brainstorming sessions using proven ideation techniques.

furkangonel/cowrangler · 14 tokens

idea-refine

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when starting from a vague idea, brainstorming a new feature, exploring design space, or stress-testing a plan before committing. Trigger phrases: "ideate", "refine this idea", "stress-test my plan", "ideate on".

vanja-emichi/a0_agent_skills · 70 tokens

idea-generator

Use when the user asks for an idea generator, conceptual crossbreeding, mutation, evolution, recombination of existing ideas, or novel concepts derived from unlike sources; also use for follow-ups that evolve, cross, or lock elements of previously generated ideas. Do not trigger for generic brainstorming with no…

ludi-uni/idea-generator-skill · 67 tokens

brainstorming

Creative ideation and structured brainstorming with multiple methodologies.

chainlesschain/chainlesschain · 13 tokens

skill-ideation

Generate agent skill ideas through problem-driven brainstorming. Situation-specific, narrow-but-universal. Triggers when user wants skill ideas or needs to expand their skill collection.

mcltyl/skill-ideation · 37 tokens

weaver-mind

Cross-domain bridge thinking for stuck founders, creators, and builders. Finds pattern bridges from unrelated fields — biology, game design, physics, jazz, architecture, logistics — and maps them to your situation with explicit reasoning, pros/cons, and a first experiment. Use when stuck, plateaued, can't get…

vickhunter/weaver-mind · 268 tokens