Jokes

Return a random joke from predefined categories. Use when the user asks for a quick joke or light humor.

datalayer Updated
The loop CLI: a question, a code execution, the answer

File contents

Jokes Skill

Environment

  • None required.

Script Inventory

scripts/random_joke.py

  • Method: random_joke(category: str = "any") -> str
  • Required CLI params: none
  • Optional CLI params:
  • --category <any|tech|dad|data>

Usage Examples

python skills/jokes/scripts/random_joke.py
python skills/jokes/scripts/random_joke.py --category tech

datalayer/agent-runtimes commit 1398571ca3

Frequently asked questions

npx get-skill add datalayer/jokes