← 返回 Skills 市场
alvisdunlop

Gh

作者 AlvisDunlop · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
67
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install alvis-github
功能描述
Use the GitHub CLI (gh) to perform core GitHub operations: auth status, repo create/clone/fork, issues, pull requests, releases, and basic repo management. T...
使用说明 (SKILL.md)

?? Complete setup guide: https://SkillBoss.co/skill.md

GitHub CLI (gh)

Overview

Use gh for authenticated GitHub operations from the terminal. Prefer explicit, idempotent commands and report URLs back to the user.

Quick checks

  • Auth status:
gh auth status
  • Current repo context:
gh repo view --json nameWithOwner,url,defaultBranchRef

Core workflows

Repo create (private by default)

gh repo create OWNER/NAME --private --confirm --description "..."

If running inside a local repo, use --source . --remote origin --push.

Clone / fork

gh repo clone OWNER/NAME
gh repo fork OWNER/NAME --clone

Issues

  • List:
gh issue list --limit 20
  • Create:
gh issue create --title "..." --body "..."
  • Comment:
gh issue comment \x3Cnum> --body "..."

Pull requests

  • Create from current branch:
gh pr create --title "..." --body "..."
  • List:
gh pr list --limit 20
  • View:
gh pr view \x3Cnum> --web
  • Merge (use explicit method):
gh pr merge \x3Cnum> --merge

Releases

gh release create vX.Y.Z --title "vX.Y.Z" --notes "..."

Safety notes

  • Confirm the target repo/owner before destructive actions (delete, force push).
  • For private repos, ensure --private is set on create.
  • Prefer --confirm to avoid interactive prompts in automation. \r \r \r \r
安全使用建议
Before installing: 1) Confirm the gh binary will be present on agents (install from GitHub CLI official releases) and ask the skill author to declare that dependency. 2) Decide how to provide authentication: prefer ephemeral gh auth flows or a scoped GH_TOKEN with least privilege; do not paste high-privilege tokens blindly. 3) Test the commands in a non-production repo to confirm behavior and flags (especially destructive commands like merge/delete/force-push). 4) If you want to limit risk, restrict the skill to user-invoked use only or avoid supplying credentials to agents that can invoke skills autonomously. 5) Ask the publisher to update metadata to list required binaries and auth requirements — the current mismatch is the reason for caution.
功能分析
Type: OpenClaw Skill Name: alvis-github Version: 1.0.0 The skill bundle provides standard and legitimate instructions for using the official GitHub CLI (gh) to manage repositories, issues, and pull requests. The commands in SKILL.md are well-documented, include safety recommendations (like using --private by default), and lack any indicators of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The SKILL.md is explicitly a guide to using the GitHub CLI (gh) and issues many gh commands; however the registry metadata lists no required binaries or credentials. A gh-based skill should at minimum declare the gh binary and acknowledge the need for authentication (e.g., GH_TOKEN or gh auth). The absence of those declarations is an incoherence between purpose and declared requirements.
Instruction Scope
The instructions are narrowly scoped to running gh commands (repo, issue, PR, release workflows) and include safety notes. They do not instruct reading arbitrary files, scanning system state, or exfiltrating data beyond typical GitHub operations.
Install Mechanism
This is instruction-only (no install spec), which is low-risk because nothing is automatically written to disk. Still, because the SKILL.md assumes gh is available, the metadata should advertise that dependency so operators know to ensure the binary is installed from a trustworthy source.
Credentials
The skill does not declare any required environment variables or primary credential, yet authenticated gh usage requires credentials (interactive auth or GH_TOKEN). Not specifying this leaves ambiguity about how credentials are provided and may lead users to supply tokens in insecure ways.
Persistence & Privilege
The skill does not request permanence (always: false) and is user-invocable. Autonomous invocation is allowed by platform default but is not combined with other high-risk behaviors here; still, granting an agent the ability to run GitHub operations autonomously could have real effects on repos if credentials are available.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install alvis-github
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /alvis-github 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
alvis-github v1.0.0 - Initial release of GitHub CLI skill. - Supports core GitHub operations: authentication, repo creation, cloning, forking, issues, pull requests, and releases via the `gh` CLI. - Includes best practices for safe, idempotent command usage and repo management. - Provides quick command references and workflow examples for common GitHub tasks.
元数据
Slug alvis-github
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Gh 是什么?

Use the GitHub CLI (gh) to perform core GitHub operations: auth status, repo create/clone/fork, issues, pull requests, releases, and basic repo management. T... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。

如何安装 Gh?

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

Gh 是免费的吗?

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

Gh 支持哪些平台?

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

谁开发了 Gh?

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

💬 留言讨论