Token导航 LogoToken导航

Agent Skill · 研究检索

github-integration(GitHub 集成)

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

github-integration 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 68,654。

总安装 225周安装 9GitHub Stars 公开资料未说明下载 73核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:github-integration(GitHub 集成)
来源仓库:https://github.com/serendipityoneinc/srp-claude-code-marketplace
仓库路径:skills/github-integration
安装命令:
npx skills add serendipityoneinc/srp-claude-code-marketplace --skill "github-integration"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add serendipityoneinc/srp-claude-code-marketplace --skill "github-integration"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

发现并安装 AI 代理的技能。github-integration 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适用于多宿主环境技能扩展和生态集成场景。支持跨 Codex、Claude、Cursor、Gemini CLI 平台部署。通过 npx 命令直接添加第三方技能仓库。

注意:需验证技能来源可靠性,避免引入安全风险。

来源仓库内路径:skills/github-integration

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add serendipityoneinc/srp-claude-code-marketplace --skill "github-int…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

github-integration 怎么安装?

在终端执行 npx skills add serendipityoneinc/srp-claude-code-marketplace --skill "github-integration"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

github-integration 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

github-integration 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

github-integration 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

github-integration 用的人多吗?

公开数据是累计安装 225 次,近一周安装 9 次,下载 73 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

github-integration 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
github-integration

GitHub 集成 · 本页

225—接触敏感数据MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
github-integration
description
GitHub integration for code review, PR management, and issue tracking (GitHub集成:代码审查、PR管理、Issue追踪)

GitHub Integration (GitHub 集成)

为开发者提供 GitHub 集成功能,包括代码审查、PR 管理、Issue 追踪、仓库信息查看等。

Provides GitHub integration for developers, including code review, PR management, issue tracking, and repository information.

Quick Start

View Pull Requests (查看 PR)

显示 SerendipityOneInc/srp-claude-code-marketplace 的 PR 列表
List open PRs in SerendipityOneInc/srp-claude-code-marketplace

Code Review (代码审查)

审查 PR #5 的代码变更
Review code changes in PR #5

Manage Issues (管理 Issue)

显示所有未关闭的 issue
List all open issues with label "bug"

Key Features

1. Pull Request Management (PR 管理)

View, search, and manage pull requests:

Available MCP Tools:

  • mcp__github__list_pull_requests - List PRs in a repository
  • mcp__github__search_pull_requests - Search PRs with filters
  • mcp__github__get_pull_request - Get PR details
  • mcp__github__get_pull_request_files - Get changed files
  • mcp__github__get_pull_request_status - Get CI/CD status
  • mcp__github__get_pull_request_comments - Get review comments
  • mcp__github__update_pull_request - Update PR (title, description, etc.)

Common Operations:

  • List open/closed PRs
  • Filter by author, base branch, labels
  • View PR diff and changed files
  • Check CI/CD build status
  • Read review comments

2. Code Review (代码审查)

Review code changes and provide feedback:

Available MCP Tools:

  • mcp__github__create_pull_request_review - Create a review
  • mcp__github__add_comment_to_pending_review - Add review comments
  • mcp__github__get_pull_request_reviews - Get existing reviews

Review Workflow:

  1. Get PR details and changed files
  2. Review code changes
  3. Add line-specific comments
  4. Submit review (approve/request changes/comment)

3. Issue Management (Issue 管理)

Track and manage issues:

Available MCP Tools:

  • mcp__github__list_issues - List issues
  • mcp__github__search_issues - Search issues
  • mcp__github__get_issue - Get issue details
  • mcp__github__issue_read - Get issue comments/sub-issues
  • mcp__github__issue_write - Create/update issues
  • mcp__github__add_issue_comment - Add comments

Common Operations:

  • List open issues
  • Search by labels, assignee, milestone
  • Create new issues
  • Update issue status
  • Add comments to discussions

4. Repository Information (仓库信息)

View repository details and statistics:

Available MCP Tools:

  • mcp__github__search_repositories - Search repositories
  • mcp__github__get_file_contents - Get file contents
  • mcp__github__list_branches - List branches
  • mcp__github__list_commits - List commits
  • mcp__github__get_commit - Get commit details

Common Operations:

  • Search repositories
  • View file contents
  • Check branch list
  • Review commit history
  • View commit changes

Common Workflows

Workflow 1: Review a Pull Request

1. User: "审查 PR #10"
2. Get PR details: mcp__github__get_pull_request
   - owner: "SerendipityOneInc"
   - repo: "project-name"
   - pull_number: 10
3. Get changed files: mcp__github__get_pull_request_files
4. Get build status: mcp__github__get_pull_request_status
5. Review code and provide feedback
6. User can approve or request changes

Workflow 2: Search and Track Issues

1. User: "显示所有标记为 bug 的未解决 issue"
2. Search issues: mcp__github__search_issues
   - query: "is:open label:bug repo:owner/repo"
3. Display issue list with titles and links
4. User can select specific issues to view details
5. Get issue details: mcp__github__get_issue

Workflow 3: Check CI/CD Status

1. User: "检查 PR #15 的构建状态"
2. Get PR status: mcp__github__get_pull_request_status
   - owner: "SerendipityOneInc"
   - repo: "project-name"
   - pull_number: 15
3. Display build/check results
4. Show failed checks if any

Examples (示例)

Example 1: List Open PRs (列出开放的 PR)

User (Chinese):

显示 SerendipityOneInc/srp-claude-code-marketplace 仓库中所有开放的 PR

Assistant Response:

I'll list all open PRs in the srp-claude-code-marketplace repository.

<uses mcp__github__list_pull_requests>
- owner: "SerendipityOneInc"
- repo: "srp-claude-code-marketplace"
- state: "open"

Found 3 open pull requests:

1. **Feature: Add developer plugin** (#12)
   - Author: @allenz-srp
   - Created: 2026-01-15
   - Status: ✓ All checks passed
   - [View PR](https://github.com/SerendipityOneInc/srp-claude-code-marketplace/pull/12)

2. **Fix: Update marketplace JSON schema** (#11)
   - Author: @developer
   - Created: 2026-01-14
   - Status: ⚠️ 1 check pending
   - [View PR](https://github.com/SerendipityOneInc/srp-claude-code-marketplace/pull/11)

3. **Docs: Improve README** (#10)
   - Author: @contributor
   - Created: 2026-01-13
   - Status: ✗ 2 checks failed
   - [View PR](https://github.com/SerendipityOneInc/srp-claude-code-marketplace/pull/10)

Would you like me to review any of these PRs?

Example 2: Create Issue (创建 Issue)

User (English):

Create an issue in SerendipityOneInc/srp-claude-code-marketplace: "Add DevOps plugin" with label "enhancement"

Assistant Response:

I'll create a new issue in the repository.

<uses mcp__github__issue_write>
- method: "create"
- owner: "SerendipityOneInc"
- repo: "srp-claude-code-marketplace"
- title: "Add DevOps plugin"
- body: "Create a new DevOps plugin with Kubernetes management and monitoring capabilities."
- labels: ["enhancement"]

✅ Issue created successfully!

**Issue #25: Add DevOps plugin**
- Status: Open
- Labels: enhancement
- Link: https://github.com/SerendipityOneInc/srp-claude-code-marketplace/issues/25

The issue has been created and is now visible to all repository collaborators.

Example 3: Check PR Build Status (检查 PR 构建状态)

User (Chinese):

PR #12 的构建状态如何?

Assistant Response:

让我检查 PR #12 的构建状态。

<uses mcp__github__get_pull_request_status>
- owner: "SerendipityOneInc"
- repo: "srp-claude-code-marketplace"
- pull_number: 12

**PR #12 构建状态:**

✅ **All checks passed** (3/3)

1. ✓ **validate-pr** - Passed (2m 15s)
   - JSON validation
   - Schema validation
   - Repository accessibility check

2. ✓ **lint** - Passed (1m 30s)
   - Code style check
   - Markdown linting

3. ✓ **test** - Passed (3m 45s)
   - Unit tests
   - Integration tests

**Summary:** All checks passed successfully. The PR is ready for review and merge.

Important Notes

Permission Requirements (权限要求)

  • Requires GitHub authentication (usually via GITHUB_TOKEN)
  • Read permissions: View repos, PRs, issues
  • Write permissions: Create/update issues, submit reviews
  • Admin permissions: Merge PRs, manage settings (not included in this skill)

Rate Limits (速率限制)

  • GitHub API has rate limits (5000 requests/hour for authenticated)
  • Use pagination for large result sets
  • Cache frequently accessed data when possible

Repository Format (仓库格式)

  • Always specify owner and repo separately
  • Format: owner/repo → owner: "SerendipityOneInc", repo: "project-name"
  • Repository names are case-sensitive

Search Syntax (搜索语法)

GitHub search supports powerful query syntax:

  • is:pr - Pull requests only
  • is:issue - Issues only
  • is:open / is:closed - Status filter
  • label:bug - Filter by label
  • author:username - Filter by author
  • repo:owner/name - Specific repository

Error Handling

Common errors and solutions:

  1. "Not Found" (未找到)

- Repository doesn't exist or is private - PR/Issue number is invalid - Check repository name spelling

  1. "Permission denied" (权限被拒绝)

- Need to authenticate with GitHub - Set GITHUB_TOKEN environment variable - Check token has required permissions

  1. "Rate limit exceeded" (超出速率限制)

- Too many API requests - Wait for rate limit reset - Use pagination to reduce requests

Tips for Effective Use

  1. Use search for complex queries: More efficient than list + filter
  2. Check build status: Always verify CI/CD before reviewing
  3. Batch operations: Group related actions together
  4. Use filters: Narrow down results with labels, authors, status
  5. Link references: Always provide GitHub links for easy access

Related Skills

  • gcp-developer: Access GCP resources (BigQuery, GCS, GKE)
  • Future: cicd-integration, code-quality-tools

Prerequisites

GitHub Authentication

Set up GitHub token as environment variable:

export GITHUB_TOKEN="ghp_your_github_token_here"

How to create a GitHub token:

  1. Go to GitHub Settings → Developer settings → Personal access tokens
  2. Click "Generate new token" (classic)
  3. Select scopes: repo, read:user, read:org
  4. Copy the token and save it securely
  5. Add to environment variables

MCP Server Configuration

The GitHub MCP server is configured automatically by the plugin:

{
  "github": {
    "type": "stdio",
    "command": "npx",
    "args": ["@modelcontextprotocol/server-github"],
    "env": {}
  }
}

Limitations

  • Cannot merge PRs (use GitHub web interface)
  • Cannot force push or delete branches
  • Cannot manage repository settings
  • Cannot create releases or tags
  • Review comments are final (cannot edit after submission)

Future Enhancements

Planned features:

  • CI/CD pipeline integration
  • Code quality metrics
  • Automated code review suggestions
  • Integration with Lark for notifications
  • Custom workflow automation

平台分布

Claude Code

30.55%
按下载量换算22

kilo

22.24%
按下载量换算16

windsurf

18.54%
按下载量换算14

zencoder

13.52%
按下载量换算10

cline

7.32%
按下载量换算5

pi

3.97%
按下载量换算3

安全审计

暂无安全审计结果可展示。

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills