360 Secure SkillHub
360 安全技能中心

请求随机笑话

该 Skill 包含一个 Python 脚本 request_random_jokes.py,可直接运行或通过 xiaohua、duanzi、dujitang 参数指定类型,从三个公共 API 随机获取笑话、段子或毒鸡汤,并以纯文本形式输出,依赖可用网络与 Python 运行环境。

aolinlu
aolinlu
热度 44.59
最近更新 2026-05-11 17:38:33
分类:创作依赖:代码执行 / 第三方 API应用场景:故事创作

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add request-random-jokes
Metadata
name
request-random-jokes
description
Get random fun content (joke, funny story/duanzi, poisonous chicken soup/dujitang) from public APIs. Use when the user asks you to tell a joke, share a funny story, or give a dujitang quote.

Request Random Jokes

Overview

This skill provides a lightweight Python script that fetches random fun content from three public APIs, supports optional type selection. Supported content types:

  • xiaohua: Random joke (笑话)
  • duanzi: Random funny story (段子)
  • dujitang: Random poisonous chicken soup quote (毒鸡汤)

Usage

Run the script directly to get random content (automatically selects one of the three APIs randomly):

python request_random_jokes.py

Specify content type with an optional parameter:

# Get random joke
python request_random_jokes.py xiaohua

# Get random funny story
python request_random_jokes.py duanzi

# Get random poisonous chicken soup
python request_random_jokes.py dujitang

Files

  • request_random_jokes.py: Main script, returns content as plain text output
  • SKILL.md: Skill documentation