GitHub Passwordless Setup for Openclaw

A comprehensive skill to automate GitHub authentication using SSH keys and Personal Access Tokens for zero-password operations.

happydog-intj
v1.0.0
Feb 21, 2026
0
1.4k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install github-passwordless-setup

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-passwordless-setup 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 Passwordless Setup?

The GitHub Passwordless Setup is a developer-centric tool designed to eliminate the friction of manual authentication during Git operations and GitHub CLI usage. By leveraging Openclaw Skills, developers can automate the generation of secure ED25519 SSH keys and the configuration of Personal Access Tokens (PAT), ensuring that operations like pushing, pulling, and repository management are seamless and secure.

This skill is essential for maintaining high productivity in automated environments where manual password entry is a bottleneck. It provides a standardized way to manage credentials across different operating systems, including macOS, Linux, and Windows WSL2, while adhering to the latest security best practices recommended by GitHub.

GitHub Passwordless Setup Use Cases

  • Eliminating repetitive password prompts during git push and pull operations.
  • Automating repository creation and management via the GitHub CLI without re-authentication.
  • Setting up persistent authentication for CI/CD environments or local development machines.
  • Transitioning existing HTTPS repositories to secure SSH-based remotes automatically.

How GitHub Passwordless Setup Works

  1. The skill initiates by checking for existing SSH keys in the local environment to prevent duplication.
  2. It generates a high-security ED25519 SSH key and guides the user through adding the public key to their GitHub account settings.
  3. It verifies the SSH connection to ensure secure, password-free Git communication.
  4. The skill facilitates the installation and authentication of the GitHub CLI (gh) using a Personal Access Token.
  5. It configures the global Git protocol to favor SSH for all future operations.

GitHub Passwordless Setup Setup

To quickly initialize the setup, you can use the automated one-liner script provided by Openclaw Skills:

curl -fsSL https://raw.githubusercontent.com/happydog-intj/github-passwordless-setup/master/setup.sh | bash

Alternatively, follow the manual configuration to generate your key:

ssh-keygen -t ed25519 -C "[email protected]"

Add the resulting public key to your GitHub account and authenticate the CLI:

gh auth login --with-token

GitHub Passwordless Setup Data Schema & Taxonomy

The skill manages and interacts with several key configuration files and data structures to ensure Openclaw Skills function correctly:

Location File Type Purpose
~/.ssh/ Private/Public Keys Stores ED25519 or RSA keys for SSH authentication.
~/.config/gh/ YAML Config Stores GitHub CLI authentication tokens and host settings.
~/.gitconfig INI Config Stores global Git settings, including the preferred SSH protocol.
~/.ssh/config SSH Config Manages custom host aliases for multi-account support.

GitHub Passwordless Setup Advanced Features

  • Multi-account management: Support for multiple GitHub profiles using custom SSH config aliases.
  • Environment Variable Integration: Auto-authentication support using GH_TOKEN for non-interactive environments.
  • Batch Conversion: Automated script to find and convert all local HTTPS repositories to SSH remotes.
  • Git Aliases: Pre-configured shortcuts for common workflows like force-pushing safely or undoing commits.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*