/install github-to-rednote
GitHub to RedNote
Convert GitHub repositories into RedNote-style technical articles.
Overview
This skill transforms GitHub repository information into engaging RedNote (小红书) formatted articles suitable for Chinese tech community promotion.
Supported Article Types:
- Intro - Project recommendation/overview
- Review - Technical review and evaluation
- Tutorial - Usage guide and tutorial
- List - Tool collection/list
- Release - Version release notes
Quick Start
# Basic usage - generate intro article
python3 scripts/generate_article.py \x3Cgithub-url>
# Specify article type
python3 scripts/generate_article.py \x3Cgithub-url> --type review
# Save to file
python3 scripts/generate_article.py \x3Cgithub-url> --output article.md
Workflow
- Parse URL - Extract owner/repo from GitHub URL
- Fetch Data - Get repo info, README, languages via GitHub API
- Generate Content - Use LLM to create RedNote-style article
- Format Output - Apply emoji formatting and hashtags
Article Types
1. Intro (项目推荐)
Project introduction and recommendation
- Focus: What it does, key features, why use it
- Style: Enthusiastic but technical
2. Review (项目测评)
Technical review and evaluation
- Focus: Pros/cons, use cases, comparison
- Style: Objective analysis
3. Tutorial (使用教程)
Usage guide
- Focus: Installation, quick start, examples
- Style: Step-by-step instructions
4. List (工具合集)
Tool collection
- Focus: Multiple related tools, categorized
- Style: Curated list with brief descriptions
5. Release (版本发布)
Version release notes
- Focus: New features, changes, migration
- Style: Changelog format
Output Format
RedNote style includes:
- Emoji decorations (🔥💡⚡️🚀)
- Section dividers
- Topic hashtags (#技术分享 #开源项目 #程序员)
- Concise paragraphs (适合手机阅读)
Resources
scripts/
generate_article.py- Main script for article generationgithub_api.py- GitHub API wrapperformatters.py- RedNote formatting utilities
references/
prompts.md- LLM prompt templates for each article typerednote-style.md- RedNote formatting guidelines
assets/
- Templates and example outputs
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install github-to-rednote - 安装完成后,直接呼叫该 Skill 的名称或使用
/github-to-rednote触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
GitHub to RedNote 是什么?
Convert GitHub repositories into RedNote (小红书) style technical articles. Use when user wants to generate tech promotion content from GitHub repos - including... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 236 次。
如何安装 GitHub to RedNote?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-to-rednote」即可一键安装,无需额外配置。
GitHub to RedNote 是免费的吗?
是的,GitHub to RedNote 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
GitHub to RedNote 支持哪些平台?
GitHub to RedNote 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 GitHub to RedNote?
由 caoyachao(@caoyachao)开发并维护,当前版本 v1.6.0。