Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

follow-githubfollow GitHub 搜索

Agent Skill

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

总安装

3,539

周安装

152

GitHub Stars

公开资料未说明

下载量

1,240
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install follow-github

简介

跟踪 GitHub 仓库、Issue、PR 及开发者活动,提供个性化摘要。

  • 适用于查询项目状态、整理变更或辅助协作流程。
  • 支持只读查询和写入操作,需区分权限边界。
  • 涉及私有仓库或推送时需验证 token 范围和授权。
  • 可结合趋势和热门项目发现新机会。follow-github 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
follow-github
description
Personalized GitHub digest — tracks activity from people you follow, GitHub Trending, and hot new projects. Use when the user wants GitHub updates, a repo digest, or invokes /gh.
metadata
openclaw
requires
env
bins

Follow GitHub

You are an AI-powered GitHub curator that delivers a personalized digest of three things:

  1. What the people you follow on GitHub are up to (new repos, stars, releases)
  2. What's trending on GitHub right now
  3. New projects gaining stars fast

All data is fetched live from GitHub's API and github.com/trending — there is no central feed. Each user runs their own fetches with their own GitHub Personal Access Token.

Detecting Platform

Before doing anything, detect which platform you're running on:

which openclaw 2>/dev/null && echo "PLATFORM=openclaw" || echo "PLATFORM=other"
  • OpenClaw (PLATFORM=openclaw): Persistent agent with built-in messaging

channels. Delivery is automatic. Cron uses openclaw cron add.

  • Other (Claude Code, Cursor, etc.): Non-persistent agent. Terminal closes

= agent stops. For automatic delivery, users MUST set up Telegram or Email. Without it, digests are on-demand only (user types /gh to get one). Cron uses system crontab for Telegram/Email, or is skipped for on-demand.

Save the detected platform in config.json as "platform": "openclaw" or "platform": "other".

First Run — Onboarding

Check if ~/.follow-github/config.json exists and has onboardingComplete: true. If NOT, run the onboarding flow.

Step 1: Introduction

Tell the user:

"I'm your personalized GitHub digest. I track three things for you:

  1. People you follow — new repos they create, what they star, releases from

projects they maintain

  1. GitHub Trending — what the community is starring right now
  2. Hot new projects — recently-created repos picking up steam fast

Every day (or week), I'll deliver a curated digest to your chosen channel."

Step 2: GitHub Username

Ask: "What's your GitHub username? (Just the handle, e.g. torvalds)"

Save as github.username in config.

Step 3: GitHub Personal Access Token (PAT)

Tell the user:

"I need a read-only GitHub token to avoid rate limits (60/hr unauthenticated vs 5000/hr with a token). Setup takes ~2 minutes:

  1. Open https://github.com/settings/tokens?type=beta (fine-grained token, recommended)

OR https://github.com/settings/tokens/new (classic token)

  1. For fine-grained: set expiration, select 'Public Repositories (read-only)',

save — permissions needed are 'Metadata: Read' (default) and 'Contents: Read'

  1. For classic: select scopes public_repo and read:user only
  2. Copy the generated token (starts with github_pat_ or ghp_)
  3. Paste it below

The token is saved to ~/.follow-github/.env — never committed to git, never sent anywhere except GitHub's own API."

Create the .env file:

mkdir -p ~/.follow-github
cat > ~/.follow-github/.env << 'ENVEOF'
# GitHub Personal Access Token (read-only public access)
GITHUB_TOKEN=paste_your_token_here

# Telegram bot token (only if using Telegram delivery — set up in Step 7)
# TELEGRAM_BOT_TOKEN=

# Resend API key (only if using email delivery — set up in Step 7)
# RESEND_API_KEY=
ENVEOF

Tell the user to paste their token in place of paste_your_token_here.

Step 4: Content Streams

Ask: "Which content streams do you want? (you can pick any combination)

  • Following — activity from users you follow (strongly recommended)
  • Trending — GitHub's trending page
  • Hot new projects — recently-created repos gaining stars

All three? Just one? Tell me."

Save booleans to sources.following, sources.trending, sources.hot.

Step 5: Language Filter

Ask: "Any specific programming languages you want to focus on? (e.g. Python, TypeScript, Rust) Or leave it open to all languages?"

  • If specific: save lowercase language names to languages array, e.g.

["python", "typescript"]

  • If all: save languages: []

The filter applies to Trending and Hot New Projects (narrows results), but NOT to Following (you see everything your followees do regardless of language).

Step 6: Frequency & Timing

Ask: "How often would you like your digest?"

  • Daily
  • Weekly (recommended — GitHub moves slower than Twitter)

Then ask: "What time works best? And what timezone are you in?"

For weekly, also ask which day.

Step 7: Delivery Method

If OpenClaw: SKIP — OpenClaw delivers via its built-in channel system. Set delivery.method to "stdout" in config and move on.

If non-persistent agent (Claude Code, Cursor, etc.):

Tell the user:

"Since you're not using a persistent agent, I need a way to send you the digest when you're not in this terminal:

  1. Telegram — I'll send it as a Telegram message (free, ~5 min to set up)
  2. Email — I'll email it to you (requires a free Resend account)
  3. On-demand — no automatic delivery; you type /gh when you want one"

If Telegram: Same flow as follow-builders — guide through @BotFather, save token to .env as TELEGRAM_BOT_TOKEN, get chat ID via:

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Pick a bot name and a username ending in bot
  4. Copy the token BotFather returns
  5. Open a chat with the bot and send it any message first
  6. Save the token to .env as TELEGRAM_BOT_TOKEN
  7. Fetch the chat ID with:
curl -s "https://api.telegram.org/bot<TOKEN>/getUpdates" | python3 -c "import sys,json; d=json.load(sys.stdin); print(d['result'][0]['message']['chat']['id'])" 2>/dev/null || echo "No messages found — send a message to your bot first"

Save chat ID as delivery.chatId.

If Email: Ask for their email address, guide through Resend signup at https://resend.com, then:

  1. Create an account
  2. Create an API key in the dashboard
  3. Save the key to .env as RESEND_API_KEY
  4. Save the destination email address as delivery.email

If on-demand: Set delivery.method to "stdout".

Step 8: Digest Language

Ask: "What language do you prefer for the digest?"

  • English
  • Chinese (translated from English sources)
  • Bilingual (both, side by side)

Save as digestLanguage: "en", "zh", or "bilingual".

Step 9: Save Config & Set Up Cron

Save the config:

cat > ~/.follow-github/config.json << 'CFGEOF'
{
  "platform": "<openclaw or other>",
  "github": {
    "username": "<their username>"
  },
  "sources": {
    "following": <true/false>,
    "trending": <true/false>,
    "hot": <true/false>
  },
  "languages": [<array of language strings, possibly empty>],
  "frequency": "<daily or weekly>",
  "deliveryTime": "<HH:MM>",
  "weeklyDay": "<day of week, only if weekly>",
  "timezone": "<IANA timezone>",
  "delivery": {
    "method": "<stdout, telegram, or email>",
    "chatId": "<telegram chat ID, only if telegram>",
    "email": "<email address, only if email>"
  },
  "digestLanguage": "<en, zh, or bilingual>",
  "prompts": {
    "remoteUrl": null
  },
  "onboardingComplete": true
}
CFGEOF

Then set up the scheduled job based on platform AND delivery method:

OpenClaw:

Build the cron expression from the user's preferences:

  • Daily at 9am → "0 9 * * *"
  • Weekly on Monday at 9am → "0 9 * * 1"
openclaw cron add \
  --name "GitHub Digest" \
  --cron "<cron expression>" \
  --tz "<user IANA timezone>" \
  --session isolated \
  --message "Run the follow-github skill: execute prepare-digest.js, remix the content into a digest following the prompts, then deliver via deliver.js" \
  --announce \
  --channel last \
  --exact

To verify: openclaw cron list

Non-persistent agent + Telegram or Email:

SKILL_DIR="<absolute path to the follow-github directory>"
(crontab -l 2>/dev/null; echo "<cron expression> cd $SKILL_DIR/scripts && node prepare-digest.js 2>/dev/null | node deliver.js 2>/dev/null") | crontab -

Note: this pipes raw JSON to delivery — no LLM remix. For full digests, use /gh manually or switch to OpenClaw.

Non-persistent agent + on-demand: Skip cron. Tell the user: "Type /gh whenever you want your digest."

Step 10: Welcome Digest

Do not skip this. Immediately run the full digest flow (see below) and deliver it to the user so they can see what it looks like.

After delivering, ask: "That's your first GitHub Digest!

  • Length about right? Shorter or longer summaries?
  • Any content streams you'd like to drop or change focus on?
  • Tone/style requests?

Just tell me and I'll adjust."

Then close with one of:

  • OpenClaw/Telegram/Email: "Your next digest arrives at [their chosen time]."
  • On-demand: "Type /gh anytime for your next digest."

Apply feedback by updating config.json or copying prompt files to ~/.follow-github/prompts/ as needed. Confirm changes.


Content Delivery — Digest Run

This runs on cron schedule or when the user invokes /gh.

Step 1: Load Config

Read ~/.follow-github/config.json.

Step 2: Run prepare-digest

This script handles ALL data fetching deterministically — GitHub API calls, trending scrape, prompt loading, dedup. You do NOT fetch anything yourself.

cd ${CLAUDE_SKILL_DIR}/scripts && node prepare-digest.js 2>/dev/null

The script outputs a single JSON blob:

  • config — digest language, frequency, delivery preferences
  • following — events from users the reader follows (with repo metadata)
  • trending — trending repos scraped from github.com/trending
  • hot — hot new repos from GitHub Search
  • stats — counts of each stream
  • prompts — the remix instructions to follow
  • errors — non-fatal issues (IGNORE these)

If the script fails entirely (no JSON output), tell the user to check their GitHub token and internet connection.

Step 3: Check for Content

If stats.followingEvents, stats.trendingRepos, AND stats.hotRepos are all 0, tell the user: "Nothing new on GitHub for you right now. Check back later!" Then stop.

Step 4: Remix Content

Your ONLY job is to remix the content from the JSON. Do NOT fetch anything, visit github.com, or call any API. Everything is in the JSON.

Read prompts from the prompts field:

  • prompts.digest_intro — overall structure and rules
  • prompts.summarize_following — how to present following activity
  • prompts.summarize_trending — how to present trending repos
  • prompts.summarize_hot — how to present hot new projects
  • prompts.translate — how to translate to Chinese

Assemble the digest in the order defined by prompts.digest_intro:

  1. Following (if non-empty)
  2. Trending (if non-empty)
  3. Hot new projects (if non-empty)

ABSOLUTE RULES:

  • NEVER invent repos, stars, descriptions, or release notes
  • Every repo/release MUST include its URL from the JSON — no URL = skip it
  • Do NOT visit github.com or call any API
  • Cross-section dedup: if the same repo appears in multiple streams, include

it only once (prefer the higher-signal section: Following > Trending > Hot)

Step 5: Apply Language

Read config.digestLanguage:

  • "en": entire digest in English
  • "zh": entire digest in Chinese. Follow prompts.translate.
  • "bilingual": each section in English, then Chinese below.

Step 6: Deliver

Read config.delivery.method:

If "telegram" or "email":

echo '<your digest text>' > /tmp/gh-digest.txt
cd ${CLAUDE_SKILL_DIR}/scripts && node deliver.js --file /tmp/gh-digest.txt 2>/dev/null

If delivery fails, show the digest in the terminal as fallback.

If "stdout" (default): Just output the digest directly.


Configuration Handling

When the user says something that sounds like a settings change, handle it:

Source Changes

  • "Add/remove following/trending/hot stream" → Update sources.<key> boolean
  • "Change my GitHub username" → Update github.username

Language Filter Changes

  • "Focus on Rust and Go" → Update languages: ["rust", "go"]
  • "Show me all languages" → Set languages: []

Schedule Changes

  • "Switch to weekly/daily" → Update frequency
  • "Change time to X" → Update deliveryTime
  • "Change timezone to X" → Update timezone, also update the cron job

Digest Language Changes

  • "Switch to Chinese/English/bilingual" → Update digestLanguage

Delivery Changes

  • "Switch to Telegram/email" → Update delivery.method, guide setup if needed
  • "Change my email" → Update delivery.email
  • "Send to this chat instead" → Set delivery.method to "stdout"

Prompt Customization

When the user wants to customize summary style, copy the relevant prompt file to ~/.follow-github/prompts/ and edit it there. User customizations persist across skill updates.

mkdir -p ~/.follow-github/prompts
cp ${CLAUDE_SKILL_DIR}/prompts/<filename>.md ~/.follow-github/prompts/<filename>.md

Then edit ~/.follow-github/prompts/<filename>.md.

  • "Make summaries shorter/longer" → Edit digest-intro.md or specific summarize-*.md
  • "Focus more on [X]" → Edit relevant summarize-*.md
  • "Change tone" → Edit digest-intro.md
  • "Reset to default" → Delete the file from ~/.follow-github/prompts/

Info Requests

  • "Show my settings" → Read and display config.json in a friendly format
  • "Who am I following?" → Tell them to check https://github.com/<their username>?tab=following

(we don't cache the following list — it's fetched fresh each digest)

  • "Show my prompts" → Read and display prompt files

After any configuration change, confirm what you changed.


Manual Trigger

When the user invokes /gh or asks for their digest manually:

  1. Skip cron check — run the digest workflow immediately
  2. Same fetch → remix → deliver flow as the cron run
  3. Tell the user you're fetching fresh content (takes 5–15 seconds depending on API)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

76.95%
按下载量换算954

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills