- Home
- Skills
- DevOps & Cloud
- GitHub CLI Workflow – AI Repository Automation
Works with the AI Agents you already use
GitHub CLI Workflow – AI Repository Automation
by HalfSugarTea
Manage GitHub repositories from your AI agent using Git and GitHub CLI. Check repository state, commit and push changes, and open pull requests or releases.
Free
GitHub CLI Workflow – AI Repository Automation
Example session with this skill installed
Check my GitHub auth status, then create a new private repo from this current directory called "api-gateway" and push the initial commit to main.
- Read your context and instructions
- Compiled the github cli workflow
Illustrative example — no GitHub operation was executed
I would first check GitHub CLI authentication, inspect the working tree, and verify the intended owner, repository name, and private visibility. I would also review which files are about to be staged and exclude credentials and local configuration. If authentication is missing, a person must approve the GitHub device sign-in before continuing.
For a folder without Git history, initialize a main branch, stage the reviewed files, and create the initial commit. Then use GitHub CLI to create the private repository from the local checkout and push the initial branch. If the folder already has history or an origin remote, inspect that state before making changes.
After the push, verify the remote URL, private visibility, and upstream branch before reporting success.
Connects securely to your tools. The creator never sees your data.
About this skill
Manage GitHub repositories from an AI coding agent using local Git and GitHub CLI.
What you can do
- Check authentication, the current branch, working-tree changes, and remotes before acting.
- Clone repositories or create public and private repositories from local files.
- Commit and push changes, open pull requests, and create tagged releases.
- Update renamed remotes and troubleshoot authentication, scopes, and branch protection.
Frequently asked questions
Do I need a browser? GitHub device sign-in requires human approval in a browser. Day-to-day repository operations use the terminal.
What does it need access to? The agent needs a local shell and access to the selected repository files. Remote changes require a GitHub account with appropriate access. Keep credentials in your local credential store or secret manager.
Which agents can use it? Use an agent that can load SKILL.md and run local Git and GitHub CLI commands. The package includes PowerShell and Bash preflight helpers.
Requires manual human approval for the initial device login code. Host must have gh and git installed. Headless Linux environments without a keyring require specific secret manager integration.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 6 days ago
- Free with an Agensi account
- Software
GitNetwork AccessTerminal / ShelBrowser
GitHub CLI
Python
GitHub device sign-in requires human approval in a browser. Remote operations require a GitHub account with access to the target repository. Updating GitHub Actions workflow files may require the workflow scope.
Permissions
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.