# Analogy Generation

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

- Skill: `samotech/analogy-generation` (Agent Skill)
- Install (CLI): `npx get-skill add samotech/analogy-generation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/samotech/analogy-generation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: SamoTech (https://skillmd.com/u/samotech)
- Updated: 2026-11-21
- Page: https://skillmd.com/skills/samotech/analogy-generation

---


![Dependency Status](https://img.shields.io/endpoint?url=https://samotech.github.io/skills-tree/badges/skills-02-reasoning-analogy-generation.json)

# 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
```python
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

- https://agentskills.io/specification
- https://github.com/openai/openai-python

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

