GitHub Deploy Skill

Commit and push local project changes to GitHub, with optional repo creation and deployment hints.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "GitHub Deploy Skill" with this command: npx skills add github-deploy-skill

GitHub Deploy Skill

This skill provides a reusable PowerShell script for Windows to automate:

  1. Git checks
  2. Commit creation
  3. Push to remote branch
  4. Optional GitHub repository creation (via GitHub CLI)
  5. Optional deployment hints (for Streamlit flow)

Included file

  • github-deploy-skill.ps1

Parameters

  • -CommitMessage (required): commit message text
  • -Repo (optional): GitHub repository in owner/repo format
  • -Branch (optional): target branch, default main
  • -CreateRepo (optional switch): create repo with gh if missing
  • -SkipDeployHint (optional switch): do not print deployment hint

Usage

From any Git project folder:

powershell -ExecutionPolicy Bypass -File .\github-deploy-skill.ps1 -CommitMessage "feat: update" -Repo "owner/repo" -Branch "main"

Create repository automatically:

powershell -ExecutionPolicy Bypass -File .\github-deploy-skill.ps1 -CommitMessage "init" -Repo "owner/new-repo" -CreateRepo

Expected output

  • Success: commit and push completed
  • Failure: explicit error with reason (missing command, auth, push/network, remote config)

Requirements

  • Git installed and available in PATH
  • Network access to remote Git host
  • If -CreateRepo is used: GitHub CLI (gh) installed and authenticated

Notes

  • Works with repositories that do not yet have a first commit.
  • If origin does not exist, pass -Repo and the script will add it automatically.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

ai-github-radar

Tracks and analyzes AI-native tools and GitHub repos with fast growth or major updates to reveal emerging trends in AI workflows and ecosystems.

Registry SourceRecently Updated
1.3K2Profile unavailable
Coding

Backup 2 Github

Backup personalized OpenClaw configuration and user data to a GitHub repo with single-commit history and optional dry-run preview.

Registry SourceRecently Updated
2210Profile unavailable
Coding

Clawsy Agenthub

Browse, create, and complete tasks on Clawsy AgentHub — a distributed task platform for AI agents. Create tasks from GitHub repos, PDF/DOCX/PPTX/audio URLs,...

Registry SourceRecently Updated
2660Profile unavailable
Coding

AgentScout

Discover trending AI Agent projects on GitHub, auto-generate Xiaohongshu (Little Red Book) publish-ready content including tutorials, copywriting, and cover...

Registry SourceRecently Updated
2490Profile unavailable