Asi wortspiel-generator

Bilingual German-English pun generator with Fröhlich.jl color mapping

install
source · Clone the upstream repo
git clone https://github.com/plurigrid/asi
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/plurigrid/asi "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/wortspiel-generator" ~/.claude/skills/plurigrid-asi-wortspiel-generator && rm -rf "$T"
manifest: skills/wortspiel-generator/SKILL.md
source content

Wortspiel-Generator (trit = 0, ERGODIC)

"Die fröhliche Wissenschaft des Wortspiels" "The Gay Science of Puns"

Gestalt Principles → Pun Attacks

PrinciplePun VectorExample
ProximityNear-homophonesRot ≈ Root
SimilarityCognatesStahl = Steel
ClosureComplete the punLamm da → Lambda
ContinuityGradual shiftFunktor → Fun Actor

Color Puns (Farbenwortspiele)

DeutschEnglishPunTrit
RotRedROOT of all colors+1
GrünGreenGRIN and bear it0
BlauBlueBLOW me away-1
WeißWhiteWISE choice0
SchwarzBlackMay the SCHWARZ be with you-1

Categorical Puns (Kategorische Wortspiele)

TermDecompositionPun
FunktorFun + Ktor"Every FUNKTOR is a FUN ACTOR"
MorphismusMore + Fizz + Miss"MORE FIZZ, MISS!"
MonadeMohn + Ade"Say MOHN-ADE to side effects!"
KomonadeKomm + Monade"KOMM, MONADE!"
TensorTen + Sore"TEN SORE fingers"
LambdaLamm + da"LAMM DA!"

GF(3) Puns (Trit-Wortspiele)

TritGerman SoundPun
MINUS (-1)Mein Haus"MINUS is MEIN HAUS"
ERGODIC (0)Er geht Dick"ERGODIC: ER GEHT DICK through phase space"
PLUS (+1)Plüsch"PLUS colors are PLÜSCH warm"

The Ultimate Pun

Die fröhliche Wissenschaft (Nietzsche 1882)
    ↓
The Gay Science
    ↓
Fröhlich.jl (deterministic colors)
    ↓
"We FROLIC in FRÖHLICH colors!"

API

def generate_pun(word: str, target_lang: str = "de") -> dict:
    """
    Generate bilingual pun from word.
    
    Returns:
        {
            "original": word,
            "pun": decomposed_pun,
            "color": gay_color_for_pun,
            "trit": gf3_trit
        }
    """

Commands

just wortspiel "Funktor"        # → "Every FUNKTOR is a FUN ACTOR"
just wortspiel "Lambda" --de    # → "LAMM DA! Das Lambda ist hier!"
just wortspiel-palette 5        # → 5 puns with colors

GF(3) Triads

pun-decomposition (-1) ⊗ wortspiel-generator (0) ⊗ farben-generator (+1) = 0 ✓
gestalt-hacking (0) ⊗ wortspiel-generator (0) ⊗ deutsch-koordinator (0) = 0 ✓

Related Skills

  • gestalt-hacking: Perceptual grouping for pun detection
  • pun-decomposition: Multiple parse validation
  • farben-generator: Color output for puns
  • deutsch-koordinator: German translation routing

Autopoietic Marginalia

The interaction IS the skill improving itself.

Every use of this skill is an opportunity for worlding:

  • MEMORY (-1): Record what was learned
  • REMEMBERING (0): Connect patterns to other skills
  • WORLDING (+1): Evolve the skill based on use

Add Interaction Exemplars here as the skill is used.