什么是 github?
使用 GITHUB_TOKEN 环境变量和 GitHub CLI 与 GitHub 存储库、拉取请求、问题和工作流程进行交互。在使用 GitHub 上托管的代码或管理 GitHub 资源时使用。 来源:openhands/extensions。
使用 GITHUB_TOKEN 环境变量和 GitHub CLI 与 GitHub 存储库、拉取请求、问题和工作流程进行交互。在使用 GitHub 上托管的代码或管理 GitHub 资源时使用。
通过命令行快速安装 github AI 技能到你的开发环境
来源:openhands/extensions。
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使用 GITHUB_TOKEN 环境变量和 GitHub CLI 与 GitHub 存储库、拉取请求、问题和工作流程进行交互。在使用 GitHub 上托管的代码或管理 GitHub 资源时使用。 来源:openhands/extensions。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/openhands/extensions --skill github 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/openhands/extensions