·github
</>

github

使用 GITHUB_TOKEN 环境变量和 GitHub CLI 与 GitHub 存储库、拉取请求、问题和工作流程进行交互。在使用 GitHub 上托管的代码或管理 GitHub 资源时使用。

9安装·0热度·@openhands

安装

$npx skills add https://github.com/openhands/extensions --skill github

如何安装 github

通过命令行快速安装 github AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/openhands/extensions --skill github
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:openhands/extensions。

SKILL.md

查看原文

You have access to an environment variable, GITHUBTOKEN, which allows you to interact with the GitHub API.

You can use curl with the GITHUBTOKEN to interact with GitHub's API. ALWAYS use the GitHub API for operations instead of a web browser. ALWAYS use the createpr tool to open a pull request If the user asks you to check GitHub Actions status, first try to use gh to work with workflows, and only fallback to basic API calls if that fails.

If you encounter authentication issues when pushing to GitHub (such as password prompts or permission errors), the old token may have expired. In such case, update the remote URL to include the current token: git remote set-url origin https://${GITHUBTOKEN}@github.com/username/repo.git

使用 GITHUB_TOKEN 环境变量和 GitHub CLI 与 GitHub 存储库、拉取请求、问题和工作流程进行交互。在使用 GitHub 上托管的代码或管理 GitHub 资源时使用。 来源:openhands/extensions。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/openhands/extensions --skill github
分类
</>开发工具
认证
收录时间
2026-03-10
更新时间
2026-03-11

Browse more skills from openhands/extensions

快速解答

什么是 github?

使用 GITHUB_TOKEN 环境变量和 GitHub CLI 与 GitHub 存储库、拉取请求、问题和工作流程进行交互。在使用 GitHub 上托管的代码或管理 GitHub 资源时使用。 来源:openhands/extensions。

如何安装 github?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/openhands/extensions --skill github 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/openhands/extensions

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-03-10