← 返回 Skills 市场
jonathandeamer

Dad Jokes

作者 Jonathan Deamer · GitHub ↗ · v1.1.3 · MIT-0
cross-platform ✓ 安全检测通过
295
总下载
1
收藏
2
当前安装
5
版本数
在 OpenClaw 中安装
/install dad-jokes
功能描述
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 hea...
使用说明 (SKILL.md)

\x3C!-- 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:

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.

\x3C!-- 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 -->

安全使用建议
This skill is internally consistent and low-risk: it will execute a short Python one-liner that makes an outbound HTTPS request to a HuggingFace dataset server to retrieve one joke. Before installing, confirm that your agent environment is allowed to run shell/python commands and has internet access; if not, the skill will need modification or will rely on the model's fallback jokes. No credentials are requested or exfiltrated. If you want the manifest to be fully accurate, ask the publisher to list 'python3' (and network access) as a runtime requirement. Also be aware that jokes come from a public dataset and may sometimes be offensive — consider adding filtering if that matters in your context.
功能分析
Type: OpenClaw Skill Name: dad-jokes Version: 1.1.3 The 'dad-jokes' skill is a straightforward utility that fetches random jokes from a legitimate HuggingFace dataset (shuttie/dadjokes) using a Python one-liner. The code in SKILL.md uses standard libraries (urllib, json) to perform a GET request to a public API and displays the result; it contains no evidence of data exfiltration, obfuscation, or malicious intent.
能力评估
Purpose & Capability
The description and SKILL.md are consistent: the skill fetches a random joke from the shuttie/dadjokes HuggingFace dataset. One mismatch: the skill metadata declares no required binaries, but the runtime instruction explicitly runs 'python3 -c' in a bash call. Running the skill therefore requires a Python 3 runtime and shell/network access.
Instruction Scope
Instructions are narrowly scoped to: run a one-line Python fetch from the HuggingFace datasets-server, print the question and response, present them as a joke, and fall back to an internal joke if network fetch fails. The instructions do not request unrelated files, environment variables, or external endpoints beyond HuggingFace.
Install Mechanism
No install spec or external downloads are present (instruction-only). Nothing is written to disk by the skill definition itself.
Credentials
The skill requests no credentials or env vars (appropriate). However, it implicitly requires network access and a local python3 executable to run the provided one-liner; these runtime needs are not declared in the metadata.
Persistence & Privilege
always is false and there are no special persistence or cross-skill config changes. The skill does not request elevated or persistent privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dad-jokes
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dad-jokes 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.3
- Updated documentation: consolidated SKILLS.md and notes.md into a single SKILL.md file. - No logic or feature changes; only documentation files affected.
v1.1.2
Minor change to SKILLS.md body for diff reproduction
v1.1.1
Rename SKILL.md to SKILLS.md to test diff default file selection
v1.1.0
Add notes.md for bug reproduction
v1.0.0
- Initial release of the dad-jokes skill. - Tells a random dad joke on demand by fetching from the shuttie/dadjokes HuggingFace dataset. - Activates for any user request that asks for a joke or something funny, even if phrased casually. - Jokes are presented with setup and punchline formatting. - If unable to fetch a joke online, provides a backup joke from memory.
元数据
Slug dad-jokes
版本 1.1.3
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 5
常见问题

Dad Jokes 是什么?

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 hea... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 295 次。

如何安装 Dad Jokes?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dad-jokes」即可一键安装,无需额外配置。

Dad Jokes 是免费的吗?

是的,Dad Jokes 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dad Jokes 支持哪些平台?

Dad Jokes 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dad Jokes?

由 Jonathan Deamer(@jonathandeamer)开发并维护,当前版本 v1.1.3。

💬 留言讨论