Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

news-publisher新闻出版商

Agent Skill

news-publisher 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,192

周安装

383

GitHub Stars

公开资料未说明

下载量

3,064
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:news-publisher(新闻出版商)
来源仓库:https://github.com/zhenstaff/news-publisher
安装命令:
openclaw skills install news-publisher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install news-publisher

简介

CLI 工具,用于以 Markdown 编写新闻并在 RSS、Twitter、微信上自动发布(API 待定),具有多平台回退和预览功能。

SKILL.md

OpenClaw News Publisher

Multi-platform news publishing automation from Markdown

Overview

OpenClaw News Publisher is a CLI-based tool that automates news article distribution across multiple platforms. Write once in Markdown, publish everywhere with a single command.

Core Capabilities

1. Multi-Platform Publishing

  • RSS Feed: Full implementation with automatic feed generation
  • WeChat Official Account: Framework ready (API pending)
  • Twitter/X: Framework ready (OAuth pending)
  • Toutiao (今日头条): Placeholder
  • YouTube: Placeholder
  • Douyin (抖音): Placeholder

2. Markdown-First Workflow

  • Write news in standard Markdown with YAML Front Matter
  • Template system for different content types
  • Preview before publishing
  • Automatic content extraction and formatting

3. Publishing Features

  • Automatic platform fallback on failures
  • Dry-run mode for testing
  • Publishing history tracking with JSON records
  • Platform-specific formatting (e.g., Twitter 280 char limit)
  • Batch publishing to multiple platforms

4. Content Management

  • Draft system for work-in-progress articles
  • Published archive organized by date
  • Template-based article creation
  • Front Matter metadata support

Installation

# Clone repository
git clone https://github.com/ZhenRobotics/openclaw-news-publisher.git
cd openclaw-news-publisher

# Install dependencies
npm install

# Configure platforms
cp .env.example .env
# Edit .env with your credentials

# Verify installation
./agents/news-cli.sh help

Quick Start

1. Create News Article

# Create from template
openclaw-news create "AI Breakthrough in 2026"

# Or use script directly
./scripts/create-news.sh "My News Title" --template tech-news

This generates: news/drafts/ai-breakthrough-TIMESTAMP.md

2. Edit Article

---
title: "AI Breakthrough in 2026"
author: "Your Name"
category: "Technology"
tags: ["AI", "Innovation"]
platforms: ["rss", "twitter"]
---

# AI Breakthrough in 2026

Your article content here...

3. Preview Article

openclaw-news preview news/drafts/ai-breakthrough-*.md

Shows: title, author, word count, content preview

4. Publish

# Publish to all configured platforms
openclaw-news publish news/drafts/ai-breakthrough-*.md

# Publish to specific platforms
openclaw-news publish news/drafts/my-news.md --platforms rss,twitter

# Dry run (preview only, no actual publishing)
openclaw-news publish news/drafts/my-news.md --dry-run

5. List Published Articles

openclaw-news list

CLI Commands

CommandDescriptionExample
createCreate news draftopenclaw-news create "Title"
previewPreview articleopenclaw-news preview <file>
publishPublish to platformsopenclaw-news publish <file>
listList published articlesopenclaw-news list
helpShow helpopenclaw-news help

Configuration

Platform Credentials (.env)

# Platform priority (comma-separated)
PUBLISH_PLATFORMS="rss,wechat,twitter"

# RSS Configuration
RSS_SITE_URL="https://your-site.com"
RSS_FEED_URL="https://your-site.com/feed.xml"

# WeChat
WECHAT_APP_ID="wx..."
WECHAT_APP_SECRET="..."

# Twitter
TWITTER_API_KEY="..."
TWITTER_API_SECRET="..."
TWITTER_ACCESS_TOKEN="..."

# (See .env.example for full configuration)

Article Format

Front Matter Fields

FieldRequiredDescriptionExample
titleArticle title"AI News"
authorAuthor name"John Doe"
categoryCategory"Technology"
tagsTag array["AI", "Tech"]
platformsTarget platforms["rss", "twitter"]
coverImageCover image path"img/cover.jpg"
draftDraft statustrue or false

Example Article

---
title: "Breaking: New AI Model Released"
author: "Tech Reporter"
category: "Technology"
tags: ["AI", "Machine Learning"]
platforms: ["rss", "twitter", "wechat"]
coverImage: "images/ai-model.jpg"
draft: false
---

# Breaking: New AI Model Released

## Summary
A revolutionary AI model has been announced...

## Details
The new model demonstrates...

### Key Features
- **Performance**: 50% improvement
- **Efficiency**: Reduced compute costs
- **Applications**: Healthcare, finance

## Conclusion
This breakthrough marks...

Platform-Specific Behavior

RSS

  • Generates RSS 2.0 feed at public/feed.xml
  • Converts Markdown to HTML automatically
  • Includes last 20 articles
  • Updates on each publish

Twitter

  • Automatically truncates to 280 characters
  • Extracts hashtags from article tags
  • Uses summary or first paragraph

WeChat

  • Extracts title, author, content
  • Prepares for draft article creation
  • (Full API integration pending)

Use Cases

1. News Website

# Daily news workflow
openclaw-news create "Today's Tech News"
# Edit article...
openclaw-news publish news/drafts/todays-tech-news-*.md --platforms rss

2. Multi-Platform Content Distribution

# Write once, publish everywhere
openclaw-news publish article.md --platforms rss,wechat,twitter,toutiao

3. Content Preview Before Publishing

# Preview and test
openclaw-news preview article.md
openclaw-news publish article.md --dry-run
openclaw-news publish article.md  # Actual publish

Project Structure

openclaw-news-publisher/
├── news/
│   ├── templates/        # Article templates
│   ├── drafts/           # Work in progress
│   └── published/        # Published archive
├── scripts/
│   ├── platforms/        # Platform publishers
│   ├── publish-news.sh   # Main publish script
│   └── create-news.sh    # Create drafts
├── agents/
│   └── news-cli.sh       # CLI entry point
└── public/
    └── feed.xml          # Generated RSS feed

Advanced Features

Publishing History

Each publish creates a JSON record:

{
  "article_id": "my-news",
  "platform": "rss",
  "status": "success",
  "published_at": "2026-03-10T12:00:00Z",
  "platform_url": "https://example.com/feed.xml",
  "error": null
}

Stored in: news/published/YYYY-MM-DD/article-id.platform.json

Automatic Platform Fallback

If a platform fails, publishing continues to next platform:

Publishing to: rss        ✅ Success
Publishing to: wechat     ❌ Failed (not configured)
Publishing to: twitter    ✅ Success

Summary: 2 success, 1 failed

Template System

Built-in templates:

  • default.md - General purpose
  • tech-news.md - Technology news

Create custom templates in news/templates/

Requirements

  • Node.js: >=18.0.0
  • Operating System: Linux, macOS, WSL
  • Dependencies: None (uses standard system tools)
  • Platform Credentials: Required for each platform

Limitations

  • WeChat/Twitter APIs require manual implementation
  • Toutiao/YouTube are placeholders
  • No built-in image hosting
  • No scheduling system (yet)

Roadmap

  • [ ] Complete WeChat API integration
  • [ ] Implement Twitter OAuth flow
  • [ ] Add Toutiao API support
  • [ ] Add YouTube Data API
  • [ ] Web UI dashboard
  • [ ] Scheduling system
  • [ ] Analytics tracking

Support

  • GitHub: https://github.com/ZhenRobotics/openclaw-news-publisher
  • Issues: https://github.com/ZhenRobotics/openclaw-news-publisher/issues
  • Documentation: See docs/PLATFORMS.md

License

MIT License - Free for commercial and personal use


Version: 1.0.0 Author: justin Status: Production Ready (RSS), Beta (WeChat, Twitter)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

78.66%
按下载量换算2,410

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills