← Back to Skills Marketplace
enchograph

daily-gushiwen

cross-platform ⚠ suspicious
639
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install daily-gushiwen
Description
每日从古诗文网(gushiwen.cn)首页爬取诗词文句、古画名句等内容,整理后发送为消息。用于用户询问"每日古文"、"古诗"、"诗词推荐"或需要每日古文推荐时触发。
README (SKILL.md)

每日古文

从古诗文网首页(gushiwen.cn)获取当日的诗词文句、古画配句、名句摘录等,整理后发送。

使用方式

用户在以下场景会触发此skill:

  • 询问"每日古文"、"今日古诗"、"古文推荐"
  • 询问"今天有什么古诗"
  • 需要获取古诗文网首页的精选内容

执行流程

  1. 获取首页内容: 使用 exec+curl 或 tavily_extract 访问 https://www.gushiwen.cn/
  2. 解析内容: 提取以下信息
    • 诗词文句:标题、作者、朝代、正文(不包含标签)
    • 古画配句:古画名称(如"高其佩 山水册-画册局部")及其下的名句评论,古画图片URL(格式:https://ziyuan.guwendao.net/mingjuImg/{图片ID}.jpg
    • 名句摘录:经典名句及其出处
  3. 古画图片URL提取方法: 使用 exec+curl 抓取页面HTML,用正则表达式匹配 \x3Cimg src="https://ziyuan.guwendao.net/mingjuImg/ 获取图片URL
  4. 整理格式: 按以下结构组织消息
    • 开头:日期 + 每日古文标题(格式:📜 每日古文 · X年X月X日
    • 诗词:按网站顺序
      • 标题:《诗题》
      • 作者:〔朝代〕作者名
      • 正文:诗句
    • 古画:按网站顺序,紧跟对应诗词后面
      • 古画名称(如"山水册-画册局部")
      • 作者(如"高其佩")
      • [图片]占位符
      • 名句
      • ——《出处》
    • 名句摘录:
      • • 名句内容
      • 出处(不要破折号,直接给出处)
    • 各区块之间用 ====== 分隔
  5. 发送消息: 将整理好的内容发送(通过 message 工具或 cron job 的 delivery)
    • 古画图片使用 message 工具的 media 参数发送
    • [图片]占位符的位置就是发送图片的时机

输出格式示例(不要直接用示例,按上面的步骤网络爬取内容输出!)

📜 每日古文 · 2026年2月19日

---
《采菱》
〔宋〕范成大

采菱辛苦废犁锄,血指流丹鬼质枯。
无力买田聊种水,近来湖面亦收租!

---
山水册-画册局部
高其佩

[图片]

"当断不断,反受其乱"
——《史记·七十列传·春申君列传》

---
《归鸟·其一》
〔魏晋〕陶渊明
翼翼归鸟,晨去于林。
远之八表,近憩云岑。
和风不洽,翻翮求心。
顾俦相鸣,景庇清阴。

---
野花草虫图局部
丘余庆

[图片]

"野花不种年年有,烦恼无根日日生。"
——《警世通言·卷二十》

---
• 不以一眚掩大德。
《左传·僖公·僖公三十三年》
• 有治法而后有治人。
《明夷待访录·原法》
• 好水好山看不足,马蹄催趁月明归。
岳飞《池州翠微亭》

注意事项

  • 古诗文网内容会每日更新,首页展示的是网站推荐内容
  • 不输出长篇古文以控制消息长度
  • 古画配句通常是一句经典名句,来自古籍
  • 确保内容正确解析URL链接
  • 古画图片URL格式: https://ziyuan.guwendao.net/mingjuImg/{图片ID}.jpg,从HTML的 \x3Cimg src="https://ziyuan.guwendao.net/mingjuImg/ 标签中提取
  • 发送古画图片时使用 message 工具的 media 参数,图片URL需要是可访问的公网URL
  • 如果是在QQ里调用的话,不输出图片相关内容。
  • 不加赏析
  • 分割线“---”用“======”代替
  • 只输出要求输出的内容,前后不要输出多余的文本、说明、报错
Usage Guidance
This skill is internally consistent for scraping and sending daily poetry from gushiwen.cn, but consider the following before installing: - Runtime requirements: SKILL.md expects to run curl (exec+curl). Ensure the agent runtime has curl or an equivalent HTTP fetcher and that executing shell commands is acceptable in your environment. - Network egress: The skill will make outbound HTTP requests to gushiwen.cn and to ziyuan.guwendao.net (for image URLs). If you run agents in a restricted network or care about data leaving your environment, review your egress rules or sandbox the skill. - Message delivery: The skill references a 'message' tool to send text and media. Confirm what messaging integration the agent will use (and whether that tool has access to other data) to avoid unintended data sharing. - Legal/terms: This is basic scraping of a third‑party site; verify that scraping the site is allowed by the site's terms of service and that you are comfortable with the content license. - Safety: Parsing HTML with regex is brittle; test the skill on a few days to ensure formatting and image extraction work and to avoid malformed outputs. If you want to be stricter, require the skill not run shell exec (or disable autonomous invocation) and instead provide a controlled HTTP client. If any of the above is unacceptable (shell execution, outbound requests, or automatic message posting), do not enable the skill or restrict its permissions/sandbox it first.
Capability Analysis
Type: OpenClaw Skill Name: daily-gushiwen Version: 1.0.0 The skill is classified as suspicious due to its explicit instruction in `SKILL.md` to use `exec+curl` for web scraping. While the current target (`https://www.gushiwen.cn/`) is legitimate and the stated purpose is benign, the `exec` capability allows for arbitrary shell command execution. This represents a significant vulnerability (potential for RCE) if the command or its parameters could be influenced by external input, even without clear evidence of intentional malicious behavior in this specific skill bundle.
Capability Assessment
Purpose & Capability
The name/description (fetch daily content from gushiwen.cn) matches the instructions (download homepage, parse poems, extract image URLs, assemble message). Minor inconsistency: SKILL.md expects exec+curl or tavily_extract and use of a 'message' tool, but the registry metadata lists no required binaries or tools—this is a documentation gap rather than a functional mismatch.
Instruction Scope
Instructions stay within the stated purpose: fetch gushiwen.cn homepage HTML, parse poem/painting/name-quote sections, extract image URLs from <img src="https://ziyuan.guwendao.net/..."> and format/send messages. The instructions do call for executing shell commands (exec+curl) and parsing with regex, which is brittle but consistent. They do not instruct reading unrelated files, accessing credentials, or exfiltrating other system data.
Install Mechanism
No install spec and no code files (instruction-only), which is lowest-risk for disk writes. The only runtime dependency implied is a network-capable runtime and a curl binary if exec+curl is used.
Credentials
The skill declares no environment variables or credentials and the instructions do not reference any secrets. This is proportionate to its scraping/formatting purpose.
Persistence & Privilege
always is false and the skill does not request persistent or cross-skill configuration changes. disable-model-invocation is false (default autonomous invocation) which is normal for skills and is not by itself a red flag here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install daily-gushiwen
  3. After installation, invoke the skill by name or use /daily-gushiwen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- 首发版本,支持每日从古诗文网首页抓取并整理诗词文句、古画配句、名句摘录。 - 精确按照首页顺序整理诗词与古画,包含古画图片URL提取及媒体发送方式。 - 支持通过用户关键词自动触发,并以规定格式推送结果。 - 输出内容涵盖日期、诗词、古画配句、名句,区块清晰分隔。
Metadata
Slug daily-gushiwen
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is daily-gushiwen?

每日从古诗文网(gushiwen.cn)首页爬取诗词文句、古画名句等内容,整理后发送为消息。用于用户询问"每日古文"、"古诗"、"诗词推荐"或需要每日古文推荐时触发。 It is an AI Agent Skill for Claude Code / OpenClaw, with 639 downloads so far.

How do I install daily-gushiwen?

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

Is daily-gushiwen free?

Yes, daily-gushiwen is completely free (open-source). You can download, install and use it at no cost.

Which platforms does daily-gushiwen support?

daily-gushiwen is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created daily-gushiwen?

It is built and maintained by 陈广隰 / Chen Guangxi (@enchograph); the current version is v1.0.0.

💬 Comments