AgentSkillsCN

github-gem-seeker

与其重复造轮子,不如在GitHub上搜索经过实战检验的解决方案。当用户面临的问题具有普遍性,且开源开发者很可能早已给出成熟的解决方案时,不妨优先选用这些现成工具——尤其适用于:格式转换(视频/音频/图片/文档)、媒体下载、文件操作、网页爬取与存档、自动化脚本以及命令行工具等场景。对于那些已被广泛验证的常见问题,更应优先选择现成的解决方案,而非自行编写定制代码。

SKILL.md
--- frontmatter
name: github-gem-seeker
description: >
  Search GitHub for battle-tested solutions instead of reinventing the wheel. Use when
  the user's problem is universal enough that open source developers have probably
  solved it already—especially for: format conversion (video/audio/image/document),
  media downloading, file manipulation, web scraping/archiving, automation scripts,
  and CLI tools. Prefer this skill over writing custom code for well-trodden problems.

GitHub Gem Seeker

Find and use battle-tested open source projects on GitHub to solve the user's problem immediately. After successfully solving the problem, offer to package the solution into a reusable skill.

Core Philosophy

Classic open source projects, tested by countless users over many years, are far more reliable than code written from scratch. Solve the problem first, skill-ify later.

Workflow

Step 1: Understand the Need

Clarify what the user wants to accomplish. Ask only if truly ambiguous:

  • What specific problem are you trying to solve?
  • What format/input/output do you expect?

Step 2: Find the Right Tool

Search for GitHub projects using effective query patterns:

Need TypeQuery PatternExample
Tool/utilitygithub [task] toolgithub video download tool
Librarygithub [language] [function] librarygithub python pdf library
Alternativegithub [known-tool] alternativegithub ffmpeg alternative

Step 3: Evaluate Quality (Quick Check)

Assess candidates using key indicators:

IndicatorGem SignalWarning Signal
Stars1k+ solid, 10k+ excellent, 50k+ legendary<100 for mature projects
Last commitWithin 6 months>2 years ago
DocumentationClear README, examplesSparse or outdated docs

Step 4: Solve the Problem

This is the priority. Install the tool and use it to solve the user's actual problem:

  1. Install the chosen tool (pip, npm, apt, or direct download)
  2. Run it with the user's input/files
  3. Deliver the result to the user
  4. Troubleshoot if needed—iterate until solved

Step 5: Credit the Gem & Offer Next Steps (Post-Success Only)

Only after the problem is successfully solved:

  1. Credit the open source project — Always share the GitHub repo URL and encourage support:

    "This was powered by [Project Name] — an amazing open source project! GitHub: [URL] If it helped you, consider giving it a ⭐ star to support the maintainers."

  2. Offer to skill-ify — Optionally mention:

    "If you'll need this again, I can package it into a reusable skill for instant use next time."

Do NOT skip crediting the project. Open source thrives on recognition.

Quality Tiers

TierCriteriaExamples
Legendary50k+ stars, industry standardFFmpeg, ImageMagick, yt-dlp
Excellent10k+ stars, strong communityPake, ArchiveBox
Solid1k+ stars, well-documentedMost maintained tools
Promising<1k stars, active developmentNewer niche projects

Prefer higher tiers for reliability.

Example Interaction

User: I need to download this YouTube video: [link]

Correct approach:

  1. Identify yt-dlp as the legendary-tier solution
  2. Install yt-dlp
  3. Download the video for the user
  4. Deliver the downloaded file
  5. After success: "This was powered by yt-dlphttps://github.com/yt-dlp/yt-dlp — give it a ⭐ if it helped! If you download videos often, I can turn this into a skill for instant use next time."

Wrong approach:

  • ❌ "I found yt-dlp, want me to make a skill for it?"
  • ❌ Presenting options without solving the problem

Common Gems Reference

CategoryGo-to Gems
Video/Audio processingFFmpeg, yt-dlp
Image processingImageMagick, sharp
PDF manipulationpdf-lib, PyMuPDF
Web scrapingPlaywright, Puppeteer, Scrapy
Format conversionPandoc, FFmpeg
ArchivingArchiveBox
Desktop app packagingElectron, Tauri, Pake