mcp-github

Lazily load GitHub MCP tools for repository search, issues, and PRs.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jaraim/opencode-chinese --skill mcp-github
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-github
Source: https://github.com/jaraim/opencode-chinese/tree/main/.opencode/skill/mcp-github
Command: npx skills add https://github.com/jaraim/opencode-chinese --skill mcp-github

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables context-efficient GitHub automation by loading MCP tools only when needed, reducing cognitive load and token usage.

Core Features & Use Cases

  • Progressive disclosure: Detects intent for GitHub tasks and lazily loads the appropriate MCP tool schema.
  • Task coverage: Supports repository search, issue creation, pull request retrieval and updates, and file access.
  • Use Case: When you need to explore repositories, manage issues/PRs, or fetch file contents without loading all tools upfront.

Quick Start

Use the mcp-github skill to perform a GitHub action, for example: "Search repos for opencode" or "Create an issue in owner/repo with a title and body".

Frequently Asked Questions about mcp-github

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize GitHub workflows when token usage and context limits are an issue?

You can optimize GitHub workflows by lazily loading MCP tools on demand, which reduces cognitive load and token usage by only fetching tool schemas when a GitHub task is detected.

What is lazy loading for GitHub MCP tools and how does it work?

Lazy loading for GitHub MCP tools means MCP tool schemas are loaded progressively only when needed, managing contextual memory efficiently and presenting results through clear progressive disclosure.

How do I manage GitHub issues and pull requests without loading all tools upfront?

You can manage GitHub issues and pull requests by triggering the mcp-github skill with an intent like "Create an issue in owner/repo" to load only the specific MCP tool required for that action.

Can I search repositories and fetch file contents across multiple GitHub repos on demand?

Yes, you can search repositories and fetch file contents across multiple GitHub repos on demand by specifying your intent, such as "Search repos for opencode", to load the appropriate tool schema dynamically.

Does this on-demand GitHub automation approach work for contextual memory management?

Yes, this approach satisfies contextual memory management by applying progressive disclosure, ensuring that only the necessary GitHub MCP tool schemas are loaded into context as tasks arise.