/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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install github-to-rednote - After installation, invoke the skill by name or use
/github-to-rednote - Provide required inputs per the skill's parameter spec and get structured output
What is GitHub to RedNote?
Convert GitHub repositories into RedNote (小红书) style technical articles. Use when user wants to generate tech promotion content from GitHub repos - including... It is an AI Agent Skill for Claude Code / OpenClaw, with 236 downloads so far.
How do I install GitHub to RedNote?
Run "/install github-to-rednote" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is GitHub to RedNote free?
Yes, GitHub to RedNote is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does GitHub to RedNote support?
GitHub to RedNote is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created GitHub to RedNote?
It is built and maintained by caoyachao (@caoyachao); the current version is v1.6.0.