GitHub Repository Signals
Extract high-intent leads from one or more GitHub repositories by analyzing every type of user interaction. This skill uses only free GitHub API data — no enrichment credits are spent.
When to Use
- User wants to find leads from open-source GitHub repositories
- User wants to identify people who interact with competitor or category repos
- User wants cross-repo interaction analysis to find high-intent prospects
- User asks for GitHub-based lead generation without paid enrichment
- User says their ICP, target audience, or buyers are developers, engineers, or technical people who are active on GitHub
- User describes prospects who use open-source tools, contribute to open source, or build with specific technologies — and those technologies have public GitHub repos
- User wants to find leads in a technical space (e.g., "real-time communication", "AI agents", "infrastructure") where the community congregates around GitHub repositories
Note: If the user describes their ICP as GitHub-active but hasn't identified specific repositories yet, this skill still applies. In that case, ask the user which repositories their ICP is likely to interact with, or help them identify relevant repos based on the technology/space they describe.
Prerequisites
gh CLI authenticated (gh auth status to verify)
- Python 3.9+ with
PyYAML installed
- Working directory: the project root containing this skill
Inputs to Collect from User
Before running, ask the user for:
- Repositories (required): One or more GitHub repository URLs or
owner/repo strings
- User limit (required): How many top users to include in the output. Explain that more users = longer runtime due to GitHub profile fetching (~5,000 profiles/hour). Suggest 500 as a good starting point for testing.
Execution Steps
Step 1: Verify Environment
gh auth status
Step 2: Run the Tool
python3 ${CLAUDE_SKILL_DIR}/scripts/gh_repo_signals.py \
--repos "owner1/repo1,owner2/repo2" \
--limit <USER_LIMIT> \
--output ${CLAUDE_SKILL_DIR}/../.tmp/repo_signals.csv
Replace the repos and limit with user-provided values.
The tool will:
- Extract all interaction types per repo (stars, forks, contributors, issues, PRs, comments, watchers, commit emails)
- Filter out bots and org members automatically (fetches org member lists and detects org email domains)
- Score each user by interaction depth using these weights:
- Issue opener: 5 points
- PR author: 5 points
- Contributor: 4 points
- Issue commenter: 3 points
- Forker: 3 points
- Watcher: 2 points
- Stargazer: 1 point
- Rank users by (repos_interacted desc, total_score desc) — multi-repo users surface first
- Fetch GitHub profiles for the top N users (name, email, company, location, blog, twitter, bio, followers)
- Export two CSV files:
_users.csv and _interactions.csv
Step 3: Review Output
The tool produces two CSV files:
repo_signals_users.csv — One row per person, deduplicated across all repos
| Column |
Description |
| username |
GitHub login |
| name |
Display name |
| email |
Public GitHub email |
| commit_email |
Email from git commits (if different from public) |
| company |
Company from GitHub profile |
| location |
Location from GitHub profile |
| blog |
Website/blog URL |
| twitter |
Twitter/X handle |
| bio |
GitHub bio |
| followers |
Follower count |
| public_repos |
Number of public repos |
| total_repos_interacted |
Number of input repos this user interacted with |
| interaction_score |
Weighted score across all repos |
repo_signals_interactions.csv — One row per user x repo combination
| Column |
Description |
| username |
GitHub login |
| repository |
Which repo this row is about |
| is_contributor |
YES/NO |
| is_stargazer |
YES/NO |
| is_forker |
YES/NO |
| is_watcher |
YES/NO |
| is_issue_opener |
YES/NO |
| is_pr_author |
YES/NO |
| is_issue_commenter |
YES/NO |
| contribution_count |
Number of commits (0 if not contributor) |
| starred_at |
Date starred (if applicable) |
| forked_at |
Date forked (if applicable) |
| repo_score |
Interaction score for this specific repo |
Phase 3: Analyze & Recommend
Once the CSV files are generated, do not stop. Immediately proceed to analyze the data and brief the user.
Step 5: Collect Company Context
Check if you already know the user's company and intent from prior conversation. If not, ask:
"Before I analyze these results, I need to understand who you're finding leads for:
- What does your company/product do? (one-liner is fine)
- Who is your ideal customer? (role, company size, industry, tech stack — whatever is relevant)
- What's the goal for these leads? (outbound sales, partnership, hiring, community building, etc.)"
Do NOT proceed to analysis until you have this context. It directly shapes the recommendations.
Step 6: Analyze the Data
Read the generated .csv file and compute the following analysis. Present it to the user as a structured briefing.
6a. Overall Stats
- Total users in the sheet
- Score distribution (how many at 15+, 10-14, below 10)
- Email coverage: how many have any email (public or commit)
- Company coverage: how many have a company listed
6b. Multi-Repo Users (if multiple repos were scanned)
- How many users interacted with 2+ repos
- List the top 10 multi-repo users with their names, companies, and which repos they touched
- This is the highest-signal segment — call it out explicitly
6c. Top Companies
- Extract all company names from the Users sheet
- Group users by company (normalize company names — strip @, leading/trailing whitespace, lowercase comparison)
- List the top 15 companies by number of engaged users
- For each, note how many users, their average score, and which interaction types are most common
- Flag companies with 3+ engaged users as "organizational adoption signals"
6d. Interaction Patterns
- How many users are issue openers (highest intent)
- How many are PR authors (deep practitioners)
- How many are stargazer-only (lowest signal)
- Any notable patterns (e.g., a burst of recent stars, many forkers from one company)
6e. Data Gaps
- What percentage lack email — this determines enrichment priority
- What percentage lack company — affects ability to do company-level targeting
- How many have a blog/website or twitter that could help with manual research
Step 7: Recommend Next Steps
Based on the analysis AND the user's company context/intent, recommend specific next steps. Tailor recommendations to what the data actually shows — do not give generic advice.
Framework for recommendations:
If multi-repo users exist (2+ repos):
- These are the #1 priority segment. Recommend enriching them first.
- Estimate credit cost: N users x cost per enrichment call.
If company clusters exist (3+ users from same company):
- Recommend company-level enrichment via SixtyFour
/enrich-company
- Then use
/enrich-lead to find the decision-maker at those companies (not the developer who starred — the person who signs off on purchases)
- This is the "find the buyer, not the user" play
If high email coverage (>40%):
- Can start outreach directly for users with emails
- Recommend SixtyFour
/qa-agent to qualify them against ICP before reaching out
- Suggest segmenting by interaction type for personalized outreach (issue openers get a different message than stargazers)
If low email coverage (<40%):
- Recommend SixtyFour
/find-email for the top-scored users first
- Estimate cost: N users x $0.05 (professional) or $0.20 (personal)
- Suggest starting with a small batch (50-100) to validate quality before scaling
If the user's goal is outbound sales:
- Prioritize: company clusters -> multi-repo users -> issue openers -> PR authors -> forkers -> stargazers
- Recommend enriching companies first, then finding decision-makers
- Suggest personalization angles based on interaction type (e.g., "I noticed your team has been active in the [repo] community...")
If the user's goal is community/partnerships:
- Prioritize: PR authors -> contributors -> issue commenters who help others
- These are potential advocates, not just buyers
Always include a cost estimate:
- Break down what each enrichment step would cost
- Suggest a phased approach: start small, validate, then scale
Format the recommendation as a clear action plan with numbered steps, estimated costs, and expected outcomes.
Step 8: Ask for Go-Ahead
After presenting the analysis and recommendations, ask:
"Would you like me to proceed with any of these steps? I can start with [recommended first action] — it would cost approximately [estimate] and take [time estimate]."
Wait for user confirmation before spending any credits or running enrichment tools.
Output Interpretation Reference
- total_repos_interacted > 1: High-intent signal — user engages with multiple repos in the same category
- interaction_score >= 15: Deep engagement — multiple interaction types
- is_issue_opener = YES: Active user with real use case and pain points
- is_pr_author = YES (non-org member): Technical practitioner invested in the ecosystem
- is_forker = YES: Taking code to build something — stronger than starring
- is_stargazer only: Lowest signal — casual interest
Rate Limits & Runtime Estimates
- GitHub API: 5,000 requests/hour for authenticated users
- Each repo extraction uses ~500-2,000 API calls depending on repo size
- Profile fetching: 1 API call per user
- Estimate for 1 repo, 500 users: ~15-30 minutes
- Estimate for 3 repos, 500 users: ~45-90 minutes
1---2name: github-repo-signals3description: Extract and score leads from GitHub repositories by analyzing stars, forks, issues, PRs, comments, and contributions. Produces unified multi-repo CSV with deduplicated user profiles. No paid API credits required.4---5
6# GitHub Repository Signals
7
8Extract high-intent leads from one or more GitHub repositories by analyzing every type of user interaction. This skill uses only free GitHub API data — no enrichment credits are spent.
9
10## When to Use
11
12- User wants to find leads from open-source GitHub repositories
13- User wants to identify people who interact with competitor or category repos
14- User wants cross-repo interaction analysis to find high-intent prospects
15- User asks for GitHub-based lead generation without paid enrichment
16- User says their ICP, target audience, or buyers are developers, engineers, or technical people who are active on GitHub
17- User describes prospects who use open-source tools, contribute to open source, or build with specific technologies — and those technologies have public GitHub repos
18- User wants to find leads in a technical space (e.g., "real-time communication", "AI agents", "infrastructure") where the community congregates around GitHub repositories
19
20**Note:** If the user describes their ICP as GitHub-active but hasn't identified specific repositories yet, this skill still applies. In that case, ask the user which repositories their ICP is likely to interact with, or help them identify relevant repos based on the technology/space they describe.
21
22## Prerequisites
23
24- `gh` CLI authenticated (`gh auth status` to verify)
25- Python 3.9+ with `PyYAML` installed
26- Working directory: the project root containing this skill
27
28## Inputs to Collect from User
29
30Before running, ask the user for:
31
321. **Repositories** (required): One or more GitHub repository URLs or `owner/repo` strings
332. **User limit** (required): How many top users to include in the output. Explain that more users = longer runtime due to GitHub profile fetching (~5,000 profiles/hour). Suggest 500 as a good starting point for testing.
34
35## Execution Steps
36
37### Step 1: Verify Environment
38
39```bash
40gh auth status
41```
42
43### Step 2: Run the Tool
44
45```bash
46python3 ${CLAUDE_SKILL_DIR}/scripts/gh_repo_signals.py \
47 --repos "owner1/repo1,owner2/repo2" \
48 --limit <USER_LIMIT> \
49 --output ${CLAUDE_SKILL_DIR}/../.tmp/repo_signals.csv
50```
51
52Replace the repos and limit with user-provided values.
53
54The tool will:
551. **Extract** all interaction types per repo (stars, forks, contributors, issues, PRs, comments, watchers, commit emails)
562. **Filter out** bots and org members automatically (fetches org member lists and detects org email domains)
573. **Score** each user by interaction depth using these weights:
58 - Issue opener: 5 points
59 - PR author: 5 points
60 - Contributor: 4 points
61 - Issue commenter: 3 points
62 - Forker: 3 points
63 - Watcher: 2 points
64 - Stargazer: 1 point
654. **Rank** users by (repos_interacted desc, total_score desc) — multi-repo users surface first
665. **Fetch** GitHub profiles for the top N users (name, email, company, location, blog, twitter, bio, followers)
676. **Export** two CSV files: `_users.csv` and `_interactions.csv`
68
69### Step 3: Review Output
70
71The tool produces two CSV files:
72
73**`repo_signals_users.csv`** — One row per person, deduplicated across all repos
74| Column | Description |
75|--------|-------------|
76| username | GitHub login |
77| name | Display name |
78| email | Public GitHub email |
79| commit_email | Email from git commits (if different from public) |
80| company | Company from GitHub profile |
81| location | Location from GitHub profile |
82| blog | Website/blog URL |
83| twitter | Twitter/X handle |
84| bio | GitHub bio |
85| followers | Follower count |
86| public_repos | Number of public repos |
87| total_repos_interacted | Number of input repos this user interacted with |
88| interaction_score | Weighted score across all repos |
89
90**`repo_signals_interactions.csv`** — One row per user x repo combination
91| Column | Description |
92|--------|-------------|
93| username | GitHub login |
94| repository | Which repo this row is about |
95| is_contributor | YES/NO |
96| is_stargazer | YES/NO |
97| is_forker | YES/NO |
98| is_watcher | YES/NO |
99| is_issue_opener | YES/NO |
100| is_pr_author | YES/NO |
101| is_issue_commenter | YES/NO |
102| contribution_count | Number of commits (0 if not contributor) |
103| starred_at | Date starred (if applicable) |
104| forked_at | Date forked (if applicable) |
105| repo_score | Interaction score for this specific repo |
106
107## Phase 3: Analyze & Recommend
108
109Once the CSV files are generated, **do not stop**. Immediately proceed to analyze the data and brief the user.
110
111### Step 5: Collect Company Context
112
113Check if you already know the user's company and intent from prior conversation. If not, ask:
114
115> "Before I analyze these results, I need to understand who you're finding leads for:
116> 1. **What does your company/product do?** (one-liner is fine)
117> 2. **Who is your ideal customer?** (role, company size, industry, tech stack — whatever is relevant)
118> 3. **What's the goal for these leads?** (outbound sales, partnership, hiring, community building, etc.)"
119
120Do NOT proceed to analysis until you have this context. It directly shapes the recommendations.
121
122### Step 6: Analyze the Data
123
124Read the generated .csv file and compute the following analysis. Present it to the user as a structured briefing.
125
126**6a. Overall Stats**
127- Total users in the sheet
128- Score distribution (how many at 15+, 10-14, below 10)
129- Email coverage: how many have any email (public or commit)
130- Company coverage: how many have a company listed
131
132**6b. Multi-Repo Users (if multiple repos were scanned)**
133- How many users interacted with 2+ repos
134- List the top 10 multi-repo users with their names, companies, and which repos they touched
135- This is the highest-signal segment — call it out explicitly
136
137**6c. Top Companies**
138- Extract all company names from the Users sheet
139- Group users by company (normalize company names — strip @, leading/trailing whitespace, lowercase comparison)
140- List the top 15 companies by number of engaged users
141- For each, note how many users, their average score, and which interaction types are most common
142- Flag companies with 3+ engaged users as "organizational adoption signals"
143
144**6d. Interaction Patterns**
145- How many users are issue openers (highest intent)
146- How many are PR authors (deep practitioners)
147- How many are stargazer-only (lowest signal)
148- Any notable patterns (e.g., a burst of recent stars, many forkers from one company)
149
150**6e. Data Gaps**
151- What percentage lack email — this determines enrichment priority
152- What percentage lack company — affects ability to do company-level targeting
153- How many have a blog/website or twitter that could help with manual research
154
155### Step 7: Recommend Next Steps
156
157Based on the analysis AND the user's company context/intent, recommend specific next steps. Tailor recommendations to what the data actually shows — do not give generic advice.
158
159**Framework for recommendations:**
160
1611. **If multi-repo users exist (2+ repos):**
162 - These are the #1 priority segment. Recommend enriching them first.
163 - Estimate credit cost: N users x cost per enrichment call.
164
1652. **If company clusters exist (3+ users from same company):**
166 - Recommend company-level enrichment via SixtyFour `/enrich-company`
167 - Then use `/enrich-lead` to find the decision-maker at those companies (not the developer who starred — the person who signs off on purchases)
168 - This is the "find the buyer, not the user" play
169
1703. **If high email coverage (>40%):**
171 - Can start outreach directly for users with emails
172 - Recommend SixtyFour `/qa-agent` to qualify them against ICP before reaching out
173 - Suggest segmenting by interaction type for personalized outreach (issue openers get a different message than stargazers)
174
1754. **If low email coverage (<40%):**
176 - Recommend SixtyFour `/find-email` for the top-scored users first
177 - Estimate cost: N users x $0.05 (professional) or $0.20 (personal)
178 - Suggest starting with a small batch (50-100) to validate quality before scaling
179
1805. **If the user's goal is outbound sales:**
181 - Prioritize: company clusters -> multi-repo users -> issue openers -> PR authors -> forkers -> stargazers
182 - Recommend enriching companies first, then finding decision-makers
183 - Suggest personalization angles based on interaction type (e.g., "I noticed your team has been active in the [repo] community...")
184
1856. **If the user's goal is community/partnerships:**
186 - Prioritize: PR authors -> contributors -> issue commenters who help others
187 - These are potential advocates, not just buyers
188
1897. **Always include a cost estimate:**
190 - Break down what each enrichment step would cost
191 - Suggest a phased approach: start small, validate, then scale
192
193**Format the recommendation as a clear action plan with numbered steps, estimated costs, and expected outcomes.**
194
195### Step 8: Ask for Go-Ahead
196
197After presenting the analysis and recommendations, ask:
198
199> "Would you like me to proceed with any of these steps? I can start with [recommended first action] — it would cost approximately [estimate] and take [time estimate]."
200
201Wait for user confirmation before spending any credits or running enrichment tools.
202
203## Output Interpretation Reference
204
205- **total_repos_interacted > 1**: High-intent signal — user engages with multiple repos in the same category
206- **interaction_score >= 15**: Deep engagement — multiple interaction types
207- **is_issue_opener = YES**: Active user with real use case and pain points
208- **is_pr_author = YES (non-org member)**: Technical practitioner invested in the ecosystem
209- **is_forker = YES**: Taking code to build something — stronger than starring
210- **is_stargazer only**: Lowest signal — casual interest
211
212## Rate Limits & Runtime Estimates
213
214- GitHub API: 5,000 requests/hour for authenticated users
215- Each repo extraction uses ~500-2,000 API calls depending on repo size
216- Profile fetching: 1 API call per user
217- **Estimate for 1 repo, 500 users**: ~15-30 minutes
218- **Estimate for 3 repos, 500 users**: ~45-90 minutes