GitHub Personal Repo Publisher for Openclaw

A specialized skill for automating the creation, wiring, and pushing of local Git projects to personal GitHub accounts using SSH and 1Password-managed credentials.

grey0758
v1.0.0
Apr 8, 2026
0
892
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install github-personal-repo-publisher

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-personal-repo-publisher 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 Personal Repo Publisher?

The GitHub Personal Repo Publisher is a high-precision automation tool designed to streamline the transition from local development to remote hosting. By leveraging SSH authentication and 1Password for Personal Access Token (PAT) management, it provides a secure and repeatable workflow for developers. As a core component of your Openclaw Skills library, it ensures that your repository setup follows best practices, such as defaulting to private visibility and maintaining clear boundaries between local-only and pushed history.

This skill is particularly valuable for developers who need to manage multiple repositories or accounts without manually configuring remotes or handling sensitive credentials in plain text. It integrates seamlessly into modern AI-driven coding environments, providing a reliable bridge between your local worktree and the GitHub cloud infrastructure.

GitHub Personal Repo Publisher Use Cases

  • Creating a new private GitHub repository for a local prototype automatically.
  • Safely wiring a local project to a remote origin using 1Password-stored credentials.
  • Transitioning a local-only project to a remote Git hosting service while preserving commit history.
  • Managing complex SSH aliases and authenticated pushes within Openclaw Skills workflows.

How GitHub Personal Repo Publisher Works

  1. Scans the local project to verify the current Git state and branch history.
  2. Performs an SSH handshake with GitHub to ensure the local environment is authorized.
  3. Checks the GitHub API to determine if the target repository already exists.
  4. Provision a new repository via the REST API if necessary, using a PAT retrieved from 1Password.
  5. Configures or updates the local origin remote to match the GitHub SSH alias.
  6. Pushes the active branch to the remote and establishes upstream tracking.
  7. Validates the push status and reports exactly which commits were transferred and what remains local.

GitHub Personal Repo Publisher Setup

To use this skill effectively within your Openclaw Skills environment, ensure you have the following prerequisites configured:

# 1. Install 1Password CLI (op) and ensure you are logged in
op signin

# 2. Configure your SSH config (~/.ssh/config) with the appropriate GitHub alias
# Host github-personal
#   HostName github.com
#   User git
#   IdentityFile ~/.ssh/your_key

# 3. Ensure your PAT is stored in 1Password under the expected vault path

GitHub Personal Repo Publisher Data Schema & Taxonomy

The skill processes and generates the following metadata and configuration data during its lifecycle:

Attribute Description
Repository Name The target name for the GitHub repository, derived from the local directory or user input.
Visibility Defaulted to 'private' unless specified as 'public'.
PAT Source Dynamically retrieved from 1Password vault (e.g., op://OpenClaw/GitHub PAT).
Remote Alias Typically 'origin' pointing to a custom SSH host alias.
Sync Status A report of committed vs. uncommitted files to maintain the publish boundary.

GitHub Personal Repo Publisher Advanced Features

  • Zero-exposure credential handling via 1Password CLI integration.
  • Intelligent fallback to GitHub REST API when the gh command-line tool is unavailable.
  • Support for custom SSH host aliases to manage multiple developer identities within Openclaw Skills.
  • Automatic 'dirty worktree' detection to prevent the accidental reporting of uncommitted files as published.
  • Configurable repository visibility settings that prioritize privacy by default.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*