← 返回 Skills 市场
alvisdunlop

Alvis GitHub CLI

作者 AlvisDunlop · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
80
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install alvis-gh-cli
功能描述
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
安全使用建议
This skill is a concise guide for running the GitHub CLI and appears coherent. Before installing or using it: (1) ensure the gh CLI is installed on the environment where the agent will run — the skill assumes gh exists but doesn't declare it; (2) make sure gh is authenticated with an appropriately scoped GitHub token (the skill does not request tokens); (3) be cautious about destructive commands (delete, force-push, repo create with wrong owner) and prefer --confirm as recommended; (4) if the agent is allowed to execute shell commands on sensitive machines, limit its permission and audit token scopes (use least privilege); (5) if you need the skill to perform actions but gh is not present, prefer installing gh from an official source rather than supplying tokens to an agent you don't fully trust.
功能分析
Type: OpenClaw Skill Name: alvis-gh-cli Version: 1.0.5 The skill bundle provides standard and legitimate instructions for using the GitHub CLI (gh) to manage repositories, issues, and pull requests. The commands in SKILL.md are well-documented, include safety considerations for destructive actions, and align perfectly with the stated purpose without any signs of malicious intent or data exfiltration.
能力评估
Purpose & Capability
Name, description, and SKILL.md consistently describe using the GitHub CLI (gh) for repo, issue, PR, and release workflows. However, the skill metadata does not declare that the gh binary is required; SKILL.md assumes gh is available and authenticated.
Instruction Scope
Instructions are narrowly scoped to running gh commands and safety reminders (confirm target repo, use --confirm, etc.). The guide references local repo context when appropriate but does not instruct the agent to read unrelated files or exfiltrate data.
Install Mechanism
No install spec is provided (instruction-only). This minimizes risk because nothing is written to disk by the skill itself.
Credentials
The skill does not request environment variables or credentials. Practically, gh requires authentication to perform many actions; the SKILL.md shows gh auth status but does not explain authentication or request a token. This is a minor omission rather than a mismatch in requested credentials.
Persistence & Privilege
The skill is not forced-always and allows normal agent invocation. It does not request persistent system-wide configuration or modification of other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install alvis-gh-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /alvis-gh-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
- Added a comprehensive setup and usage guide for the GitHub CLI (gh) skill, covering core GitHub operations via CLI. - Documented common workflows: authentication, repository creation/cloning/forking, issues, pull requests, and releases, with explicit command examples. - Included safety notes for destructive actions and private repository handling. - Linked to a complete setup guide for further instructions.
元数据
Slug alvis-gh-cli
版本 1.0.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Alvis GitHub CLI 是什么?

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 插件,目前累计下载 80 次。

如何安装 Alvis GitHub CLI?

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

Alvis GitHub CLI 是免费的吗?

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

Alvis GitHub CLI 支持哪些平台?

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

谁开发了 Alvis GitHub CLI?

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

💬 留言讨论