360 Secure SkillHub
360 安全技能中心

请求随机笑话

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

分类:创作
aolinlu
aolinlu
热度 28.20
最近更新 2026-05-11 17:38:33

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add aolinlu/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