跳到主内容
智客 ZICQ

技能库 智客分类:开发工程 github OpenClaw

Github

查询和管理 GitHub 寄存器 - 列表 repos, 检查 CI 状态, 创建问题, 搜索 repos, 查看最近的活动 .

649 安装量 · 11 星标

官方网址:ClawHub

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

查询和管理 GitHub 寄存器 - 列表 repos, 检查 CI 状态, 创建问题, 搜索 repos, 查看最近的活动 .

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:GitHub Integration Skill、Capabilities、Usage、Setup、1. Generate GitHub Personal Access Token、2. Configure Credentials。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

Query and manage GitHub repositories - list repos, check CI status, create issues, search repos, and view recent activity.

GitHub Integration SkillCapabilitiesUsageSetup1. Generate GitHub Personal Access Token2. Configure Credentials3. Restart OpenClawSecurity NotesRate LimitsRequirements

来源分类:ClawHub GitHub

SKILL.md 与 Agent 调用

官方规范 ↗
name
github
description
Query and manage GitHub repositories - list repos, check CI status, create issues, search repos, and view recent activity.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「github」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-a086136939d689c8-Github.html
请存为 .cursor/skills/github/SKILL.md 或 .claude/skills/github/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

当前没有明确的 GitHub 技能包地址,请按来源页面的安装器说明操作。

ClawHub ↗

阅读排版

name: github description: Query and manage GitHub repositories - list repos, check CI status, create issues, search repos, and view recent activity. metadata: openclaw: emoji: "🐙" requires: env: - GITHUB_TOKEN - GITHUB_USERNAME config: - github.token - github.username

GitHub Integration Skill

Query and manage GitHub repositories directly from your AI assistant.

Capabilities

| Capability | Description | |------------|-------------| | list_repos | List your repositories with filters | | get_repo | Get detailed info about a specific repo | | check_ci_status | Check CI/CD pipeline status | | create_issue | Create a new issue in a repo | | create_repo | Create a new repository | | search_repos | Search your repositories | | get_recent_activity | Get recent commits |

Usage

You: List my Python repos
Bot: [lists your Python repositories]

You: Check CI status on my main project
Bot: [shows CI/CD status]

You: Create an issue about the bug
Bot: [creates the issue]

Setup

1. Generate GitHub Personal Access Token

  1. Go to https://github.com/settings/tokens
  2. Click "Generate new token (classic)"
  3. Name: openclaw-github-skill
  4. Scopes: repo (required), read:user (optional)
  5. Copy the token

2. Configure Credentials

Option A: Environment Variables (Recommended)

Set environment variables before starting OpenClaw:

export GITHUB_TOKEN="ghp_your_token_here"
export GITHUB_USERNAME="your_github_username"

Option B: OpenClaw Config

Add to ~/.openclaw/openclaw.json:

{
  "github": {
    "token": "ghp_your_token_here",
    "username": "your_username"
  }
}

3. Restart OpenClaw

openclaw gateway restart

Security Notes

⚠️ Protect Your Token:

  • Never commit your token to git or share it publicly
  • Use the minimal required scopes (repo for private repos, public_repo for public-only)
  • Rotate your token if you suspect it was compromised
  • Consider using a secrets manager for production use

⚠️ Best Practices:

  • Don't store tokens in shell profiles (~/.zshrc) on shared machines
  • For local development, environment variables are acceptable
  • For production, use your platform's secret/credential store

Rate Limits

  • Unauthenticated requests: 60/hour
  • Authenticated requests: 5,000/hour

Requirements

  • OpenClaw gateway running
  • GitHub Personal Access Token with appropriate scopes

相关技能

开发工程

Github

使用`gh' CLI与 GitHub 进行互动。 使用`gh问题 ' 、`gh pr ' 、`gh run ' 和`gh api'处理问题、公关、CI运行和高级询问.

开发工程

Elite Longterm Memory

Cursor, Claude, ChatGPT & Copilot的终极AI代理内存系统. WAL协议+向量搜索+git-notes+云备份. 永远不要失去背景。 维比编码准备好了.

开发工程

Answeroverflow

通过Answer Overflow搜索索引的Discord社区讨论. 寻找只存在于Discord对话中的编码问题、库问题和社区QQA的解决方案.

开发工程

Git Essentials

基本内容 Git 命令和工作流程用于版本控制,分支,以及协作.