GitHub Deploy Skill for Openclaw

A PowerShell-driven automation script designed to handle Git initialization, commits, and pushes to GitHub with optional repository creation.

cruciata
v1.0.0
Mar 10, 2026
0
929
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install github-deploy-skill

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-deploy-skill 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 Deploy Skill?

The GitHub Deploy Skill is a robust utility designed for developers looking to streamline their version control workflows on Windows. By leveraging PowerShell, this skill automates the repetitive tasks of checking Git status, creating commits, and pushing code to remote branches. As part of the broader ecosystem of Openclaw Skills, it provides a consistent interface for managing project updates, ensuring that developers can focus on writing code rather than manual CLI operations.

Beyond basic Git operations, this skill integrates with the GitHub CLI to allow for the programmatic creation of repositories. This makes it particularly useful for scaffolding new projects or automating the first push of a local codebase to a remote host. It also includes specific logic to assist with deployment hints, making it a versatile tool for modern web development pipelines.

GitHub Deploy Skill Use Cases

  • Rapidly pushing local updates to a remote GitHub branch with a single command.
  • Initializing and creating new GitHub repositories directly from the local terminal.
  • Automating the deployment of Streamlit applications with integrated deployment hints.
  • Standardizing Git commit practices across multiple local projects.
  • Configuring remote origins automatically for projects that have not yet been linked to GitHub.

How GitHub Deploy Skill Works

  1. The script performs a preliminary check to ensure Git is installed and accessible in the system PATH.
  2. It analyzes the current directory to verify Git status and identify if a remote origin is already configured.
  3. Based on the provided parameters, it stages changes and creates a new Git commit with the specified message.
  4. If the -CreateRepo flag is used, it utilizes the GitHub CLI to generate a new repository on the user's account.
  5. It establishes the connection to the remote repository and pushes the local branch to the specified target (defaulting to main).
  6. Finally, it outputs a success confirmation or a detailed error message if network or authentication issues occur.

GitHub Deploy Skill Setup

To use this skill within the Openclaw Skills environment, ensure you have Git and PowerShell installed. If you intend to create repositories automatically, you must also have the GitHub CLI (gh) installed and authenticated.

Execute the skill using the following command structure:

powershell -ExecutionPolicy Bypass -File .\github-deploy-skill.ps1 -CommitMessage "your message" -Repo "owner/repo" -Branch "main"

GitHub Deploy Skill Data Schema & Taxonomy

The skill utilizes specific parameters to manage the automation flow. The following table outlines the metadata and input requirements:

Parameter Requirement Description
-CommitMessage Required The text used for the git commit step.
-Repo Optional The GitHub repository name in owner/repo format.
-Branch Optional The target branch for the push; defaults to main.
-CreateRepo Switch If present, triggers repo creation via GitHub CLI.
-SkipDeployHint Switch If present, suppresses the post-push deployment suggestions.

GitHub Deploy Skill Advanced Features

  • Smart Origin Handling: Automatically detects missing remotes and configures the origin based on the provided repository parameter.
  • Multi-Step Automation: Combines staging, committing, repo creation, and pushing into a single execution block.
  • Deployment Hints: Built-in support for Streamlit flow deployment hints to speed up web app hosting.
  • Integration Friendly: Designed to work as a standalone script or as a component within more complex Openclaw Skills automation sequences.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*