← Back to Skills Marketplace
148
Downloads
3
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install newspaper
Description
Render structured news content into a styled HTML newspaper page with optional AI-generated images using ComfyUI integration.
Usage Guidance
This skill appears to do what it says: render HTML and optionally call a ComfyUI image service. Before installing, consider: 1) By default it calls local ComfyUI (127.0.0.1:8000); if you set COMFY_BASE_URL/COMFY_VIEW_URL to a remote service, your image prompt text (and any sensitive content included in it or in article bodies) will be sent to that external endpoint. 2) comfy-client.js logs the full image prompt to console — do not include sensitive data in imagePrompt or article body if you expect logs to be retained or forwarded. 3) The service writes HTML files to ./output and serves them on localhost:3000; ensure appropriate filesystem permissions and that hosting this on a network-exposed machine is intended. If you need stronger privacy, run ComfyUI locally, avoid sensitive prompt content, and review/disable or redirect logging in comfy-client.js.
Capability Analysis
Type: OpenClaw Skill
Name: newspaper
Version: 1.0.1
The skill bundle provides a legitimate service for rendering structured news content into newspaper-style HTML pages, including integration with ComfyUI for image generation. The code in `server.js` and `comfy-client.js` follows standard Express and Axios patterns for API handling and template rendering (using Handlebars with default escaping), and the instructions in `SKILL.md` and `AGENT.md` are strictly aligned with the tool's stated purpose without any signs of prompt injection or malicious intent.
Capability Assessment
Purpose & Capability
Name/description (HTML newspaper rendering + optional ComfyUI images) match the included files (server, comfy-client, Handlebars template). No unrelated environment variables, binaries, or config paths are required; package.json deps (express, axios, handlebars) are appropriate for the task.
Instruction Scope
SKILL.md and AGENT.md instruct the agent to POST to a local service (http://localhost:3000/render) and to contact a ComfyUI service at a local default (http://127.0.0.1:8000). The code only reads templates, writes HTML to ./output, and calls the ComfyUI endpoints /prompt, /history/{id}, and /queue. Potential privacy/information-leak note: comfy-client.js logs the full prompt to console (console.log('[ComfyUI] 开始生成图片,prompt:', prompt,...)), which contradicts the SKILL.md claim that logs only contain title and article count — image prompts (and thus any sensitive content included in prompts) can appear in logs and in requests to COMFY_BASE_URL. Also the rendered HTML embeds image URLs returned by ComfyUI (COMFY_VIEW_URL), so those URLs may point to external resources if COMFY_VIEW_URL is configured externally.
Install Mechanism
Instruction-only install (no install spec) and included source files — no external archives or unusual installers. Dependencies are standard npm packages trackable from package.json. This is a low-risk install mechanism.
Credentials
The skill declares no required environment variables; it documents optional COMFY_BASE_URL and COMFY_VIEW_URL to override local ComfyUI address. These are proportional to the advertised ComfyUI integration. No unrelated secrets/credentials are requested.
Persistence & Privilege
always:false; the skill runs as a normal service and writes output files to its own ./output directory. It does not modify other skills, system-wide agent settings, or request permanent platform-wide privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install newspaper - After installation, invoke the skill by name or use
/newspaper - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added support for custom ComfyUI service endpoints via COMFY_BASE_URL and COMFY_VIEW_URL environment variables.
- Updated ComfyUI integration documentation: endpoints are now configurable and distinguished as base and view URLs.
- Clarified error handling for ComfyUI timeouts: solution now references comfyOptions.timeout.
- Added a security note clarifying logging behavior and data privacy recommendations.
- Minor improvements to ComfyUI section wording for clarity; no functional changes in API or core rendering logic.
v1.0.0
# AI Newspaper Rendering Service v1.0
## 中文版
### 这是什么?
AI 报纸渲染服务是一个将新闻内容自动排版成**仿实体报纸风格**的工具。
想象一下:你提供新闻标题和内容,它返回一个精心排版的 HTML 页面——就像传统报纸那样,有大标题、多栏文字、配图,充满纸媒的质感。
### 它能做什么?
**1. 报纸风格排版**
- 自动生成报头(大标题 + 副标题 + 日期)
- 4 栏布局,栏与栏之间有分隔线
- 头条新闻跨栏显示,突出重要内容
- 使用宋体、楷体等传统报纸字体
**2. AI 配图生成**
- 为新闻自动生成配图
- 只需提供英文描述(如:"A futuristic AI robot scientist")
- 图片自动嵌入到合适位置
- 生成失败时自动使用占位图
**3. 响应式适配**
- 大屏幕显示 4 栏
- 平板显示 3 栏
- 小屏手机显示 1 栏
- 无需额外配置
### 使用场景
- 📰 **新闻汇总** - 将每日资讯排版成报纸
- 📋 **周报/月报** - 工作汇报的精美呈现
- 🎁 **创意礼物** - 把故事变成报纸纪念版
- 📢 **公告发布** - 正式公告的创意展示
---
## English Version
### What is this?
AI Newspaper Rendering Service is a tool that automatically formats news content into a **traditional newspaper-style** layout.
Think of it this way: you provide headlines and content, and it returns a beautifully typeset HTML page—just like a real newspaper, with large headlines, multi-column text, images, and that classic print media feel.
### What does it do?
**1. Newspaper-style Layout**
- Auto-generates masthead (title + subtitle + date)
- 4-column layout with separator lines
- Lead articles span across all columns
- Uses traditional Chinese serif fonts
**2. AI Image Generation**
- Automatically generates images for news articles
- Just provide an English description (e.g., "A futuristic AI robot scientist")
- Images are embedded in appropriate positions
- Falls back to placeholders if generation fails
**3. Responsive Design**
- 4 columns on large screens
- 3 columns on tablets
- 1 column on mobile phones
- No extra configuration needed
### Use Cases
- 📰 **News Digest** - Format daily news into newspaper style
- 📋 **Weekly/Monthly Reports** - Beautiful presentation for work reports
- 🎁 **Creative Gifts** - Turn stories into commemorative newspapers
- 📢 **Announcements** - Creative display for formal notices
---
Metadata
Frequently Asked Questions
What is NewsPaper?
Render structured news content into a styled HTML newspaper page with optional AI-generated images using ComfyUI integration. It is an AI Agent Skill for Claude Code / OpenClaw, with 148 downloads so far.
How do I install NewsPaper?
Run "/install newspaper" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is NewsPaper free?
Yes, NewsPaper is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does NewsPaper support?
NewsPaper is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created NewsPaper?
It is built and maintained by spootmu (@spootmu); the current version is v1.0.1.
More Skills