joke

Fetch random jokes from JokeAPI with safe-mode enabled.

37|7|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/archibate/dotfiles-claude --skill joke-archibate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: joke
Source: https://github.com/archibate/dotfiles-claude/tree/main/skills/joke
Command: npx skills add https://github.com/archibate/dotfiles-claude --skill joke-archibate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Quickly brighten conversations by fetching a random joke from JokeAPI without needing to craft one yourself, ensuring content safety by default.

Core Features & Use Cases

  • Retrieve a single random joke from v2.jokeapi.dev via the bundled script with safe-mode enabled by default.
  • Support category-specific jokes (e.g., Programming, Pun, Spooky, Christmas) and general jokes for general amusement.
  • Gracefully handle API errors and return a clean joke suitable for chat contexts.

Quick Start

Run the bundled script to fetch a random, safe joke from JokeAPI.

Frequently Asked Questions about joke

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch a random programming joke for my chat application?

You fetch a random programming joke by querying JokeAPI with safe-mode enabled, retrieving category-specific humor like programming, pun, or spooky jokes suitable for chat contexts.

What is safe-mode when retrieving jokes from JokeAPI?

Safe-mode is a default content filtering setting that ensures the fetched random joke contains no NSFW or offensive material, keeping the humor clean for general audiences.

Can I get category-specific jokes like puns or spooky humor on demand?

Yes, you can retrieve category-specific jokes such as puns, spooky, or Christmas humor by passing command-line options to the script, filtering the JokeAPI request accordingly.

Does the joke fetching script require any external dependencies?

No, the joke fetching script requires no external dependencies, running independently to query v2.jokeapi.dev and gracefully handle any API errors to return a clean joke.

What happens if the JokeAPI request fails or returns an error?

If the JokeAPI request fails, the script gracefully handles the API errors to ensure the process does not crash, attempting to return a clean response suitable for chat contexts.