github-repo-management

Clone, fork, and manage GitHub repositories via gh and curl.

13|3|Updated May 12, 2026
One-click install
npx skills add https://github.com/kevinnft/ai-agent-skills --skill github-repo-management-kevinnft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-repo-management
Source: https://github.com/kevinnft/ai-agent-skills/tree/main/skills/github/github-repo-management
Command: npx skills add https://github.com/kevinnft/ai-agent-skills --skill github-repo-management-kevinnft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive, language-agnostic guide to managing GitHub repositories, enabling users to clone, fork, create, configure remotes, and manage releases, secrets, and actions from a single reference.

Core Features & Use Cases

  • Cloning and forking repositories with both gh and git+curl approaches.
  • Creating new repositories under user or organization accounts, with optional templates, initialization, and initial pushes.
  • Configuring repository settings, topics, secrets, and release pipelines, plus interacting with GitHub Actions workflows.
  • Use Case: A developer needs to mirror an organization’s repo structure in their workspace, set up a fork that tracks upstream, and establish a CI workflow with secrets for deployment.

Quick Start

Ask the assistant to clone or create a repository and set up remotes and basic workflows.

Frequently Asked Questions about github-repo-management

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

FAQPage Schema
How do I clone and fork GitHub repositories from the command line?

To clone and fork GitHub repositories from the command line, you can use either the gh CLI tool or standard git combined with curl. This approach allows you to mirror repo structures and set up forks that track upstream changes.

Can I create new GitHub repositories under an organization using gh?

Yes, you can create new GitHub repositories under an organization using gh. The process supports creating repos from optional templates, initializing them with necessary files, and pushing your initial commits directly from the command line.

What's the best way to manage GitHub secrets and CI workflows for my repos?

The best way to manage GitHub secrets and CI workflows is by using gh or curl to configure repository settings and interact with GitHub Actions. This enables you to establish deployment pipelines and securely manage secrets for your organizational workstreams.

Do I need authenticated access to manage repos with git and curl?

Yes, you need authenticated access to manage repos with git and curl. You must authenticate either through the GitHub CLI (gh) or by providing a personal access token to perform operations under user or organization scopes.

How do I configure remotes for a forked repository to track upstream?

To configure remotes for a forked repository to track upstream, use command-line git tools to set remote URLs. This ensures your local workspace syncs correctly with the original organization's repository structure.

Does this approach support configuring repository topics and releases?

Yes, this command-line approach supports configuring repository topics and managing release pipelines. You can apply these configurations to personal projects or organizational workstreams using gh or curl commands.