← Back to Skills Marketplace
djttt

中文笑话库

by Djttt · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
411
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install chinese-joke
Description
提供多类型中文笑话,包括谐音梗、程序员笑话、生活趣事和脑筋急转弯,无需外部接口。
README (SKILL.md)

中文笑话库 Skill

概述

使用本地笑话数据库获取中文笑话,无需依赖外部 API。

笑话库

包含多种类型的中文笑话:

  • 谐音梗
  • 程序员笑话
  • 生活趣事
  • 脑筋急转弯
  • 双关语

快速开始

使用 Bash

# 获取随机笑话
./scripts/joke.sh random

# 按类型获取
./scripts/joke.sh random --type pun      # 谐音梗
./scripts/joke.sh random --type program  # 程序员
./scripts/joke.sh random --type life     # 生活
./scripts/joke.sh random --type brain    # 脑筋急转弯

使用 Python

python3 scripts/joke.py random
python3 scripts/joke.py random --type program

笑话类型

  • pun - 谐音梗/双关语
  • program - 程序员/技术
  • life - 生活趣事
  • brain - 脑筋急转弯
  • story - 短故事

示例

# 获取 5 个谐音梗
./scripts/joke.sh random --type pun --count 5

# 获取一个程序员笑话
./scripts/joke.sh random --type program

添加新笑话

编辑 jokes.json 文件添加新笑话:

{
  "type": "pun",
  "joke": "你的笑话内容",
  "category": "可选分类"
}

相关链接

  • 笑话库位于 jokes.json
  • 可扩展添加更多类型
Usage Guidance
This skill appears safe and self-contained: it only reads the bundled jokes.json and prints jokes. Before installing, you may want to (1) inspect jokes.json for any content you find inappropriate, (2) be aware of a small bug when requesting a non-existent type (the Python script will error instead of printing a friendly message), and (3) run the scripts in a normal user context (no special privileges needed). No network calls or credentials are requested by the skill.
Capability Analysis
Type: OpenClaw Skill Name: chinese-joke Version: 1.0.0 The skill bundle is a simple local Chinese joke utility. The Python script (scripts/joke.py) and shell wrapper (scripts/joke.sh) only perform basic file reading and random selection from a local JSON file (jokes.json) using standard libraries, with no evidence of network activity, data exfiltration, or malicious intent.
Capability Assessment
Purpose & Capability
The name/description claim a local joke library with no external APIs. The package contains a local jokes.json and simple scripts that load and print jokes — all required pieces match the stated purpose.
Instruction Scope
SKILL.md only directs running the included local scripts and editing jokes.json. The runtime instructions do not request other files, environment variables, or network endpoints. Minor issue: scripts/joke.py contains a small bug (print(..., error=True) — print() doesn't accept an 'error' kwarg), which would raise an exception if a requested type is not found; this is a correctness bug, not an indication of malicious intent.
Install Mechanism
No install spec; this is instruction-only plus two simple local scripts. Nothing is downloaded or installed during use.
Credentials
No environment variables, credentials, or config paths are required. The skill does not request access beyond reading its local jokes.json file.
Persistence & Privilege
always=false and no special persistence or system-wide configuration is requested. Autonomous invocation is allowed by platform default but the skill itself does not request elevated privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install chinese-joke
  3. After installation, invoke the skill by name or use /chinese-joke
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release - 本地中文笑话库,支持多种类型
Metadata
Slug chinese-joke
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 中文笑话库?

提供多类型中文笑话,包括谐音梗、程序员笑话、生活趣事和脑筋急转弯,无需外部接口。 It is an AI Agent Skill for Claude Code / OpenClaw, with 411 downloads so far.

How do I install 中文笑话库?

Run "/install chinese-joke" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 中文笑话库 free?

Yes, 中文笑话库 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 中文笑话库 support?

中文笑话库 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 中文笑话库?

It is built and maintained by Djttt (@djttt); the current version is v1.0.0.

💬 Comments