GitHub Star Manager
Introduction
A synchronization tool focused on update tracking for GitHub Star projects. It automatically detects whether your starred projects have new versions, new Releases, or important Commit changes, and generates structured update reports.
Core Features: Provides HTML visual Dashboard for quick browsing of all Star projects.
When to Use
This skill is triggered in the following scenarios:
- Users need to automatically discover and star GitHub projects from content
- Users need to track updates of GitHub Star projects
- Users need to monitor version releases of dependent libraries
- Users need to view project activity and health
- Users need to manage a large number of starred repositories
- Users need to quickly browse and filter Star projects
- Users need to generate visual reports for projects
Module Description
This skill includes two modules:
| Module | Trigger Method | Function |
|---|
| Conversation Module | Conversation trigger | Extract projects from content and star them |
| Script Module | Command line/scheduled task | Synchronization, Dashboard, tracking, batch management |
Core Functions
1. Conversation Module: Automatic Discovery and Starring
Automatically extract GitHub repository references from various content sources and star them on your GitHub account.
Supported trigger methods:
- "Analyze this article and star the projects in it"
- "Find GitHub projects from this screenshot and star them"
- "Star all GitHub projects mentioned in [content]"
Workflow:
-
Content Extraction and Context Analysis
- Text/URL: Use WebFetch to get article content and parse GitHub URLs
- Screenshot/image: Use image analysis MCP to extract text and identify project references
-
Repository Discovery and Intelligent Matching
- Direct matching: Complete GitHub URLs found in the content
- Search by name: Use when only the project name is available
- Context relevance verification: Check whether topics, description, and technology stack match
-
Check if already starred
bash
gh api user/starred/owner/repo 2>/dev/null
-
Star the repository
-
Generate report
- List of newly starred repositories
- Already starred repositories (skipped)
- Repositories requiring manual confirmation
2. Update Tracking
- Version detection: Detect new Releases and Tags of projects
- Activity monitoring: Track recent Commit activity
- Change summary: Use AI to summarize version change content
4. Intelligent Analysis
- Project summary: Automatically generate description of core functions of the project
- Value assessment: Analyze the matching degree of the project with your areas of interest (high/medium/low)
- Health indicators: Project maintenance status, Stars growth trend
5. HTML Visual Dashboard
- Information-dense cards: Display more projects on one screen
- Color-coded status: Active/recently updated/not updated for a long time at a glance
- Filter and search: Filter by status, value, keywords
- Expand details: Click the card to view more information
Dependencies
System Dependencies
| Dependency | Installation Method |
|---|
| Python 3.8+ | macOS: <br>Linux: sudo apt-get install python3
|
Python Packages
| Package Name | Purpose | Installation Command |
|---|
| HTTP requests, call GitHub API | |
| Load configuration from .env file | pip install python-dotenv
|
| AI summary generation (optional) | |
Dependency Package File
bash
pip install -r assets/requirements.txt
Usage
1. Environment Preparation
Method 1: Use .env configuration file (recommended)
bash
# 1. Copy the sample configuration file
cp .env.example .env
# 2. Edit the .env file and fill in your API keys
# GITHUB_PAT=ghp_xxxxxxxxxxxxxxxxx
# OPENAI_API_KEY=sk-xxxxxxxxxxxx
# 3. Install dependencies
pip install -r requirements.txt
Method 2: Environment Variables
bash
# Set environment variables directly
export GITHUB_PAT="your_github_pat_token"
export OPENAI_API_KEY="your_openai_api_key"
How to Get GitHub PAT
- Visit https://github.com/settings/tokens
- Click "Generate new token (classic)"
- Select permissions:
- (access public repositories)
- If you need to access private Stars, check
- Copy the token after generation (it will only be displayed once!)
Token Role:
- No Token: 60 requests/hour limit
- With Token: 5000 requests/hour limit
2. Start Dashboard (recommended)
bash
# Export data and open Dashboard
python scripts/main.py --export --user your_username && open dashboard.html
First use instructions: If
does not exist, the system will automatically copy a copy from
assets/dashboard.example.html
.
Dashboard functions:
- 📊 Overview: Total number of projects, active projects this week, number of new versions
- 🔍 Filter: Filter by status (active/recently updated/not updated for a long time), value (high/medium)
- 🔎 Search: Search by project name, description, tags
- 📦 Card: Display project name, description, language, tags, Stars, update time, value assessment
- 🖱️ Click the card: Expand detailed information (creation time, Forks, Issues, collection reason)
- 🔗 Quick jump: Click the GitHub icon to go directly to the project
3. First synchronization (establish baseline)
bash
python scripts/main.py --init --user your_username --limit 50
The first run will save a snapshot of all Stars as a baseline for subsequent comparisons.
4. Check for updates
bash
python scripts/main.py --check --user your_username
Compare with the last snapshot and generate an update report.
5. Generate full report
bash
python scripts/main.py --report --user your_username --days 7
Generate a full report including project summary and update status.
6. Run regularly (recommended)
bash
# Check once a week
python scripts/main.py --check --user your_username --weekly
Configuration and Customization
Configuration File
This skill uses the following configuration files:
| File | Purpose |
|---|
| Category definition and keyword rules |
| Tag management and alias configuration |
| Environment variable template |
When running for the first time, the configuration files will be automatically copied to the
directory.
Applicable Scenarios
- Developers: Timely understand version updates of dependent libraries
- Technology enthusiasts: Track the latest trends in the AI/open source field
- Project managers: Monitor the progress of competitors or related projects
Differences from Other Skills
| Function | github-star-manager | repo-research |
|---|
| Focus | Star project discovery + management + tracking | In-depth research on a single repository |
| Output | Dashboard + change summary | Architecture analysis, code interpretation |
| Purpose | Daily subscription updates | One-time in-depth research |
Reference Documents
- SKILL-GUIDE.md - Skill development guide
- AGENTS.md - Project collaboration specifications