GitHub Push - Secure Auto-Push Tool for Openclaw

A secure automation tool for GitHub that handles SSH configuration, remote setup, and conflict resolution with built-in anti-ban mechanisms.

nimachu
v0.1.0
Mar 7, 2026
0
801
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install github-push

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-push 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 Push - Secure Auto-Push Tool?

This skill provides a robust framework for automating the git push process within AI-driven environments. It eliminates common friction points by automatically managing SSH keys and remote origin configurations, ensuring that your AI agent can reliably commit and push changes without manual intervention. By prioritizing security and reliability, this tool serves as a critical bridge between automated code generation and version control repositories.

As a core component of the Openclaw Skills ecosystem, it includes built-in intelligence to handle merge conflicts through automated rebase strategies and implements strict safety protocols to prevent account flags. Whether you are building an automated documentation pipeline or a continuous integration agent, this skill ensures consistent and safe repository updates while maintaining high technical standards.

GitHub Push - Secure Auto-Push Tool Use Cases

  • Automating code commits and updates from AI coding agents.
  • Synchronizing local generated files or documentation with GitHub repositories.
  • Managing repository updates in headless environments where SSH configuration is dynamic.
  • Handling high-frequency updates while staying within GitHub safety and rate limits.

How GitHub Push - Secure Auto-Push Tool Works

  1. Validates the local path and ensures the target repository is accessible.
  2. Automatically detects and configures the necessary SSH keys for secure authentication.
  3. Configures the git remote origin if the repository has not yet been established.
  4. Batches changes into commits based on the configured safety thresholds and commit logic.
  5. Executes the push operation, automatically resolving upstream conflicts using a pull-rebase-force strategy if required.
  6. Implements randomized cooldown timers and rate limiting to protect the user's GitHub account reputation.

GitHub Push - Secure Auto-Push Tool Setup

To integrate this capability into your workflow, follow these installation steps:

  1. Ensure the standard Git CLI is installed on your system.
  2. Execute the push script via Python:
python3 scripts/github_upload.py --repo owner/repo --path ./files --message "Update"
  1. To persist your settings and safety thresholds, create a config.yaml file in your project root to override default delays and batching rules.

GitHub Push - Secure Auto-Push Tool Data Schema & Taxonomy

The skill organizes its operations through a configuration schema and safety metrics. Data is processed following these parameters:

Parameter Description Default Value
batch_commits Groups multiple changes into single commits true
min_delay Minimum wait time between git operations 3s
max_pushes_per_hour Maximum allowed push operations to avoid flags 50
push_cooldown Mandatory wait time between successive pushes 180s

Configurations are typically stored in config.yaml, while the script logic resides in scripts/github_upload.py.

GitHub Push - Secure Auto-Push Tool Advanced Features

  • Auto SSH Config: Automatically loads and verifies SSH keys (e.g., id_ed25519) to ensure seamless authentication.
  • Anti-Ban Mechanism: Features randomized delays and commit batching to ensure automation patterns remain within safe usage limits for Openclaw Skills.
  • Conflict Resolution: Intelligent pull-rebase-force logic to handle desynchronized remote branches without manual cleanup.
  • Dry Run Support: Allows users to validate file paths and configuration settings without performing an actual remote push.
  • Smart Validation: Prevents the accidental push of sensitive files like .env or files exceeding the 100MB GitHub limit.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*