github-repo-management

Automate GitHub repository cloning, creation, forking, and administration via gh and REST API.

Updated May 15, 2026
One-click install
npx skills add https://github.com/cabezno/bmb-encover-agent --skill github-repo-management-cabezno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-repo-management
Source: https://github.com/cabezno/bmb-encover-agent/tree/main/skills/github/github-repo-management
Command: npx skills add https://github.com/cabezno/bmb-encover-agent --skill github-repo-management-cabezno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Managing GitHub repositories is slow and error-prone when you repeatedly need to clone, create, configure settings, handle releases, and manage secrets across many projects.

Core Features & Use Cases

  • Repository cloning and setup: Clone existing repositories via gh or git, including shallow clones and branch-targeted clones.
  • Repository lifecycle management: Create repositories (including from templates) and fork repositories, then configure remotes like upstream.
  • Repository administration at scale: Retrieve repo info, edit settings, apply branch protection rules, manage GitHub Actions secrets, and manage releases.
  • Automation for CI/CD workflows: List workflows, inspect recent runs, rerun failed workflows/jobs, and trigger dispatch workflows.

Quick Start

Ask the agent to create a new private GitHub repository from an existing local folder and push your current project history to it.

Frequently Asked Questions about github-repo-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GitHub repository creation and push an existing local project?

You can automate GitHub repository creation from a local folder and push project history using gh commands or REST API fallbacks. This streamlines repository setup and remote configuration without manual web interface interaction.

Can I manage GitHub Actions secrets and rerun failed workflows from the command line?

Yes, you can manage GitHub Actions secrets, inspect workflow runs, rerun failed jobs, and trigger dispatch workflows via command line. This provides safe API-driven control over CI/CD pipeline operations and artifact management.

Do I need a GitHub token to clone repositories and apply branch protection rules?

Yes, you need an authenticated GitHub session using a GITHUB_TOKEN or gh auth login to manage branch protection rules and repository settings. This ensures safe API-driven control over administrative configurations.

What is the best way to fork a repository and configure the upstream remote?

The best way to fork a repository and configure upstream remotes is through automated gh commands or REST API fallbacks. This handles the repository lifecycle by creating the fork and setting up local tracking for upstream changes.

How does shallow cloning work when targeting a specific GitHub branch?

Shallow cloning fetches a truncated history of a specific GitHub branch via gh or git commands. This accelerates repository setup by downloading only recent commits instead of the entire project history.