← 返回 Skills 市场
Davos
作者
zhsongchao
· GitHub ↗
· v1.0.0
· MIT-0
308
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install easy-html-poster
功能描述
快速用HTML和浏览器截图制作适合小红书和朋友圈的农业或法律风格海报模板。
使用说明 (SKILL.md)
Skill: HTML海报制作
用HTML+浏览器截图的方式快速制作小红书/朋友圈海报。
使用场景
- 用户要求制作海报
- 需要快速生成可视化内容
核心步骤
1. 创建HTML文件
在 ~/Desktop/ 目录下创建HTML文件,包含完整样式的小红书海报模板。
关键要点:
- 宽度800px,高度1200px(竖版)
- 使用
font-family: 'Noto Sans SC'支持中文 - 背景简约清新(白色或浅色)
- 配色:绿色(#27AE60)代表农业/养殖,红色(#E74C3C)代表法律/警示
2. 启动本地服务器
cd ~/Desktop
python3 -m http.server 9999
3. 浏览器打开并截图
- 使用OpenClaw browser工具打开
http://localhost:9999/文件名.html - 截图保存到桌面
4. 清理
- 关闭本地服务器
- 删除临时HTML文件(可选保留)
模板示例
农业/养殖海报模板
\x3Cstyle>
.poster { width: 800px; height: 1200px; background: white; }
.header { background: linear-gradient(135deg, #27AE60 0%, #1E8449 100%); padding: 30px; text-align: center; }
.header-title { font-size: 36px; font-weight: 900; color: white; }
.section { background: #F8F8F8; border-radius: 12px; padding: 15px; margin-bottom: 12px; }
.section-title { font-size: 18px; font-weight: 700; color: #27AE60; }
.highlight-box { background: #E8F8F0; border-radius: 12px; padding: 15px; border-left: 5px solid #27AE60; }
.warning-box { background: #FDEBD0; border-radius: 12px; padding: 15px; border-left: 5px solid #E67E22; }
.footer { background: linear-gradient(135deg, #27AE60 0%, #1E8449 100%); padding: 20px; text-align: center; }
.tag { background: #E8F8F0; color: #27AE60; padding: 5px 10px; border-radius: 15px; font-size: 12px; }
\x3C/style>
法律/咨询海报模板
\x3Cstyle>
.poster { width: 800px; height: 1200px; display: flex; }
.left { width: 220px; background: #FFF5F5; }
.right { flex: 1; background: white; }
.header { background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%); border-radius: 10px; padding: 16px; }
.case-box { background: #F8F8F8; border-radius: 8px; padding: 12px; }
.result-box { background: linear-gradient(135deg, #FFE5E5 0%, #FFF5F5 100%); border-radius: 8px; padding: 10px; }
.cta-box { background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%); border-radius: 8px; padding: 10px; }
\x3C/style>
快速命令
# 启动服务器
cd ~/Desktop && python3 -m http.server 9999
# 关闭服务器
pkill -f "python3 -m http.server 9999"
注意事项
- 端口9999避免与8888冲突(Canva等可能占用)
- HTML中的图片用本地路径或网络URL
- 截图后及时关闭服务器释放资源
安全使用建议
This skill appears to do what it says: author a temporary HTML poster, serve it locally, and screenshot it. Before running it, consider these simple safety steps: (1) Don't run the server from your Desktop if that folder contains sensitive files — create a temporary folder and put only poster files there. (2) Bind the server to localhost to avoid exposing files: python3 -m http.server 9999 --bind 127.0.0.1. (3) Avoid using pkill -f; instead capture the server PID when you start it and kill that PID (or use Ctrl-C) to avoid terminating unrelated Python processes. (4) If your HTML references external image URLs, the browser will fetch them from the network (remote hosts will see the request); prefer local images if you want to avoid remote fetches. (5) Verify screenshots don't accidentally capture other on-screen sensitive information. With those precautions this instruction-only skill is coherent and low-risk.
功能分析
Type: OpenClaw Skill
Name: easy-html-poster
Version: 1.0.0
The skill bundle provides a legitimate workflow for generating social media posters by creating HTML files on the user's desktop and serving them locally via 'python3 -m http.server' for screenshotting. While serving the desktop directory over a local port (9999) is a minor security oversight, the instructions in SKILL.md are transparent, lack obfuscation, and show no evidence of malicious intent, data exfiltration, or unauthorized access.
能力评估
Purpose & Capability
The name/description (HTML poster + screenshot) match the runtime instructions: create an HTML file, run a local HTTP server, open the local URL in the browser, and capture a screenshot. No unrelated binaries, credentials, or services are requested.
Instruction Scope
Instructions stay within the poster-generation workflow, but omit a couple of important safety details: (1) python3 -m http.server binds to all interfaces by default, potentially exposing ~/Desktop files to the network; the instructions do not recommend --bind 127.0.0.1 or using a temporary directory. (2) The suggested pkill -f pattern may match and terminate other unrelated Python processes. Also, templates may reference external image URLs which will cause the browser to fetch remote resources (possible data/metadata leakage).
Install Mechanism
Instruction-only skill with no install spec and no downloaded code. This is low risk and consistent with a simple workflow that relies on existing Python and the agent's browser tool.
Credentials
The skill requests no environment variables, no credentials, and no config paths. It only instructs writing a temporary HTML file to ~/Desktop and running a local server, which is proportional to the stated purpose.
Persistence & Privilege
The skill is not always-enabled and does not request persistent privileges. It does instruct running a local server process, but that is typical for the task and limited in scope.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install easy-html-poster - 安装完成后,直接呼叫该 Skill 的名称或使用
/easy-html-poster触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of easy-html-poster skill.
- Provides step-by-step guide to quickly create visually appealing posters using HTML and browser screenshots.
- Includes customizable template styles for agriculture and legal themes.
- Details best practices for local server setup, browser usage, and file management.
- Offers quick command references and important usage notes for smooth operation.
元数据
常见问题
Davos 是什么?
快速用HTML和浏览器截图制作适合小红书和朋友圈的农业或法律风格海报模板。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 308 次。
如何安装 Davos?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install easy-html-poster」即可一键安装,无需额外配置。
Davos 是免费的吗?
是的,Davos 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Davos 支持哪些平台?
Davos 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Davos?
由 zhsongchao(@zhsongchao)开发并维护,当前版本 v1.0.0。
推荐 Skills