GitHub Stars Organizer
Organize a user's GitHub starred repositories by reusing existing lists, creating only a small number of broad missing lists, and adding unlisted repositories to the right places.
This skill is for organizing starred repositories, not for general GitHub account maintenance.
Default stance: be conservative, review-first, and additive. A bad list assignment is worse than leaving a repository unfiled for later review.
Required Tooling
- Preferred browser automation skill: chrome-cdp
- A compatible equivalent is acceptable only if it can:
- control an authenticated local browser session
- read the GitHub Stars page
- inspect repository list membership
- create lists
- add repositories to lists
If chrome-cdp or an equivalent browser automation skill is unavailable, stop and say that authenticated browser automation is required.
Remote Debugging Prerequisite
If Chrome remote debugging is not enabled yet, tell the user to do this first:
- Open
chrome://inspect/#remote-debugging
- Enable remote debugging / remote target discovery
- Make sure GitHub is logged in in that Chrome profile
- Confirm the local debugging endpoint is available, commonly
127.0.0.1:9222
- Approve any Chrome "Allow debugging" prompt for the GitHub tab if it appears
Do not proceed until browser automation can reach the GitHub tab.
Inputs
The user should provide at least one of:
- GitHub username
- GitHub profile URL
- GitHub Stars URL
Do not hardcode any specific account, repository, or list names.
Default Safety Rules
- Default to additive organization only
- Do not unstar repositories
- Do not remove repositories from lists
- Do not rename or delete lists
- If a repository is already in one or more lists, skip it by default
- Reuse existing lists before creating new ones
- Keep the final list system compact and reusable
- Prefer one primary list per repository
- Add a second list only when it clearly improves retrieval
- Add a third list only for genuine cross-domain repositories
- If confidence is not high, do not guess
- Report ambiguous repositories instead of forcing them into a weak category
If the user explicitly asks for reorganization that would modify existing assignments, ask for confirmation before changing any existing list membership.
Operating Modes
- Default mode: review-first
- analyze lists
- analyze unlisted repositories
- propose taxonomy and assignments
- stop for confirmation before writing if ambiguity is material
- Auto-apply mode
- only use when the user explicitly asks for direct execution
- still stop if ambiguity is high or list count would exceed the cap
If the user did not clearly ask for immediate writes, prefer the default review-first mode.
Primary Workflow
- Open the target user's Stars page in the authenticated GitHub browser session.
- Read all existing lists first and build a normalized map of:
- list name
- semantic meaning
- probable duplicates or near-duplicates
- Read all starred repositories.
Important:
- GitHub Stars pagination is cursor-based.
- Follow the
Next link/cursor.
- Do not assume
page=N is reliable.
- For each starred repository, inspect its list membership.
- Split repositories into:
- Only organize the unlisted repositories unless the user explicitly asks for broader reorganization.
- Build a taxonomy plan:
- strongly prefer existing suitable lists
- create missing lists only when they are broad and reusable
- avoid near-duplicate lists
- Classify each unlisted repository by primary intent, not by incidental words in the description.
- Assign a confidence level to each proposed placement:
- Keep the total number of lists ideally between 5 and 15.
- If the plan would require more than 15 total lists, stop and ask the user whether the extra lists may be created.
Include:
- the exact proposed new list names
- a short reason for each
- If ambiguity is material, stop and ask the user before writing.
Treat ambiguity as material when:
- more than 10 repositories are medium/low confidence, or
- more than 10% of unlisted repositories are medium/low confidence, or
- many repositories appear to require a new category not yet approved by the user
- Create any approved missing lists.
- Add each unlisted repository to the smallest reasonable number of lists.
Target:
- usually 1 list
- sometimes 2
- rarely 3
- Verify every repository after update by re-reading its current list membership.
- Report:
- lists reused
- lists created
- repositories added
- repositories skipped because they were already organized
- repositories intentionally left unassigned because confidence was too low
- ambiguities or repos that may need user judgment
Taxonomy Rules
- Prefer broad, stable themes over tiny one-off buckets
- New lists should usually represent a category that can hold multiple repositories
- Do not create a new list for fewer than 3 repositories unless the user explicitly wants that category
- Prefer single-responsibility list names
- Do not use compound list titles with
&, /, or other bundled meanings unless the user explicitly asked for that style
- One list title should represent one retrieval concept
- Avoid trivial distinctions like:
AI Agents vs Agent Frameworks vs Autonomous Agents
UI, Frontend, Web UI, Frontend Tools
- Prefer merging into one broad list unless the distinction is genuinely useful for retrieval
- Good list systems usually include a mix of:
- domain buckets
- tooling buckets
- reference/awesome/tutorial buckets
- Avoid creating language-only lists unless the user explicitly wants language-based organization
If the current taxonomy is missing an obvious stable category, create it only when it has a clear long-term use.
Examples of acceptable missing categories:
Web Tooling
Build Tooling
Auth
Identity
Browser Automation
Examples of bad categories:
Random JS
Stuff To Try
Interesting Repos
Tools 2
Better Algorithm
Use a two-pass planner:
Reuse-first pass
Match every unlisted repository against existing lists before proposing anything new.
Gap-creation pass
Create new lists only for clusters that:
- do not fit an existing list cleanly
- are broad enough to be useful again
- help retrieve repositories later
This keeps the system stable and prevents uncontrolled list growth.
Also cap per-repository assignment density:
- prefer 1 list
- allow 2 when both are clearly helpful
- allow 3 only when the repository spans multiple major themes
This prevents over-tagging.
Add a confidence gate:
- high confidence:
- repository name, description, and ecosystem all point to the same category
- medium confidence:
- one strong clue exists, but there are plausible alternatives
- low confidence:
- the repository could fit multiple categories equally well, or the description is too vague
Default write policy:
- auto-apply only high-confidence assignments
- ask the user before applying medium-confidence assignments in bulk
- never auto-apply low-confidence assignments
Add a naming gate:
- if a proposed new list name feels like two categories glued together, split it
- prefer
Frontend and Design Systems over Frontend & UX
- prefer
Backend and Infrastructure over Backend & Infra
- prefer
Learning and Reference only if the user wants both as separate retrieval concepts; otherwise pick the one that best matches intent
Classification Rules
Classify by the repository's primary job, not by stray words in its description.
Signal priority:
- repository name
- short description / tagline
- project type and user
- ecosystem and technology
- only then secondary keywords
Negative rule:
- a repo is not backend just because it mentions
server, node, API, or auth
- a repo is not frontend just because it has a UI or demo
- a repo is not learning/reference just because it has docs or examples
- a repo is not AI coding tooling just because it is used by developers
- a repo is not productivity just because it is an app
Use the category only when the category is the main value proposition.
Category Intent
Descriptions may be broader than titles, but the title itself should stay single-purpose.
If a repository does not fit an existing category cleanly, prefer:
- proposing a new stable list, or
- leaving it unassigned for review
instead of forcing it into the nearest broad bucket.
GitHub-Specific Notes
- Read detailed implementation guidance in
references/algorithm.md
- Read conservative classification guidance in
references/classification.md
- The core repository membership endpoint is
/<owner>/<repo>/lists
- Use that endpoint to detect whether a repository is already organized
- If a repository already has checked lists, skip it by default
- After adding list assignments, re-fetch the same menu and confirm the expected checked state
When to Ask the User
Ask before proceeding only when one of these is true:
- the target account is unclear
- browser automation is unavailable
- Chrome remote debugging is not enabled
- the GitHub session is not authenticated
- more than 15 total lists would be needed
- ambiguity is high enough that bulk writes would likely create bad assignments
- a large number of borderline or duplicate list names already exist and safe reuse is unclear
Critical Prohibitions
- Do not use a specific user's account as a hidden default
- Do not blindly create dozens of lists
- Do not destroy or rewrite existing organization without explicit permission
- Do not rely on
page=N for GitHub Stars traversal
- Do not treat a repository as unlisted until its current list membership has been checked
- Do not classify by programming language alone
- Do not use
Learning & Reference as a lazy fallback for uncertain repositories
- Do not classify a repository into
Backend & Infra or Frontend & UX based on weak incidental keywords
1---2name: github-stars-organizer3description: GitHub stars and lists organizer. Reuses existing lists, finds unlisted starred repositories, creates only necessary broad lists, and adds repos without disturbing existing assignments. Use when user asks to organize GitHub stars, sort starred repos, clean up lists, or file unlisted stars. Keywords: GitHub stars, GitHub lists, starred repositories, chrome-cdp.4---5
6# GitHub Stars Organizer
7
8Organize a user's GitHub starred repositories by reusing existing lists, creating only a small number of broad missing lists, and adding unlisted repositories to the right places.
9
10This skill is for **organizing starred repositories**, not for general GitHub account maintenance.
11
12Default stance: be **conservative, review-first, and additive**. A bad list assignment is worse than leaving a repository unfiled for later review.
13
14## Required Tooling
15
16- Preferred browser automation skill: [chrome-cdp](https://github.com/pasky/chrome-cdp-skill/tree/main/skills/chrome-cdp)
17- A compatible equivalent is acceptable only if it can:
18 - control an authenticated local browser session
19 - read the GitHub Stars page
20 - inspect repository list membership
21 - create lists
22 - add repositories to lists
23
24If `chrome-cdp` or an equivalent browser automation skill is unavailable, stop and say that authenticated browser automation is required.
25
26## Remote Debugging Prerequisite
27
28If Chrome remote debugging is not enabled yet, tell the user to do this first:
29
301. Open `chrome://inspect/#remote-debugging`
312. Enable remote debugging / remote target discovery
323. Make sure GitHub is logged in in that Chrome profile
334. Confirm the local debugging endpoint is available, commonly `127.0.0.1:9222`
345. Approve any Chrome "Allow debugging" prompt for the GitHub tab if it appears
35
36Do not proceed until browser automation can reach the GitHub tab.
37
38## Inputs
39
40The user should provide at least one of:
41
42- GitHub username
43- GitHub profile URL
44- GitHub Stars URL
45
46Do not hardcode any specific account, repository, or list names.
47
48## Default Safety Rules
49
50- Default to **additive organization only**
51- Do not unstar repositories
52- Do not remove repositories from lists
53- Do not rename or delete lists
54- If a repository is already in one or more lists, skip it by default
55- Reuse existing lists before creating new ones
56- Keep the final list system compact and reusable
57- Prefer **one primary list** per repository
58- Add a second list only when it clearly improves retrieval
59- Add a third list only for genuine cross-domain repositories
60- If confidence is not high, do not guess
61- Report ambiguous repositories instead of forcing them into a weak category
62
63If the user explicitly asks for reorganization that would modify existing assignments, ask for confirmation before changing any existing list membership.
64
65## Operating Modes
66
67- **Default mode: review-first**
68 - analyze lists
69 - analyze unlisted repositories
70 - propose taxonomy and assignments
71 - stop for confirmation before writing if ambiguity is material
72- **Auto-apply mode**
73 - only use when the user explicitly asks for direct execution
74 - still stop if ambiguity is high or list count would exceed the cap
75
76If the user did not clearly ask for immediate writes, prefer the default review-first mode.
77
78## Primary Workflow
79
801. Open the target user's Stars page in the authenticated GitHub browser session.
812. Read **all existing lists first** and build a normalized map of:
82 - list name
83 - semantic meaning
84 - probable duplicates or near-duplicates
853. Read **all starred repositories**.
86 Important:
87 - GitHub Stars pagination is cursor-based.
88 - Follow the `Next` link/cursor.
89 - Do not assume `page=N` is reliable.
904. For each starred repository, inspect its list membership.
915. Split repositories into:
92 - already listed
93 - unlisted
946. Only organize the **unlisted** repositories unless the user explicitly asks for broader reorganization.
957. Build a taxonomy plan:
96 - strongly prefer existing suitable lists
97 - create missing lists only when they are broad and reusable
98 - avoid near-duplicate lists
998. Classify each unlisted repository by **primary intent**, not by incidental words in the description.
1009. Assign a confidence level to each proposed placement:
101 - high
102 - medium
103 - low
10410. Keep the total number of lists ideally between **5 and 15**.
10511. If the plan would require more than **15 total lists**, stop and ask the user whether the extra lists may be created.
106 Include:
107 - the exact proposed new list names
108 - a short reason for each
10912. If ambiguity is material, stop and ask the user before writing.
110 Treat ambiguity as material when:
111 - more than 10 repositories are medium/low confidence, or
112 - more than 10% of unlisted repositories are medium/low confidence, or
113 - many repositories appear to require a new category not yet approved by the user
11413. Create any approved missing lists.
11514. Add each unlisted repository to the smallest reasonable number of lists.
116 Target:
117 - usually 1 list
118 - sometimes 2
119 - rarely 3
12015. Verify every repository after update by re-reading its current list membership.
12116. Report:
122 - lists reused
123 - lists created
124 - repositories added
125 - repositories skipped because they were already organized
126 - repositories intentionally left unassigned because confidence was too low
127 - ambiguities or repos that may need user judgment
128
129## Taxonomy Rules
130
131- Prefer broad, stable themes over tiny one-off buckets
132- New lists should usually represent a category that can hold multiple repositories
133- Do not create a new list for fewer than 3 repositories unless the user explicitly wants that category
134- Prefer **single-responsibility list names**
135- Do not use compound list titles with `&`, `/`, or other bundled meanings unless the user explicitly asked for that style
136- One list title should represent one retrieval concept
137- Avoid trivial distinctions like:
138 - `AI Agents` vs `Agent Frameworks` vs `Autonomous Agents`
139 - `UI`, `Frontend`, `Web UI`, `Frontend Tools`
140- Prefer merging into one broad list unless the distinction is genuinely useful for retrieval
141- Good list systems usually include a mix of:
142 - domain buckets
143 - tooling buckets
144 - reference/awesome/tutorial buckets
145- Avoid creating language-only lists unless the user explicitly wants language-based organization
146
147If the current taxonomy is missing an obvious stable category, create it only when it has a clear long-term use.
148
149Examples of acceptable missing categories:
150
151- `Web Tooling`
152- `Build Tooling`
153- `Auth`
154- `Identity`
155- `Browser Automation`
156
157Examples of bad categories:
158
159- `Random JS`
160- `Stuff To Try`
161- `Interesting Repos`
162- `Tools 2`
163
164## Better Algorithm
165
166Use a two-pass planner:
167
1681. **Reuse-first pass**
169 Match every unlisted repository against existing lists before proposing anything new.
170
1712. **Gap-creation pass**
172 Create new lists only for clusters that:
173 - do not fit an existing list cleanly
174 - are broad enough to be useful again
175 - help retrieve repositories later
176
177This keeps the system stable and prevents uncontrolled list growth.
178
179Also cap per-repository assignment density:
180
181- prefer 1 list
182- allow 2 when both are clearly helpful
183- allow 3 only when the repository spans multiple major themes
184
185This prevents over-tagging.
186
187Add a **confidence gate**:
188
189- high confidence:
190 - repository name, description, and ecosystem all point to the same category
191- medium confidence:
192 - one strong clue exists, but there are plausible alternatives
193- low confidence:
194 - the repository could fit multiple categories equally well, or the description is too vague
195
196Default write policy:
197
198- auto-apply only high-confidence assignments
199- ask the user before applying medium-confidence assignments in bulk
200- never auto-apply low-confidence assignments
201
202Add a **naming gate**:
203
204- if a proposed new list name feels like two categories glued together, split it
205- prefer `Frontend` and `Design Systems` over `Frontend & UX`
206- prefer `Backend` and `Infrastructure` over `Backend & Infra`
207- prefer `Learning` and `Reference` only if the user wants both as separate retrieval concepts; otherwise pick the one that best matches intent
208
209## Classification Rules
210
211Classify by the repository's **primary job**, not by stray words in its description.
212
213Signal priority:
214
2151. repository name
2162. short description / tagline
2173. project type and user
2184. ecosystem and technology
2195. only then secondary keywords
220
221Negative rule:
222
223- a repo is **not** backend just because it mentions `server`, `node`, `API`, or `auth`
224- a repo is **not** frontend just because it has a UI or demo
225- a repo is **not** learning/reference just because it has docs or examples
226- a repo is **not** AI coding tooling just because it is used by developers
227- a repo is **not** productivity just because it is an app
228
229Use the category only when the category is the main value proposition.
230
231## Category Intent
232
233- `Learning`
234 - use only for awesome-lists, tutorials, guides, courses, examples, templates, references, and educational starter material
235 - do not use for mature runtimes, frameworks, products, or libraries unless their main role is educational
236
237- `Frontend`
238 - use for UI frameworks, component libraries, CSS systems, animation libraries, editors, design systems, browser interaction tooling, and clear front-end app frameworks
239 - do not use for agent systems just because they have a UI
240
241- `Backend`
242 - use for APIs, databases, deployment stacks, observability systems, infrastructure platforms, queues, auth servers, server-side platforms, and operations tooling
243 - do not dump generic developer tooling or web build tooling here by default
244
245- `AI Coding Tools`
246 - use for tools whose primary purpose is helping people write, inspect, run, review, or manage code with AI or developer automation
247 - do not use for ordinary libraries, frameworks, or product apps
248
249- `AI Agents`
250 - use for agent runtimes, orchestration systems, agent operating environments, autonomous assistants, and multi-agent control planes
251 - do not use for prompt collections, awesome-lists, or evaluation content unless the repo itself is an agent system
252
253- `AI Skills & Prompts`
254 - use for reusable prompts, skills, instruction packs, subagents, templates, and other composable prompting artifacts
255
256- `RAG & Search`
257 - use for retrieval, vector search, memory systems, embedding pipelines, indexing, semantic search, and knowledge retrieval
258
259- `Productivity & Personal Tools`
260 - use for end-user note apps, personal systems, automation tools, messaging bridges, utilities, and personal workflow software
261
262Descriptions may be broader than titles, but the title itself should stay single-purpose.
263
264If a repository does not fit an existing category cleanly, prefer:
265
266- proposing a new stable list, or
267- leaving it unassigned for review
268
269instead of forcing it into the nearest broad bucket.
270
271## GitHub-Specific Notes
272
273- Read detailed implementation guidance in `references/algorithm.md`
274- Read conservative classification guidance in `references/classification.md`
275- The core repository membership endpoint is `/<owner>/<repo>/lists`
276- Use that endpoint to detect whether a repository is already organized
277- If a repository already has checked lists, skip it by default
278- After adding list assignments, re-fetch the same menu and confirm the expected checked state
279
280## When to Ask the User
281
282Ask before proceeding only when one of these is true:
283
284- the target account is unclear
285- browser automation is unavailable
286- Chrome remote debugging is not enabled
287- the GitHub session is not authenticated
288- more than 15 total lists would be needed
289- ambiguity is high enough that bulk writes would likely create bad assignments
290- a large number of borderline or duplicate list names already exist and safe reuse is unclear
291
292## Critical Prohibitions
293
294- Do not use a specific user's account as a hidden default
295- Do not blindly create dozens of lists
296- Do not destroy or rewrite existing organization without explicit permission
297- Do not rely on `page=N` for GitHub Stars traversal
298- Do not treat a repository as unlisted until its current list membership has been checked
299- Do not classify by programming language alone
300- Do not use `Learning & Reference` as a lazy fallback for uncertain repositories
301- Do not classify a repository into `Backend & Infra` or `Frontend & UX` based on weak incidental keywords