← 返回 Skills 市场
10599
总下载
6
收藏
102
当前安装
1
版本数
在 OpenClaw 中安装
/install github-cli
功能描述
Comprehensive GitHub CLI (gh) reference. Covers repos, issues, PRs, Actions, releases, gists, search, projects v2, API, secrets/variables, labels, codespaces...
安全使用建议
Install only if you want an agent to reference GitHub CLI commands. Keep `gh` authenticated with the minimum scopes needed, confirm repo names before mutating or deleting anything, do not print or paste tokens, review `.env` files before importing them, and install `gh` extensions only from trusted repositories.
功能分析
Type: OpenClaw Skill
Name: github-cli
Version: 1.0.0
The skill bundle provides a comprehensive reference for the GitHub CLI (`gh`), a powerful tool capable of extensive interactions with GitHub resources, including creating, modifying, and deleting repositories, issues, and pull requests. It is classified as suspicious due to the documentation of several high-risk capabilities that, if executed by an AI agent (potentially via prompt injection), could lead to unauthorized actions or data exposure. Specifically, `SKILL.md` includes examples for `gh auth status --show-token` (which can expose authentication tokens), `gh secret set` and `gh variable set` (for managing sensitive data), `gh extension install` (introducing a supply chain risk by allowing arbitrary code execution from external repositories), `gh repo delete` (for destructive actions), and `gh codespace cp` (for file transfer to/from remote environments).
能力评估
Purpose & Capability
The stated purpose is a comprehensive `gh` command reference, and the documented repository, issue, PR, Actions, secrets, variables, Codespaces, extension, API, and auth commands fit that purpose, including high-impact GitHub operations.
Instruction Scope
The artifact is a command catalog, not executable automation. It includes examples that can reveal tokens, disable prompts, delete repositories, and mutate GitHub resources, so agents should treat them as examples requiring explicit user intent.
Install Mechanism
The skill contains only `SKILL.md` and declares standard `gh` installation through package managers; no bundled scripts, postinstall hooks, or hidden installers were found.
Credentials
Use of local GitHub authentication, `GH_TOKEN`, secrets, variables, and Codespaces is proportionate for a GitHub CLI reference, but these can expose or change private account and organization data if used carelessly.
Persistence & Privilege
The documented `gh auth login`, `gh auth setup-git`, config changes, aliases, and extension installs can persist local configuration or third-party code, which is normal for `gh` but should remain user-directed.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install github-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/github-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: comprehensive reference for the GitHub CLI (gh).
- Covers commands for repos, issues, PRs, Actions, releases, gists, search, labels, projects v2, API, secrets, variables, codespaces, extensions, authentication, and advanced GraphQL patterns.
- Includes example usage, JSON output, required scopes, and recommended options.
- Provides installation steps for Homebrew and Apt.
- Feature-based table of contents and detailed code blocks for each command.
- Tips for automation, scripting, and environment variable support.
元数据
常见问题
Github Cli 是什么?
Comprehensive GitHub CLI (gh) reference. Covers repos, issues, PRs, Actions, releases, gists, search, projects v2, API, secrets/variables, labels, codespaces... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 10599 次。
如何安装 Github Cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install github-cli」即可一键安装,无需额外配置。
Github Cli 是免费的吗?
是的,Github Cli 完全免费(开源免费),可自由下载、安装和使用。
Github Cli 支持哪些平台?
Github Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Github Cli?
由 Tag(@tag-assistant)开发并维护,当前版本 v1.0.0。
推荐 Skills