← 返回 Skills 市场
morrison230

Github Local

作者 morrison230 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
123
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install github-local
功能描述
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
使用说明 (SKILL.md)

GitHub Skill

Use the gh CLI to interact with GitHub. Always specify --repo owner/repo when not in a git directory, or use URLs directly.

Pull Requests

Check CI status on a PR:

gh pr checks 55 --repo owner/repo

List recent workflow runs:

gh run list --repo owner/repo --limit 10

View a run and see which steps failed:

gh run view \x3Crun-id> --repo owner/repo

View logs for failed steps only:

gh run view \x3Crun-id> --repo owner/repo --log-failed

API for Advanced Queries

The gh api command is useful for accessing data not available through other subcommands.

Get PR with specific fields:

gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'

JSON Output

Most commands support --json for structured output. You can use --jq to filter:

gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'
安全使用建议
This skill appears to be a straightforward set of instructions for using the GitHub CLI, but there are a few inconsistencies you should consider before installing or allowing it to run with credentials: - Verify origin and metadata: the registry metadata and the bundle's _meta.json disagree on slug/owner and there is no homepage or source listed. If you require provenance, ask the publisher to clarify and fix metadata. - gh dependency: the SKILL.md assumes the gh CLI is available. Confirm gh is installed on the agent environment, or ask the skill author to declare it as a required binary. Without gh the instructions won't run. - Authentication: the skill doesn't declare any required env vars, but gh commands need authentication (gh auth login, GH_TOKEN, or stored config). Don't provide tokens unless you trust the skill and the agent's execution context. If you want to be safe, run the skill in an environment without GitHub credentials or with least-privilege tokens. - Command scope: the provided examples are read-only (checks, list, view, api queries), but gh can also modify state (create/merge PRs, post comments). Review or restrict which gh subcommands the agent may run, and audit any commands that would change repos. If you need higher assurance, request that the publisher: (1) supply a valid source/homepage, (2) correct the _meta.json/registry metadata mismatch, and (3) explicitly declare required binaries and any environment variables needed for authentication. Until those are resolved, treat the package as untrusted for sensitive credentials.
功能分析
Type: OpenClaw Skill Name: github-local Version: 1.0.0 The skill bundle provides standard documentation and usage examples for the official GitHub CLI (`gh`). It includes instructions for managing pull requests, issues, and CI runs via SKILL.md, with no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The SKILL.md clearly instructs the agent to run the GitHub CLI (gh) commands, but the skill metadata declares no required binaries. Additionally, registry metadata (slug/owner) differs from values inside _meta.json (slug 'github' vs registry 'github-local', owner IDs differ). These mismatches are inconsistent with a well-formed skill and reduce trust in origin and intent.
Instruction Scope
The runtime instructions are limited to gh CLI commands (pr/checks, run list/view, gh api queries, JSON output). They don't instruct the agent to read unrelated files, access system paths, or call unexpected external endpoints. Using gh api allows arbitrary GitHub API calls, which is expected for this skill.
Install Mechanism
This is an instruction-only skill with no install spec and no code files — lowest installation risk. Nothing is downloaded or written to disk by the skill bundle itself.
Credentials
The skill declares no required environment variables, but interacting with GitHub via gh typically requires authentication (gh auth, GH_TOKEN, or authenticated client config). The lack of declared credential requirements is not necessarily malicious, but it is an omission: the skill doesn't state how authentication is expected to be provided.
Persistence & Privilege
The skill does not request persistent presence (always:false) and does not declare actions that modify other skills or agent-wide config. Agent autonomous invocation is allowed (platform default) but is not by itself a red flag here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install github-local
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /github-local 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the GitHub skill: - Provides instructions for using the `gh` CLI to interact with GitHub. - Covers common commands for issues, pull requests, CI/CD workflows, and advanced API queries. - Includes tips for specifying repositories and retrieving structured JSON output. - Offers examples for filtering and formatting results with `--json` and `--jq`.
元数据
Slug github-local
版本 1.0.0
许可证 MIT-0
累计安装 4
当前安装数 1
历史版本数 1
常见问题

Github Local 是什么?

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 123 次。

如何安装 Github Local?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-local」即可一键安装,无需额外配置。

Github Local 是免费的吗?

是的,Github Local 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Github Local 支持哪些平台?

Github Local 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Github Local?

由 morrison230(@morrison230)开发并维护,当前版本 v1.0.0。

💬 留言讨论