From copeee-skills
GitHub Knowledge Base - Unified tool for managing local repos, discovering trending projects, and tracking tech hot topics. Use when: (1) searching local GitHub repos, (2) updating repo index, (3) discovering new repos via social media (Xiaohongshu, Twitter/X) and web search, (4) researching topics on Xiaohongshu, (5) fetching Twitter/X post content. Triggers: "github-kb", "search repos", "discover repos", "xiaohongshu", "rednote", "twitter", "X post", "tweet"
How this skill is triggered — by the user, by Claude, or both
Slash command
/copeee-skills:github-kbThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Unified skill for local repo management + social media hot topic tracking.
Unified skill for local repo management + social media hot topic tracking.
KB_PATH: Default ~/github. Customize in project CLAUDE.md:
KB_PATH: /your/path
/github-kb search <keyword>Search local knowledge base.
KB_PATH/CLAUDE.md index/github-kb updateSync index with filesystem.
.git directoriesIndex format (keep under 100 lines):
# GitHub Knowledge Base
| Name | Description | Path | Tags |
|------|-------------|------|------|
| repo | One-line desc | ./repo | tag1, tag2 |
/github-kb discover <topic>Find trending repos from multiple sources.
Gather (parallel):
mcp__tavily__tavily-search query "<topic> github"Extract GitHub URLs from results
Enrich via gh repo view owner/repo --json name,description,stargazerCount
Present candidates with source attribution
Clone user-selected repos: gh repo clone owner/repo
Update index automatically
/github-kb xiaohongshu <keyword>Direct Xiaohongshu search. See references/xiaohongshu.md.
/github-kb twitter <url>Fetch Twitter/X content. See references/twitter.md.
| Source | Tool/Method |
|---|---|
| Local repos | gh CLI, filesystem |
| Xiaohongshu | mcp__rednote__* tools |
| Twitter/X | Jina API via scripts/fetch_tweet.py |
| Web search | mcp__tavily__tavily-search |
When solving problems, proactively search the knowledge base:
Trigger phrases (AI should recognize):
Workflow:
User asks question → Check KB index → Found relevant repo?
→ Yes: Read repo docs, provide answer with citation
→ No: Use discover to find repos, or fall back to web search
Example:
User: How do I use MCP tools in Claude?
AI: [Checks KB, finds mcp-servers repo]
Let me check your local knowledge base...
Found: mcp-servers in ~/github/mcp-servers
[Reads README.md and examples/]
Based on your local repo, here's how to use MCP tools...
Discover new tool:
/github-kb discover Claude MCP
→ [Searches Xiaohongshu, Tavily]
→ Found 3 repos, select to clone
→ Index updated
Research on Xiaohongshu:
/github-kb xiaohongshu Python数据分析
→ [Returns top notes with summaries]
Fetch tweet:
/github-kb twitter https://x.com/user/status/123
→ [Returns full tweet content]
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub copeeetang/copeee-skills --plugin copeee-skills