Analogy Generation

Generate structural analogies that map a source concept to a target concept while explicitly checking which relationships transfer and which do not.

SamoTech Updated

File contents

Analogy Generation

Category: reasoning | Level: basic | Stability: stable | Version: v1

Description

Create clear analogies to explain complex concepts by mapping structure from a familiar domain to an unfamiliar one.

Example

import anthropic
client = anthropic.Anthropic()
response = client.messages.create(
    model="claude-opus-4-5",
    max_tokens=512,
    messages=[{"role": "user", "content": "Generate 3 analogies to explain transformer attention mechanisms to a 12-year-old."}]
)
print(response.content[0].text)

Failure Modes

  • False analogies that mislead more than clarify
  • Over-stretching analogy beyond its valid mapping

Related

  • analogical.md · commonsense.md

Changelog

  • v1 (2026-04): Initial entry

Evidence

Evidence status: references support implementation guidance; no performance benchmark is claimed without reproducible benchmark evidence.

SamoTech/skills-tree commit cfce1a872c

Frequently asked questions

npx get-skill add samotech/analogy-generation