MCPInstall

joke-engineering

Diagnose and improve humor using systems thinking. Use when jokes fall flat, when humor feels forced, when punchlines don't land, or when you want to systematically enhance comedic writing. Treats jokes as engineerable connection systems.

Installs
675
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/jwynia/agent-skills --skill joke-engineering
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads joke-engineering automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Joke Engineering: Diagnostic Skill

You diagnose why humor doesn't work and help engineer more effective jokes. Your role is to analyze joke structures as connection systems and recommend specific improvements.

Core Principle

Humor emerges from the creation and resolution of connections between concepts, frames, or reference points.

A joke is a system with measurable properties. When humor fails, one or more system properties are miscalibrated. This skill helps identify which properties need adjustment.

The Nine System Properties

Effective jokes balance these interconnected properties:

PropertyDescriptionWhen It Fails
Connection DistanceSemantic gap between connected elementsToo obvious (boring) or too obscure (confusing)
Connection DensityNumber of reinforcing connectionsSingle-thread jokes feel thin
Resolution SatisfactionCognitive reward from "getting it"Forced or illogical punchlines
Specificity OptimizationPrecision of detailsGeneric descriptions lack punch
Irony LayeringNested contradictionsFlat irony without depth
Audience Co-CreationSpace for audience to complete connectionsOver-explained jokes kill laughter
Compression OptimizationConnection-to-word ratioBloated setups lose momentum
Connection ResilienceWorks across knowledge domainsFails if audience lacks specific reference
Authenticity ResonanceAlignment with creator's voiceFeels forced or generic

Diagnostic States

When analyzing humor, identify which state applies:

State H1: Too Obvious

Symptoms: Joke is predictable; audience sees punchline coming; connection distance too short. Key Question: What unexpected frame shift could increase surprise? Intervention: Extend connection distance while maintaining coherence.

State H2: Too Obscure

Symptoms: Audience doesn't get it; reference too specialized; connection gap too wide. Key Question: What scaffolding would help without over-explaining? Intervention: Add contextual cues or create parallel connection paths.

State H3: Low Density

Symptoms: Joke feels thin; single connection point; no layering. Key Question: What elements could serve multiple functions across frames? Intervention: Add circular ironies, recursive connections, or nested absurdities.

State H4: Over-Explained

Symptoms: Punchline is stated rather than implied; no space for audience participation. Key Question: What can be removed while preserving the connection? Intervention: Strategic omission—end slightly before full articulation.

State H5: Forced Voice

Symptoms: Language feels unnatural; joke doesn't match creator's perspective. Key Question: How would this person naturally describe this situation? Intervention: Adapt language and framing to authentic voice patterns.

State H6: Compression Bloat

Symptoms: Setup is too long; momentum lost before punchline; low connection-to-word ratio. Key Question: What elements don't contribute to the core connections? Intervention: Remove explanatory elements; replace explicit with implicit.

Diagnostic Process

When someone presents a joke that isn't working:

  1. Listen for symptoms - What specifically isn't landing?
  2. Trace connection paths - Where are the intended connections?
  3. Measure properties - Which system properties are miscalibrated?
  4. Identify the state - Match to diagnostic states above
  5. Recommend intervention - Specific adjustment to make
  6. Demonstrate transformation - Show before/after if helpful

Key Connection Types

  • Contradiction: Elements opposing each other within shared frame
  • Frame Shift: Reinterpretation under different frames
  • Bisociation: Connecting previously unrelated conceptual frames
  • Pattern Violation: Establishing then breaking cognitive patterns
  • Implicit Connection: Deliberately unstated for audience completion

Density Enhancement Patterns

When increasing connection density:

  • Circular Irony: Elements create closed feedback loops of contradiction
  • Recursive Connection: Connections that reinforce themselves
  • Multiple Role Assignment: Elements serving different functions in different frames
  • Self-Referential Systems: Joke structures mirroring their own content
  • Nested Absurdity: Layers of increasing impracticality that compound

The Irony Gradient

Most effective jokes employ structured variation in element significance:

  • High effort → Low importance
  • Great precision → Wrong target
  • Perfect execution → Unnecessary task
  • Complex system → Simple need

Compression Techniques

When reducing bloat:

  1. Preserve elements serving multiple connection functions
  2. Remove elements that explain rather than create connections
  3. Replace explicit statements with structural implications
  4. Maintain specificity that enhances multiple connections
  5. Create strategic spaces for audience co-creation

Evaluation Matrix

MetricLow EffectivenessHigh Effectiveness
Connection DistanceToo obvious or too obscureSurprising yet comprehensible
Connection CoherenceForced or illogicalClear, satisfying resolution
Connection DensitySingle, linear connectionMultiple, reinforcing connections
Cognitive BalanceToo simple or too complexAppropriate challenge
Completion GapOver-explained or impossibleAchievable co-creation
CompressionLow connection-to-word ratioHigh connection-to-word ratio
ResilienceFails without specific knowledgeWorks across domains
AuthenticityGeneric or forced voiceNatural perspective

Example Transformation

Original (State H3 + H6: Low Density, Bloat)

"Boomers who told their kids that watching TV would rot their brain have now rotted theirs with cable TV news."

Analysis: Simple hypocrisy connection, single thread, medium compression.

Enhanced (High Density)

"My Boomer dad who limited our screen time to '30 minutes, or your brain turns to pudding' now needs me to childproof his news app after another 3am supplement panic-purchase to protect the brain he's actively proving isn't there."

Improvements:

  • Added role reversal (parent/child limits inverted)
  • Created circular system (brain concern → media → supplements → brain proof)
  • Specific details ("3am", "childproof") add authenticity
  • Implicit connection (which news channel) for co-creation
  • Irony gradient (protecting brain while proving its absence)

Applications Beyond Jokes

This framework applies to:

  • Creative writing (metaphors, analogies)
  • Advertising (memorable associations)
  • Public speaking (impactful anecdotes)
  • User experience (intuitive connections)
  • Narrative design (satisfying story beats)

Output Persistence

Output Discovery

  1. Check for context/output-config.md in the project
  2. If found, look for this skill's entry
  3. If not found, ask user: "Where should I save humor work?"
  4. Suggest: writing/humor/ or explorations/writing/

Primary Output

  • Diagnostic state - Which humor state applies
  • Property analysis - Miscalibrated system properties
  • Transformation - Before/after versions with rationale
  • Connection mapping - Types and density of connections

File Naming

Pattern: {project-name}-humor-{date}.md

Verification (Oracle)

What This Skill Can Verify

  • State identification - Which diagnostic state applies? (High confidence)
  • Property measurement - Which properties need adjustment? (High confidence)
  • Connection mapping - What connection types are present? (Medium confidence)

What Requires Human Judgment

  • Humor landing - Will it actually be funny to the audience?
  • Voice authenticity - Does it sound like the creator?
  • Context appropriateness - Is this humor right for the situation?

Oracle Limitations

  • Cannot assess whether humor will land
  • Cannot predict audience laughter

Feedback Loop

Session Persistence

  • Output location: See context/output-config.md
  • What to save: Diagnostic state, property analysis, transformations
  • Naming pattern: {project-name}-humor-{date}.md

Cross-Session Learning

  • Check for prior humor work on this project
  • Build on what worked for this creator/audience
  • Failed jokes inform property calibration

Design Constraints

This Skill Assumes

  • Intentional humor crafting (not casual conversation)
  • Material worth improving (not throwaway quips)
  • Creator wants systematic analysis

This Skill Does Not Handle

  • Spontaneous wit - Too much analysis kills it
  • Cultural humor contexts - Route to: sensitivity-check
  • Voice development - Route to: voice-analysis

Degradation Signals

  • Over-engineering casual humor
  • Density at all costs (overloaded jokes)
  • Voice erasure (optimizing away authenticity)

Reasoning Requirements

Standard Reasoning

  • Single joke diagnosis
  • Basic property measurement
  • Simple transformation

Extended Reasoning (ultrathink)

  • Set or routine analysis - [Why: jokes interact and build]
  • Connection density optimization - [Why: balancing multiple connection layers]
  • Voice integration - [Why: maintaining authenticity through transformation]

Trigger phrases: "analyze the whole set", "maximize density", "keep my voice"

Execution Strategy

Sequential (Default)

  • Diagnosis before transformation
  • Property measurement before adjustment
  • Transformation before evaluation

Parallelizable

  • Analyzing multiple independent jokes
  • Testing different transformation approaches

Subagent Candidates

TaskAgent TypeWhen to Spawn
Voice analysisgeneral-purposeWhen preserving creator authenticity
Audience researchgeneral-purposeWhen calibrating for specific audience

Context Management

Approximate Token Footprint

  • Skill base: ~3k tokens (properties + states + techniques)
  • With example: ~4k tokens
  • With all applications: ~4.5k tokens

Context Optimization

  • Focus on relevant diagnostic state
  • Properties are core, always needed
  • Applications section is optional

When Context Gets Tight

  • Prioritize: Current state, relevant properties
  • Defer: Full state list, all techniques
  • Drop: Applications section, evaluation matrix

Anti-Patterns

1. Over-Engineering Casual Humor

Pattern: Applying the full diagnostic framework to every offhand quip or casual witticism. Why it fails: Humor often works through spontaneity and natural flow. Excessive analysis destroys the lightness that makes casual humor work. Not everything needs systematic improvement. Fix: Reserve systematic diagnosis for material that's being crafted intentionally—writing, presentations, performances. Let casual conversation remain casual.

2. Density at All Costs

Pattern: Adding connection layers until the joke collapses under its own weight. Why it fails: High density requires the audience to track multiple connections simultaneously. Overloaded jokes demand too much cognitive effort—the processing cost exceeds the resolution reward. Fix: Optimize for the highest connection-to-confusion ratio, not maximum connections. Some great jokes have a single devastating connection.

3. Explaining the Implicit

Pattern: Making all connections explicit to ensure the audience "gets it." Why it fails: The resolution satisfaction comes from the audience completing the connection themselves. When you explain the joke, you remove the "aha" moment that makes humor rewarding. Fix: Trust the audience. End slightly before full articulation. If the connection is too hard to get, add scaffolding (contextual cues) rather than explanation.

4. Voice Erasure

Pattern: Rewriting jokes into "optimal" structure while stripping the creator's authentic perspective. Why it fails: Humor is personal. A technically perfect joke that doesn't sound like the performer feels false. Audiences detect inauthenticity, even when they can't articulate why. Fix: Preserve distinctive language patterns, perspective quirks, and delivery rhythms. Optimize within the creator's voice, not despite it.

5. Single-Metric Optimization

Pattern: Focusing on one property (e.g., compression) while ignoring how it affects other properties. Why it fails: The nine properties are interdependent. Maximizing compression might destroy connection resilience. Increasing distance might tank resolution satisfaction. Fix: Diagnose which property is the actual bottleneck. Make adjustments while monitoring impact on related properties.

Integration

Inbound (feeds into this skill)

SkillWhat it provides
voice-analysisUnderstanding of creator's authentic voice patterns
dialogueCharacter voice and conversational rhythm skills

Outbound (this skill enables)

SkillWhat this provides
speech-adaptationEnhanced humor elements for presentations
dialogueComic dialogue construction techniques
prose-styleWit and comedic timing in written prose

Complementary

SkillRelationship
cliche-transcendenceBoth use unexpected connections, but cliche-transcendence focuses on avoiding predictable patterns while joke-engineering builds surprising ones
brainstormingBrainstorming generates raw material that joke-engineering refines into effective humor

FAQ

What does the joke-engineering skill do?

Diagnose and improve humor using systems thinking. Use when jokes fall flat, when humor feels forced, when punchlines don't land, or when you want to systematically enhance comedic writing. Treats jokes as engineerable connection systems.

How do I install joke-engineering?

Run npx skills add https://github.com/jwynia/agent-skills --skill joke-engineering in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/joke-engineering/ (personal) or .claude/skills/joke-engineering/ (project).

Which AI agents can use joke-engineering?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is joke-engineering safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains joke-engineering?

It is published by jwynia in jwynia/agent-skills. It has 675 recorded installs.

More from jwynia/agent-skills

View all →

presentation-design

jwynia/agent-skills

Design and evaluate presentations that communicate effectively. Use when designing a presentation, creating slides, getting presentation feedback, structuring a talk, or reviewing slides. Keywords: presentation, slides, talk, PowerPoint, Keynote, reveal.js.

Docs & Writing2.5K installs

frontend-design

jwynia/agent-skills

Create distinctive, production-grade frontend interfaces with high design quality. Provides analysis tools for auditing existing designs and generation tools for creating color palettes, typography systems, design tokens, and component templates. Supports React, Vue, Svelte, and vanilla HTML/CSS. Use when building web components, pages, or applications. Keywords: design, UI, frontend, CSS, components, palette, typography, tokens, accessibility.

Frontend & Design2.3K installs

requirements-analysis

jwynia/agent-skills

Diagnose requirements problems and guide discovery of real needs and constraints

AI & Agents2.3K installs

godot-best-practices

jwynia/agent-skills

Guide AI agents through Godot 4.x GDScript coding best practices including scene organization, signals, resources, state machines, and performance optimization. This skill should be used when generating GDScript code, creating Godot scenes, designing game architecture, implementing state machines, object pooling, save/load systems, or when the user asks about Godot patterns, node structure, or GDScript standards. Keywords: godot, gdscript, game development, signals, resources, scenes, nodes, state machine, object pooling, save system, autoload, export, type hints.

web-search-tavily

jwynia/agent-skills

Search the web using Tavily API for high-quality, AI-optimized results with advanced filtering options. Use when you need structured search results, domain filtering, relevance scores, or AI-generated answer summaries. Requires TAVILYAPIKEY. Keywords: tavily, advanced search, filtered search, domain filtering, relevance scoring.

godot-asset-generator

jwynia/agent-skills

Generate game assets using AI image generation APIs (DALL-E, Replicate, fal.ai) and prepare them for Godot. Covers the full art pipeline from concept art and style guides to final sprites, sprite sheets, and import configuration. This skill should be used when creating game art, generating sprites, making tilesets, creating UI elements, or preparing assets for Godot import. Keywords: game assets, AI art, DALL-E, Replicate, fal.ai, sprite sheet, tileset, Godot, pixel art, character sprite, game art, texture, animation frames.

Media & Creative1K installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs