Logo: Gh Contribution Planner

Gh Contribution Planner

Communautéit
ulises-jeremias
gh-contribution-planner

Daily GitHub contribution planner — analyzes the gh-logged-in user's non-archived repos (owned + forks) and recent contributions, produces a prioritized plan, halts for approval, then dispatches parallel sub-agents to execute approved items via existing PR/CI/review skills.

Iwwersiicht

Editeurulises-jeremias
Repositoryagent-toolkit
Skill-Nummgh-contribution-planner
Stären
20
Forks
5
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    ulises-jeremias huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Gh Contribution Planner an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/gh-contribution-planner
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ulises-jeremias/agent-toolkit.git /tmp/agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/agent-toolkit/plugins/agent-toolkit-complete/skills/gh-contribution-planner .claude/skills/gh-contribution-planner
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Gh Contribution Planner an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Gh Contribution Planner automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Gh Contribution Planner net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

GitHub Contribution Planner

Discover what to work on across your GitHub footprint, propose a prioritized daily plan, and — on approval — fan out parallel sub-agents to open draft PRs. The skill infers the current user from the authenticated gh CLI, so no manual configuration is required.

When to use

  • "Plan my GitHub contributions for today" / "what should I work on across my repos" / "give me a daily contribution plan".
  • You want to maintain your own repositories and forks without manually scanning each one.
  • You want to find low-friction openings (good first issues, stale PRs, outdated forks) in projects you have already contributed to.

Do not use this skill to operate on a specific PR you already picked — use gh-fix-ci, gh-address-comments, or github-cli-workflow directly.

Prerequisites

  • gh installed and authenticated (gh auth status exits 0). Scopes typically required: repo, read:org. doctor reports this under Integrations.
  • python3 for the bundled analyzer.
  • Network access to api.github.com (or the host configured via GH_HOST).
  • A host that supports parallel sub-agent dispatch (Claude Code's Task tool, OpenCode's subagent fan-out, etc.). Hosts without that primitive fall back to sequential execution.

Workflow

  1. Verify auth. Run gh auth status. If unauthenticated, ask the user to run gh auth login and stop. Do not prompt for tokens.

  2. Resolve the current user. gh api user --jq .login — never ask the user; always infer from gh.

  3. Run the analyzer.

    bash
    python3 ~/.local/share/agent-toolkit/skills/gh-contribution-planner/scripts/inspect_contributions.py \
      --since 90d --max-per-bucket 5

    Useful flags:

    • --json — machine-readable output (recommended when composing with another agent).
    • --user <login> — override the inferred login (useful for testing or planning for an organization the user maintains).
    • --dry-run — print the gh calls the analyzer would make and exit; useful for sanity-checking before a live run.
    • --max-per-bucket <n> — cap items per bucket (default 5).
    • --since <window> — lookback window for recent contributions. Accepts 30d, 90d, 180d, or an ISO date.

    The script:

    • Calls gh api user to resolve the login.
    • Calls gh api graphql to batch-fetch viewer repos (non-archived, forks + sources), open PRs authored by the user, and recent contributions across GitHub.
    • For each fork, compares the default branch with the parent's default branch to compute behind/ahead counts.
    • For each owned repo, fetches open issues labeled good first issue or help wanted, plus unassigned issues older than the lookback window.
    • Scores and buckets every item.
  4. Present the plan in English grouped into these buckets (each item must show repo owner/name, a one-line summary, an effort estimate, and a suggested delegate skill):

    • Quick wins (~15 min) — README/typo/doc fixes, dependency bumps, missing CI badges in your own repos.
    • In-flight PRs — open PRs authored by you that need attention (red CI → gh-fix-ci; rebase needed → github-cli-workflow).
    • Review feedback — PRs with unresolved review comments → delegate to gh-address-comments.
    • Forks needing sync — forks lagging upstream by ≥ N commits; propose a sync via gh repo sync or a merge-from-upstream PR.
    • Maintenance — own non-archived repos with stale unanswered issues, security alerts, or abandoned PRs from contributors awaiting your review.
    • External contributions — repos where you contributed in the lookback window with open good first issue / help wanted issues that are currently unassigned.
  5. Halt for approval. Ask the user which buckets and which specific items to execute. Do not open PRs or push commits before approval.

  6. Dispatch parallel sub-agents for the approved items. One sub-agent per item, capped at 5 concurrent by default. Each sub-agent receives:

    • Target owner/name and (when relevant) issue / PR number.
    • A one-line goal extracted from the plan.
    • A directive to start with dev-assistant for repo discovery, then route to the right execution skill:
      • PR push / draft PR creation → github-cli-workflow.
      • Red CI on an existing PR → gh-fix-ci.
      • Open review comments → gh-address-comments.
      • Fork drift → gh repo sync (delegate the sync step; never force).
    • An explicit instruction to open the PR as draft unless the user marks the item as ready-for-review in the approval step.

    On hosts without parallel sub-agent dispatch, execute items sequentially in the same order and report progress between items.

  7. Aggregate the run. When the parallel batch completes, summarize:

    • Draft PRs opened (owner/repo#NN + URL).
    • Items skipped or blocked (with reason).
    • Follow-ups that need the user's direct attention.

Parallel execution contract

  • Concurrency cap: 5 sub-agents at a time. Raise only on explicit user request.
  • Isolation: each sub-agent works in its own git worktree or a fresh clone under ~/.cache/agent-toolkit/contribution-planner/<owner>-<repo>/. Never reuse the host repo working tree.
  • Idempotency: before opening a new PR, the sub-agent must check for an existing open PR with the same intent (label or title heuristic) and skip duplicates.
  • Drafts by default: every PR is opened as draft. The user marks ready separately.
  • No force pushes to branches that already exist on origin unless the user explicitly opts in.

Boundaries

  • Read-only on GitHub during planning; writes only after explicit user approval, and only on approved items.
  • Do not author commits or PRs from this skill directly — delegate every push to github-cli-workflow.
  • Do not act on repos owned by other users beyond the external contributions bucket, and even there only via PRs (never direct pushes).
  • Do not interact with non-GitHub forges; for GitLab, route to gitlab-cli-workflow instead.

Bundled resources

  • scripts/inspect_contributions.py — stdlib-only analyzer. Defaults to Markdown output; --json for machine-readable output.

Validation

  • skills check reports the gh and python3 requirements.

  • doctor shows gh auth status under Integrations.

  • Smoke test:

    bash
    python3 ~/.local/share/agent-toolkit/skills/gh-contribution-planner/scripts/inspect_contributions.py --dry-run

Heefeg gestallte Froen

Wat mécht de KI-Skill Gh Contribution Planner?

Daily GitHub contribution planner — analyzes the gh-logged-in user's non-archived repos (owned + forks) and recent contributions, produces a prioritized plan, halts for approval, then dispatches parallel sub-agents to execute approved items via existing PR/CI/review skills.

Firwat Gh Contribution Planner op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Gh Contribution Planner besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Gh Contribution Planner an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/gh-contribution-planner an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Gh Contribution Planner benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Gh Contribution Planner benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Gh Contribution Planner domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Gh Contribution Planner gratis?

Jo. ulises-jeremias huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇