github

GitHub

提供GitHub仓库管理功能,包括列表查询、CI状态检查、Issue创建及搜索等。支持通过环境变量或配置文件配置访问凭证,并包含安全最佳实践与速率限制说明。

skills/openclaw-github-assistant/SKILL.md heyron-ai/agent-library

Trigger Scenarios

查询GitHub仓库列表 检查CI/CD流水线状态 创建GitHub Issue 搜索GitHub仓库

Install

npx skills add heyron-ai/agent-library --skill github -g -y
More Options

Use without installing

npx skills use heyron-ai/agent-library@github

指定 Agent (Claude Code)

npx skills add heyron-ai/agent-library --skill github -a claude-code -g -y

安装 repo 全部 skill

npx skills add heyron-ai/agent-library --all -g -y

预览 repo 内 skill

npx skills add heyron-ai/agent-library --list

SKILL.md

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

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

Version History

  • fcecd5d Current 2026-07-25 05:36

Same Skill Collection

skills/email-marketing/SKILL.md
skills/finance-lite/SKILL.md
skills/human-writing/SKILL.md
skills/market-research/SKILL.md
skills/morning-daily-briefing/SKILL.md
skills/notion-cli/SKILL.md
skills/porteden-email/SKILL.md
skills/real-estate-skill/SKILL.md
skills/self-improvement/SKILL.md
skills/seo-optimizer/SKILL.md
skills/social-media-scheduler/SKILL.md
skills/automation-workflows/SKILL.md
skills/data-analysis/SKILL.md
skills/summarize-pro/SKILL.md

Metadata

Files
0
Version
fcecd5d
Hash
7481b549
Indexed
2026-07-25 05:36

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 23:43
浙ICP备14020137号-1 $mapa de visitantes$