← Back to Skills Marketplace
bcocgs21494

每日有趣内容

by bcocgs21494 · GitHub ↗ · v1.0.0 · MIT-0
darwinlinux ⚠ suspicious
440
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install daily-fun-content
Description
每日趣味内容生成器 - 每天早上搜索网络,预缓存一天的笑话、热梗、聊天技巧。包括搞笑段子、网络热梗解释、高情商对话示例。用 cron 触发,内容缓存到文件,心跳时随机取用。
README (SKILL.md)

Daily Fun Content

每天早上自动搜索网络,生成并缓存一天的趣味内容。

功能

  • 搞笑段子 - 从网络搜索最新笑话、段子
  • 网络热梗 - 搜索最近流行的梗、表情包梗、流行语
  • 聊天技巧 - 高情商对话示例、接话技巧
  • 预缓存 - 每天早上生成 6-8 条内容,存到 cache/daily-fun.json
  • 随机取用 - 心跳时从缓存随机取一条分享

使用方式

1. 每日生成(Cron)

每天早上 6:00 自动生成:

openclaw cron add \
  --name "Daily Fun Content Generator" \
  --cron "0 6 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --wake now \
  --message "Generate daily fun content: search web for jokes, memes, and chat tips. Cache 6-8 items to cache/daily-fun.json"

2. 手动生成

node {baseDir}/scripts/generate.mjs

3. 获取内容

心跳时调用:

node {baseDir}/scripts/get-content.mjs

返回随机一条缓存的内容。

内容格式

缓存文件 cache/daily-fun.json

{
  "date": "2026-03-09",
  "generated": "2026-03-09T06:00:00Z",
  "items": [
    {
      "type": "joke",
      "content": "朋友问我'你周末干嘛了',我说'躺了一天'。他说'那多无聊啊'。我说'你不懂,躺平也是一种技术,我得练'。"
    },
    {
      "type": "meme",
      "title": "我悟了",
      "content": "最近'我悟了'这个梗挺火。用法:当别人说了个常识,你装作恍然大悟。\
朋友:'多喝水对身体好'\
你:'我悟了'"
    },
    {
      "type": "chat_tip",
      "content": "别人问'在干嘛',别说'没干嘛'。说'刚在想你上次说的那个事'或者'在发呆,你呢?'— 把球抛回去,对话才能继续。"
    }
  ]
}

内容类型

类型 说明 来源
joke 搞笑段子、生活笑话 搜索"最新笑话 2026"、"搞笑段子"
meme 网络热梗、流行语 搜索"最近流行梗"、"网络热词 2026"
chat_tip 聊天技巧、高情商对话 搜索"聊天技巧"、"高情商回复"

搜索策略

生成时会搜索:

  1. 中文搞笑内容(豆瓣、知乎、微博等)
  2. 最近 7 天的网络热梗
  3. 实用的聊天技巧

确保内容:

  • 真正好笑,不冷
  • 热梗解释清楚用法
  • 聊天技巧实用不油腻
  • 不冒犯、不敏感

心跳集成

更新 HEARTBEAT.md

### 6. 趣味内容分享(每 2-3 小时)
- **条件**:距离上次分享 > 2 小时
- **动作**:`node skills/daily-fun-content/scripts/get-content.mjs`
- **报告**:直接分享返回的内容
- **回退**:如果缓存为空,现场生成一条

文件结构

skills/daily-fun-content/
├── SKILL.md              # 本文件
├── scripts/
│   ├── generate.mjs      # 每日生成脚本
│   └── get-content.mjs   # 获取随机内容
└── cache/
    └── daily-fun.json    # 缓存文件(gitignore)

依赖

  • 需要网络搜索能力(可用 perplexity skill 或 glm-web-search skill)
  • Node.js 18+

发布到 ClawHub

# 1. 测试
node scripts/generate.mjs
node scripts/get-content.mjs

# 2. 发布
clawhub publish ./skills/daily-fun-content \
  --slug daily-fun-content \
  --name "Daily Fun Content" \
  --version 1.0.0 \
  --changelog "Initial release - daily jokes, memes, and chat tips"

示例输出

笑话:

去面试,面试官问"你最大的缺点是什么",我说"太诚实"。他说"我不觉得这是缺点"。我说"我不在乎你怎么想"。

热梗:

"破防了" - 原意是游戏里防御被打破,现在指心理防线崩溃。 用法:看到戳中自己的内容时用。 朋友:发了个扎心的视频 你:"破防了"

聊天技巧:

如何优雅地结束对话? 别说"我去洗澡了"(太假)。 说"我得去处理点事,回头聊"或者"不早了,你先忙"。 给对方台阶,也给自己留余地。


原则:轻松、有趣、不油腻。质量 > 数量。

Usage Guidance
This skill appears coherent and limited in scope, but consider these practical checks before installing: 1) The generator calls an external CLI (mcporter) to perform web searches — ensure you trust and control that tool (a compromised CLI could execute arbitrary actions). 2) The cached file (cache/daily-fun.json) is written to disk; ensure it is gitignored and acceptable to store generated content on the host. 3) Web scraping can hit site rate limits or terms of service — confirm your environment's network policy and respectful scraping. 4) The skill can be invoked autonomously by the agent (normal behavior); if you do not want background runs, avoid adding the cron/heartbeat entries or restrict agent permissions. Overall there are no obvious red flags, but review the mcporter dependency and your hosting policies before enabling automated cron/heartbeat runs.
Capability Analysis
Type: OpenClaw Skill Name: daily-fun-content Version: 1.0.0 The skill uses `execSync` in `scripts/generate.mjs` to execute shell commands for web searching via `mcporter`, which represents a potential shell injection vulnerability. It also requests the configuration of a persistent cron job and performs automated web searches and file system writes. While these behaviors are aligned with the stated purpose of a daily content generator, the reliance on shell execution for tool interaction is a high-risk pattern.
Capability Assessment
Purpose & Capability
Name/description promise (daily jokes/memes/chat tips, cache to file, heartbeat usage) matches the code and SKILL.md. Required capabilities (network search via an external search skill/CLI) are reasonable for the stated goal.
Instruction Scope
Runtime instructions and scripts only search the web (via an external CLI), assemble content, write to cache/daily-fun.json, and read from that cache. They do not read unrelated files, environment variables, or send data to unknown endpoints. Heartbeat integration is explicit and limited to calling get-content.mjs.
Install Mechanism
No install spec is present (instruction-only distribution) and included scripts are plain Node.js files. No downloads, extract steps, or nonstandard install locations are used.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The only external dependency is a search provider (mcporter/glm-search or alternative), which is consistent with the stated search requirement.
Persistence & Privilege
always is false and the skill does not attempt to persist into agent configuration or modify other skills. It writes its own cache file under its skill directory only, which is expected behavior.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install daily-fun-content
  3. After installation, invoke the skill by name or use /daily-fun-content
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release – delivers daily curated fun content including jokes, memes, and chat tips. - Automatically fetches and caches 6-8 funny items every morning: jokes, trending memes, and chat skills. - Integration with cron for scheduled generation and caching to a local file. - Returns a random fun item on each heartbeat; manual fetch and fallback supported. - Ensures content is timely, well-explained, and socially appropriate. - Ready to use with simple scripts and integrates with heartbeat routines.
Metadata
Slug daily-fun-content
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 每日有趣内容?

每日趣味内容生成器 - 每天早上搜索网络,预缓存一天的笑话、热梗、聊天技巧。包括搞笑段子、网络热梗解释、高情商对话示例。用 cron 触发,内容缓存到文件,心跳时随机取用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 440 downloads so far.

How do I install 每日有趣内容?

Run "/install daily-fun-content" 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 (darwin, linux).

Who created 每日有趣内容?

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

💬 Comments