Gh Contribution Plannerのロゴ

Gh Contribution Planner

コミュニティ
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.

概要

公開者ulises-jeremias
リポジトリagent-toolkit
スキル名gh-contribution-planner
スター
20
フォーク
5
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    ulises-jeremiasがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Gh Contribution Planner」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/gh-contribution-planner
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGh Contribution Plannerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGh Contribution Plannerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Gh Contribution Plannerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

よくある質問

AIスキル「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.

TypingMindでGh Contribution Plannerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Gh Contribution Plannerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGh Contribution Plannerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ulises-jeremias/agent-toolkit/tree/main/plugins/agent-toolkit-complete/skills/gh-contribution-plannerを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Gh Contribution Plannerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Gh Contribution Plannerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGh Contribution Plannerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Gh Contribution Planner」は無料ですか?

はい。ulises-jeremiasがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇