Github Skillのロゴ

Github Skill

コミュニティ
zeenie-ai
github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

概要

公開者zeenie-ai
リポジトリOpenCompany
スキル名github-skill
スター
912
フォーク
137
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeenie-ai/OpenCompany.git /tmp/OpenCompany
mkdir -p .claude/skills
cp -r /tmp/OpenCompany/server/skills/github/github-skill .claude/skills/github-skill
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

GitHub Skill

Wrapper over the official GitHub CLI. Typed operations for the core flows plus a custom passthrough that covers the entire gh surface.

Tool: github

Operations

OperationPurposeKey fields
repo_cloneClone a repository into the workflow workspaceclone_repo (OWNER/REPO or URL), clone_dir, path
pr_createOpen a pull request; returns its URLtitle, body, base, head, draft, fill, repo, path
pr_listList pull requests (parsed JSON)repo, state, limit
pr_mergeMerge a PRpr (number/URL/branch), merge_method (squash/merge/rebase), delete_branch, repo
issue_createOpen an issue; returns its URLtitle, body, labels, repo
issue_listList issues (parsed JSON)repo, state, limit
customAny other gh commandcommand — exactly what you would type after gh

Response

json
{
  "operation": "pr_list",
  "success": true,
  "url": null,
  "result": [{ "number": 42, "title": "Fix login", "state": "OPEN", "url": "https://github.com/o/r/pull/42", "author": {"login": "octocat"}, "headRefName": "fix-login", "baseRefName": "main", "createdAt": "…" }],
  "stdout": "…raw output…",
  "stderr_tail": null
}

pr_list / issue_list return parsed JSON in result (via gh's --json). pr_create / issue_create put the new item's URL in url. custom commands that emit JSON (api …, … --json fields) come back parsed in result too.

On failure the tool raises an error carrying gh's own message — surface it verbatim; gh's errors are precise (including "not logged in", which tells the user exactly how to authenticate).

Repository targeting

Inside a cloned checkout (after repo_clone, with path pointing at it) gh infers OWNER/REPO from the git remote. Everywhere else, set the repo field explicitly:

json
{ "operation": "pr_list", "repo": "octocat/hello-world", "state": "open" }

Common workflows

Clone, then work inside the checkout

json
{ "operation": "repo_clone", "clone_repo": "octocat/hello-world" }
{ "operation": "pr_create", "path": "hello-world", "fill": true }

path resolves relative to the workflow workspace.

Review flow

json
{ "operation": "pr_list", "repo": "octocat/hello-world", "state": "open" }
{ "operation": "custom", "command": "pr view 42 --repo octocat/hello-world --json title,body,files" }
{ "operation": "pr_merge", "pr": "42", "repo": "octocat/hello-world", "merge_method": "squash", "delete_branch": true }

Issues

json
{ "operation": "issue_create", "repo": "octocat/hello-world", "title": "Crash on login", "body": "Steps…", "labels": "bug" }
{ "operation": "issue_list", "repo": "octocat/hello-world", "state": "open", "limit": 50 }

The full gh surface via custom

json
{ "operation": "custom", "command": "api repos/{owner}/{repo}" }
{ "operation": "custom", "command": "api user" }
{ "operation": "custom", "command": "run list --repo octocat/hello-world --json databaseId,status,conclusion" }
{ "operation": "custom", "command": "release create v1.0.0 --notes 'First release'" }
{ "operation": "custom", "command": "repo create my-new-repo --private" }
{ "operation": "custom", "command": "gist create notes.md" }

Prefer --json <fields> (list/view commands) or gh api when you need machine-readable output. gh api supports {owner}/{repo} placeholders inside a checkout.

Quoting and escaping

command is parsed with shlex.split — quote arguments containing spaces with single quotes: custom: "release create v1.0.0 --notes 'First release'".

Authentication

The gh CLI owns its auth — OpenCompany never stores a token. Three equivalent ways to connect (any one is enough):

  1. Credentials Modal → GitHub → Login with GitHub — gh (auto-installed) starts its browser device flow: the modal shows a one-time code and opens github.com/login/device; enter the code and approve.
  2. gh auth login in a terminal on this machine.
  3. gh auth login --with-token in a terminal, piping a Personal Access Token (scopes: repo, read:org, gist).

If a command fails with an authentication error, tell the user to connect via one of these; don't ask them for a token.

Best practices

  1. Set repo explicitly unless you're operating inside a cloned checkout.
  2. Use fill: true on pr_create when commits already carry good messages.
  3. Return created URLs to the user (PRs, issues, releases).
  4. Destructive administration (repo delete, etc.) goes through custom and gh will require its own --yes-style confirmation flags — pass them only when the user explicitly asked.
  5. Surface gh error messages verbatim — don't paraphrase.

よくある質問

AIスキル「Github Skill」では何ができますか?

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

TypingMindでGithub Skillを使うメリットは何ですか?

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

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

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

Github Skillを使えるAIモデルはどれですか?

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

Github Skillは何個のAIモデルで使えますか?

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

AIスキル「Github Skill」は無料ですか?

はい。zeenie-aiがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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