Token导航 LogoToken导航

Agent Skill · 研究检索

github-to-xhs(GitHub TO XHS 搜索)

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

github-to-xhs 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 21,752。

总安装 4,772周安装 205GitHub Stars 公开资料未说明下载 1,673核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.1

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install github-to-xhs

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

分析 GitHub 项目并生成小红书信息图帖子,突出技术价值点。适合开发者做个人 IP 推广或项目冷启动时使用。通过 clawhub 安装,输出包含标题、要点与配图建议的完整方案。不涉及图像合成,需用户自行准备视觉素材。github-to-xhs 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install github-to-xhs;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

github-to-xhs 怎么安装?

在终端执行 openclaw skills install github-to-xhs。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

github-to-xhs 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

github-to-xhs 需要什么权限?

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

github-to-xhs 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

github-to-xhs 用的人多吗?

公开数据是累计安装 4,772 次,近一周安装 205 次,下载 1,673 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

github-to-xhs 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
github-to-xhs

GitHub TO XHS 搜索 · 本页

4,772—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
github-to-xhs
description
Analyze a GitHub repository and generate Xiaohongshu (Little Red Book) infographic posts. Use when the user wants to create social media content about a GitHub project, including technical analysis, feature highlights, and promotional posts. Supports automatic content analysis, multiple outline strategies, and HTML-based visual output.

GitHub to Xiaohongshu Skill

Transform any GitHub repository into engaging Xiaohongshu (小红书) infographic content.

Usage

# Basic usage - analyze a GitHub repo and generate XHS content
/github-to-xhs https://github.com/user/repo

# With specific focus
/github-to-xhs https://github.com/user/repo --focus "AI features"

# After generation, files are in:
# /root/.openclaw/workspace/xhs-images/{repo-slug}/

Workflow

Step 1: Fetch GitHub Repository

Use web_fetch to get the repository's README and main content.

https://github.com/{owner}/{repo}

Step 2: Content Analysis

Analyze the repository and create analysis.md:

# {repo-name} Analysis

## Project Info
- Name: {name}
- Author: {author}
- Stars: {stars}
- Language: {language}
- Description: {description}

## Core Features
- Feature 1
- Feature 2
...

## Target Audience
- Audience 1
- Audience 2

## XHS Angles
- Hook ideas (max 20 characters for title)
- Visual opportunities

Step 3: Generate Outline Strategies

Create 6 different outline strategies with distinct visual styles:

Strategy A - Story-Driven (outline-strategy-a.md)

  • Personal discovery narrative
  • Problem → Solution → Result flow
  • 4 images, warm/cute style
  • Soft gradients, bookmarks, progress bars

Strategy B - Information-Dense (outline-strategy-b.md)

  • Feature highlights + technical details
  • Comparison tables + code blocks
  • 5 images, notion/minimal style
  • Grid background, geometric shapes

Strategy C - Visual-First (outline-strategy-c.md)

  • Bold visuals, minimal text
  • Showcase/demo focus
  • 3 images, bold/pop style
  • Large icons, big numbers, solid colors

Strategy D - Cyberpunk Tech (outline-strategy-d.md) ⭐ NEW

  • Neon colors, dark background
  • Perfect for developer tools, AI projects
  • 4-5 images, glowing accents
  • Dark theme (#0a0a0a), neon cyan/pink/purple

Strategy E - Warm Hand-drawn (outline-strategy-e.md) ⭐ NEW

  • Sketchy, organic, friendly
  • Great for beginner tutorials, educational content
  • 4-5 images, paper texture background
  • Earth tones, hand-drawn icons, doodles

Strategy F - Dark Professional (outline-strategy-f.md) ⭐ NEW

  • Sleek, premium, enterprise feel
  • Ideal for business tools, SaaS products
  • 5 images, dark navy background
  • Gold/amber accents, glassmorphism effects

Step 4: User Selection

Present all 6 strategies and ask user to choose:

📋 Select your preferred strategy:
- A: Story-Driven (4 images, emotional, warm)
- B: Information-Dense (5 images, technical, notion) ⭐ Default
- C: Visual-First (3 images, bold, minimal)
- D: Cyberpunk Tech (4-5 images, neon dark, dev tools)
- E: Warm Hand-drawn (4-5 images, sketchy, educational)
- F: Dark Professional (5 images, premium, enterprise)

Or specify a style: "Use cyberpunk style" / "Make it warm and friendly"

Step 5: Generate Content

Create final files:

  1. outline.md - Selected strategy
  2. prompts/NN-{type}-{slug}.md - Image generation prompts for each slide
  3. xiaohongshu-post.html - Complete HTML with all 5 slides styled for XHS

Step 6: Package Output

Create tar.gz archive with timestamp and version:

tar -czf {repo-slug}-xhs-{YYYYMMDD}-v{N}.tar.gz {repo-slug}/

Naming Convention: {repo-slug}-xhs-{date}-v{version}.tar.gz

  • Example: hermes-agent-xhs-20250413-v2.tar.gz

Output Structure

xhs-images/{repo-slug}/
├── source-{slug}.md              # Original GitHub content
├── analysis.md                   # Content analysis
├── outline-strategy-a.md         # Story-driven (warm)
├── outline-strategy-b.md         # Information-dense (notion)
├── outline-strategy-c.md         # Visual-first (bold)
├── outline-strategy-d.md         # Cyberpunk tech (NEW)
├── outline-strategy-e.md         # Warm hand-drawn (NEW)
├── outline-strategy-f.md         # Dark professional (NEW)
├── outline.md                    # Final selected outline
├── xiaohongshu-post.html         # Complete visual output
├── xiaohongshu-article.md        # Article content for XHS caption
├── prompts/                      # Image generation prompts
│   ├── 01-cover-{slug}.md
│   ├── 02-features-{slug}.md
│   └── ...
└── {repo-slug}-xhs-{YYYYMMDD}-v{N}.tar.gz  # Final package

HTML Output Features

The generated xiaohongshu-post.html includes multiple visual style templates:

Available Style Themes

ThemeBest ForColorsAesthetic
Notion (Default)Technical docs, toolsOff-white, gray, subtle accentsClean, minimal, grid background
CyberpunkAI tools, dev projectsDark bg, neon cyan/pink/purpleGlowing, futuristic, high contrast
WarmTutorials, educationCream, earth tones, warm accentsHand-drawn, friendly, organic
Dark ProEnterprise, SaaSNavy/black, gold/amber accentsPremium, sleek, glassmorphism
Bold PopVisual productsSolid vibrant colors, high contrastEye-catching, minimal text

CSS Features (All Themes)

  • 5 responsive cards (375×500px each)
  • Custom background patterns per theme
  • Animated accents (where appropriate)
  • Comparison tables with theme-appropriate styling
  • Code blocks with syntax highlighting
  • Mobile-first design

Image Generation Prompts

Each prompt file includes:

  • Canvas specifications (375×500px)
  • Visual style (see Available Style Themes above)
  • Content layout
  • Color palette specific to theme
  • Typography notes

Examples

Example 1: Tool/Library

User: /github-to-xhs https://github.com/mvanhorn/last30days-skill

Output: 5-card XHS post about multi-source research tool
- P1: Cover with 10 platform logos
- P2: 4 core features
- P3: Algorithm pie chart
- P4: Manual vs Auto comparison
- P5: Install commands

Example 2: Framework

User: /github-to-xhs https://github.com/vercel/next.js

Output: Technical introduction with:
- Key features highlight
- Performance metrics
- Code examples
- Getting started guide

File Naming Standards

When delivering files to users, always use the following format:

Archive File: {repo-slug}-xhs-{YYYYMMDD}-v{N}.tar.gz

  • repo-slug: Repository name (e.g., hermes-agent)
  • YYYYMMDD: Current date (e.g., 20250413)
  • v{N}: Version number starting from v1 (e.g., v2 for revisions)

Example: hermes-agent-xhs-20250413-v2.tar.gz

Delivery Message Template

When sending the file, include:

  1. Filename with date and version
  2. Brief description of contents
  3. Usage instructions
文件名: {repo-slug}-xhs-{YYYYMMDD}-v{N}.tar.gz
日期: {YYYY-MM-DD}
版本: v{N}

包含:
- xiaohongshu-post.html - 5页卡片
- xiaohongshu-article.md - 正文文案
- prompts/ - AI绘图提示词

Tips

  • Title limit: Keep titles under 20 characters (XHS display limit)
  • Style selection guide:

- Use A (Story-Driven) for: personal projects, beginner tutorials, emotional connection - Use B (Information-Dense) for: technical tools, libraries, frameworks - Use C (Visual-First) for: visual products, demos, screenshot-heavy content - Use D (Cyberpunk) for: AI tools, dev tools, futuristic/tech projects - Use E (Hand-drawn) for: education, tutorials, friendly/approachable tools - Use F (Dark Pro) for: enterprise SaaS, business tools, premium products

  • Always check if user has preferences for style/layout
  • The HTML output can be screenshot for XHS posting
  • Mix and match: You can combine elements from different styles

平台分布

OpenClaw

78.77%
按下载量换算1,318

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills