Github stars organizer

From itechmeat/llm-code · View interactive version

Github stars organizer is an AI agent skill from the GitHub repository itechmeat/llm-code. 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:

How to use this skill

Skill file

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

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:

  1. Open chrome://inspect/#remote-debugging
  2. Enable remote debugging / remote target discovery
  3. Make sure GitHub is logged in in that Chrome profile
  4. Confirm the local debugging endpoint is available, commonly 127.0.0.1:9222
  5. 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:

Do not hardcode any specific account, repository, or list names.

Default Safety Rules

If the user explicitly asks for reorganization that would modify existing assignments, ask for confirmation before changing any existing list membership.

Operating Modes

If the user did not clearly ask for immediate writes, prefer the default review-first mode.

Primary Workflow

  1. Open the target user's Stars page in the authenticated GitHub browser session.
  2. Read all existing lists first and build a normalized map of:
  1. Read all starred repositories.

Important:

  1. For each starred repository, inspect its list membership.
  2. Split repositories into:
  1. Only organize the unlisted repositories unless the user explicitly asks for broader reorganization.
  2. Build a taxonomy plan:
  1. Classify each unlisted repository by primary intent, not by incidental words in the description.
  2. Assign a confidence level to each proposed placement:
  1. Keep the total number of lists ideally between 5 and 15.
  2. If the plan would require more than 15 total lists, stop and ask the user whether the extra lists may be created.

Include:

  1. If ambiguity is material, stop and ask the user before writing.

Treat ambiguity as material when:

  1. Create any approved missing lists.
  2. Add each unlisted repository to the smallest reasonable number of lists.

Target:

  1. Verify every repository after update by re-reading its current list membership.
  2. Report:

Taxonomy Rules

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:

Examples of bad categories:

Better Algorithm

Use a two-pass planner:

  1. Reuse-first pass

Match every unlisted repository against existing lists before proposing anything new.

  1. Gap-creation pass

Create new lists only for clusters that:

This keeps the system stable and prevents uncontrolled list growth.

Also cap per-repository assignment density:

This prevents over-tagging.

Add a confidence gate:

Default write policy:

Add a naming gate:

Classification Rules

Classify by the repository's primary job, not by stray words in its description.

Signal priority:

  1. repository name
  2. short description / tagline
  3. project type and user
  4. ecosystem and technology
  5. only then secondary keywords

Negative rule:

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:

instead of forcing it into the nearest broad bucket.

GitHub-Specific Notes

When to Ask the User

Ask before proceeding only when one of these is true:

Critical Prohibitions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.