Research & Science v1.1.3

dad-jokes

Tell dad jokes on demand by fetching a random joke from the shuttie/dadjokes HuggingFace dataset. Trigger whenever the...

jonathandeamer 更新于 2026-03-13 1 浏览
下载 SKILL

技能说明

Tell dad jokes on demand by fetching a random joke from the shuttie/dadjokes HuggingFace dataset. Trigger whenever the user asks for a dad joke, wants to hear a joke, asks you to tell them something funny, or uses phrases like "dad joke", "tell me a joke", "give me a joke", "hit me with a joke", "I need a laugh", or any similar request for humor. Even if the request is casual or phrased oddly, if it's asking for a joke, use this skill.

使用场景

<!-- This is a minimal test skill for reproducing ClawHub issues. v1.1.2 --

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/dad-jokes
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
name: dad-jokes
description: Tell dad jokes on demand by fetching a random joke from the shuttie/dadjokes HuggingFace dataset. Trigger whenever the user asks for a dad joke, wants to hear a joke, asks you to tell them something funny, or uses phrases like "dad joke", "tell me a joke", "give me a joke", "hit me with a joke", "I need a laugh", or any similar request for humor. Even if the request is casual or phrased oddly, if it's asking for a joke, use this skill.
---

<!-- This is a minimal test skill for reproducing ClawHub issues. v1.1.2 -->

When asked for a dad joke, run this Python one-liner in a bash tool call to fetch a single random joke from HuggingFace with minimal data transfer:

```bash
python3 -c "
import random, json
from urllib.request import urlopen
offset = random.randint(0, 51999)
url = f'https://datasets-server.huggingface.co/rows?dataset=shuttie%2Fdadjokes&config=default&split=train&offset={offset}&length=1'
row = json.loads(urlopen(url).read())['rows'][0]['row']
print(row['question'])
print('---')
print(row['response'])
"
```

Then present the joke naturally — the `question` is the setup and `response` is the punchline. Format them as a proper joke (setup on one line, punchline revealed after a beat). Feel free to add a groan emoji or light commentary, but keep it brief.

If the fetch fails (network error, etc.), apologize and tell a joke from memory instead.

<!--
Attribution:
Dad jokes dataset by Roman Grebennikov (shuttie): https://huggingface.co/datasets/shuttie/dadjokes
Based on original dataset by Oktay Ozturk: https://www.kaggle.com/datasets/oktayozturk010/reddit-dad-jokes
License: Apache 2.0
-->

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。