Skip to content
Back to skills

Zwicky

ASecurity

Systematic invention with Fritz Zwicky's morphological analysis (the "Zwicky box") - decompose a problem into independent parameters, brute-force every combination with the bundled `zwicky` CLI, eliminate inconsistent ones with explicit rules, and present a diverse shortlist of concrete concepts. Use this whenever someone asks to come up with, invent, brainstorm, design, or explore options for something with several independent dimensions - architecture options for a system, product or device...

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 11, 2026
ai-agentsgobashnode

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add javarool/zwicky --skill zwicky --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Zwicky?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Zwicky
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/javarool-zwicky/badge)](https://www.skillsdirectory.com/skills/javarool-zwicky)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: zwicky
description: Systematic invention with Fritz Zwicky's morphological analysis (the "Zwicky box") - decompose a problem into independent parameters, brute-force every combination with the bundled `zwicky` CLI, eliminate inconsistent ones with explicit rules, and present a diverse shortlist of concrete concepts. Use this whenever someone asks to come up with, invent, brainstorm, design, or explore options for something with several independent dimensions - architecture options for a system, product or device concepts, strategies, or "what should I do in this situation" dilemmas with several levers - even if they never mention Zwicky, morphology, or combinations. Do not use it for single-dimension asks such as naming a variable, writing a commit message, picking one library, or generating a single value.
---

# Zwicky: morphological analysis with a brute-force engine

Zwicky's method: split the problem into independent parameters, list the alternatives for each, build every combination, and only then eliminate what truly cannot work. The value is in the cells nobody would think of.

You do the judgment: framing, axes, nonsense rules, choosing the best. The CLI does the mechanics: enumeration, filtering, paging. Don't enumerate in your head (you will skip cells). Remove nonsense with rules on **value pairs**, which the CLI applies to every row. Then read every surviving row through `review` and choose the best yourself.

**Use it** when the answer has at least 3 independent dimensions with 2+ real options each. Otherwise answer directly.

## CLI

```bash
node <this-skill-dir>/scripts/zwicky.mjs <command> ...
```

The store is `~/.zwicky/<slug>/` (override with `--store` or `ZWICKY_HOME`). It persists across sessions.

| Command | What it does |
|---|---|
| `list` / `show <slug>` | stored boxes / one box with its frames |
| `map <-\|box.json\|slug>` | validates and stores the box, writes `map.csv` with every combination |
| `pairs <slug>` | checklist of value pairs to judge |
| `filter <slug> --frame <-\|file\|name>` | applies a frame, writes `survivors-<frame>.csv` and readable `ideas-<frame>.csv` |
| `review <slug> --frame <name> [--rows] [--page k]` | all survivors as compact blocks (or rows) |
| `pick <slug> --frame <name> [--mode diverse\|random\|top] [--n 8] [--bucket ...] [--fresh] [--seed s]` | sampled shortlist |

Pass JSON on stdin (`-` plus a heredoc), not through a temp file: parallel tasks overwrite shared temp names. `map` refuses more than 100k rows without `--force`. Hitting that usually means the box is too fine-grained.

## Where it runs: a new session by default

The workflow is noisy, and it usually triggers in the middle of another conversation. So start a new visible agent session for it, with a self-contained brief: the problem in the user's words, the relevant context and constraints, the box slug if one exists, and the line "Use the zwicky skill and run it here, in this session."

```bash
brief=$(mktemp) && cat > "$brief" <<'EOF'
<brief>
EOF
if command -v tmux >/dev/null; then
  if [ -n "$TMUX" ]; then tmux new-window -n zwicky "claude \"\$(cat $brief)\""
  else tmux new-session -d -s zwicky "claude \"\$(cat $brief)\"" && echo "attach: tmux attach -t zwicky"; fi
else
  echo "run in a new terminal: claude \"\$(cat $brief)\""
fi
```

Tell the user in one line where to look, then stop. With a different agent, use its own way to open a new session.

Run inline instead when the user asks, when this session was launched by such a brief, or when the chat is only about this problem anyway. Don't use a hidden subagent: it can't ask the user anything.

## Workflow

**1. Reuse.** Run `zwicky list`. If a box for this problem exists, offer to reuse it. "More ideas" is just `pick --mode random --fresh`.

**2. Box.** Frame the problem as a function ("get around a city"), not a solution ("a better car"). Pick 3-7 independent axes with 2-6 values each, at the same level of abstraction, and include at least one odd value per axis. Add a `baseline` (the status-quo row). Novelty buckets are measured against it. Optional: `criteria` with 1-5 `scores` per *value* (never per row) enable `--mode top`.

```json
{
  "slug": "urban-transport",
  "problem": "A compact way for people to get around a city",
  "baseline": ["E1", "P1", "S3", "M1"],
  "axes": [
    { "id": "E", "name": "Energy source", "values": [
      { "id": "E1", "label": "Internal combustion engine", "scores": { "feasibility": 5 } },
      { "id": "E2", "label": "Battery", "scores": { "feasibility": 5 } }
    ] }
  ],
  "criteria": [{ "name": "feasibility", "weight": 1 }]
}
```

Ids use `[A-Za-z0-9_.-]` and are unique across the box. A full example lives in `<this-skill-dir>/examples/urban-transport/`.

**3. Confirm, in two short messages.**
- The axes, one line each with 2-3 sample values and a count. Ask *go / edit*.
- What "best" means here. Offer 3-4 criteria that fit the problem (for example *cheapest to try*, *fastest result*, *boldest*, *most reliable*) and let the user pick or name their own. These steer the review, not the filter.

Skip both only if the user said "just do it". Then state your assumptions in one line.

**4. Map.** Run `zwicky map - <<'EOF' … EOF`. Don't read `map.csv`.

**5. Remove junk, mechanically.** Junk means two things, and nothing else:
- **Nonsense**: combinations that contradict themselves or are physically impossible. Go through `zwicky pairs <slug>` and write down only those pairs (`forbid`, or `require`), each with a reason.
- **Duplicates**: rows that differ only on an axis that stops mattering under some value. For example, once the device has no motor, the motor's power supply is irrelevant. Declare it with `collapse`, and the CLI keeps one row per group.

```json
{
  "name": "clean",
  "forbid":   [{ "all": ["E3", "S3"], "reason": "..." }],
  "require":  [{ "if": ["M4"], "anyOf": ["S1", "S2"], "reason": "..." }],
  "collapse": [{ "if": ["P5"], "ignore": ["E"], "reason": "..." }]
}
```

Everything else counts as useful, even if it is weird, expensive, unlikely or against the user's taste. Those go to review. Apply the rules with `zwicky filter <slug> --frame - <<'EOF' … EOF`.

**6. Review all survivors.** `zwicky review <slug> --frame <name>` shows every survivor, losslessly compressed into blocks. A line like `T1|T2 F1 * X4  (24)` stands for 24 combinations, and all of them survive. Read every block to the last page. Inside a block, pick the values that best fit the user's criteria. Across blocks, compare. Then rank, keep the best few concrete combinations, and mix safe and bold ones: count how many axes differ from the baseline. `--rows` lists single rows if you need them.

Above 2,000 blocks, `review` works on a random sample of 2,000 rows on its own. Tell the user in one line that the ideas come from a sample. Another `--seed` gives another sample.

## Presenting

Keep every message short: one point, at most one question. The user may have ADHD, and walls of text hide what matters. Details come on request.

Then show:

> **Axes:** Energy (battery, muscles, hydrogen…) · Movement (wheels, legs, air cushion…) · Seats (1, 2, family) · Terrain (streets, off-road, water)
> **208 of 300** combinations are useful · all of them: `~/.zwicky/urban-transport/ideas-clean.csv` · compact: `blocks-clean.txt`
>
> 1. ⭐ **Stair-climbing courier monopod**: steps over curbs and stairs where wheels get stuck.
> 2. **River hover-taxi**: one craft for streets and the river.
> 3. **Pedal-tracked trike**: muscle-powered, off-road, no license needed.
>
> Say a number for details · *more* · *surprise me*

The axis legend and the full paths to `ideas-<frame>.csv` (every row, with labels) and `blocks-<frame>.txt` (the blocks with the legend) are always there. Show 3 ideas that mix familiar and bold, with your recommendation (⭐) first.

For a number, show one card: the name, its combination (labels), the idea, the main risk, and a first step. Give a full plan only when asked. Breadth comes first, depth after the user has chosen.

*more* → the next best from your review. *surprise me* → `pick --mode random --fresh`. *why not X* → the rule and its reason.

Reply in the user's language.

Files in this skill

  • SKILL.md8.1 KB
  • examples/api-design/box.json1.9 KB
  • examples/api-design/frames/wild.json670 B
  • examples/game-mechanics/box.json2.2 KB
  • examples/game-mechanics/frames/wild.json508 B
  • examples/kitchen-device/box.json2.1 KB
  • examples/kitchen-device/frames/wild.json525 B
  • examples/microservices/box.json2.5 KB
  • examples/microservices/frames/wild.json1.1 KB
  • examples/urban-transport/box.json2.2 KB
  • examples/urban-transport/frames/practical.json848 B
  • examples/urban-transport/frames/wild.json881 B
  • scripts/zwicky.mjs49.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.