GitHub Operations (github-ops) for Openclaw

A fully autonomous skill for managing GitHub repositories, pushing code, and handling releases without user intervention.

sandmark78
v1.0.0
Feb 28, 2026
1
4.2k
58

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install github-ops

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install github-ops using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is GitHub Operations (github-ops)?

The GitHub Operations skill is a robust automation tool designed to give AI agents full control over the GitHub lifecycle. By integrating this capability into Openclaw Skills, agents can move beyond simple code generation to active project management, including repository initialization, remote synchronization, and release orchestration. It operates on the principle of high autonomy, ensuring that the agent can deliver results—such as a live repository or a tagged release—without requiring the developer to manually manage tokens or run git commands.

GitHub Operations (github-ops) Use Cases

  • Creating new GitHub repositories automatically when starting new projects or tutorials
  • Synchronizing local documentation or code updates to remote branches
  • Managing software versioning through the automated creation of Git tags and GitHub Releases
  • Direct API-based updates to README files and repository metadata

How GitHub Operations (github-ops) Works

  1. The AI agent identifies the required GitHub action based on the user prompt or internal logic.
  2. The skill retrieves the GITHUB_TOKEN from a secured local environment file.
  3. For repository management, it uses curl to interact with the GitHub REST API (v3).
  4. For code transfers, it configures the remote origin using the authenticated token and executes standard git push operations.
  5. The lifecycle completes by returning the final URL or release version to the agent for confirmation.

GitHub Operations (github-ops) Setup

To enable this skill within Openclaw Skills, ensure that git and curl are available in your environment. You must also securely store your GitHub Personal Access Token:

# Create the secrets directory
mkdir -p ~/.openclaw/secrets

# Save your GitHub Token
echo "YOUR_GITHUB_TOKEN" > ~/.openclaw/secrets/github_token.txt

# Set strict file permissions
chmod 600 ~/.openclaw/secrets/github_token.txt

GitHub Operations (github-ops) Data Schema & Taxonomy

The skill manages data across the local workspace and remote GitHub API. Key data components include:

Component Path / Source Purpose
GITHUB_TOKEN ~/.openclaw/secrets/github_token.txt Authentication for API and Git operations
Local Repo /home/node/.openclaw/workspace The working directory for git versioning
API Endpoint https://api.github.com Target for repository and release management

GitHub Operations (github-ops) Advanced Features

  • Zero-Intervention Workflow: Handles token injection and repository creation without prompting the user
  • Automated Deployment Triggers: Pushing code via this skill can automatically trigger Vercel or GitHub Actions pipelines
  • High-Performance API Integration: Optimized curl commands ensure repository creation and release management occur in under 3 seconds
  • Secure Credential Handling: Utilizes filesystem-level permissions to protect sensitive API tokens from unauthorized access

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins gitcurl
Github Stars: 0
forks: 0

Featured*