Skip to content
cyrusagents avatar

Cyrus Setup Github

Configure GitHub CLI, git identity, and an optional GitHub App for Cyrus PR workflows.

CCM score
55 of 100
skills.sh installs
1.1K
GitHub stars
919
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers GitHub CLI login and git identity setup so Cyrus can create branches, commits, and pull requests
  • Includes optional GitHub App creation via manifest flow to receive @mentions in PR comments and reviews
  • Enforces that ~/.cyrus/.env and files inside ~/.cyrus/ are accessed only through Bash, never read into context
  • Designed for teams wanting Cyrus to respond to PR comments, automate rebases and merges, and auto-fix CI failures (coming soon)

Install

$ npx -y skills add cyrusagents/cyrus --skill cyrus-setup-github -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CRITICAL: Never use Read, Edit, or Write tools on ~/.cyrus/.env or any file inside ~/.cyrus/. Use only Bash commands (grep, printf >>, etc.) to interact with env files — secrets must never be read into the conversation context.

Setup GitHub

Configures GitHub CLI and git so Cyrus can create branches, commits, and pull requests. Optionally creates a GitHub App so Cyrus can receive and respond to @mentions in PR comments and reviews, automate rebases and merges, and auto-fix based on CI failures (coming soon).


Part A: GitHub CLI + Git Config (Outbound)

Step 1: Check Existing Configuration

Check if gh is already authenticated:

gh auth status 2>&1

If authenticated, check git config:

git config --global user.name
git config --global user.email

If both gh auth and git config are set, inform the user:

GitHub is already configured. Skipping to webhook setup.

Skip to Part B.

Step 2: Authenticate GitHub CLI

If gh is not authenticated:

gh auth login

This opens an interactive browser flow. Let the user complete it.

After completion, verify:

gh auth status

Details

Repository
github.com/cyrusagents/cyrus
Categories
Git & Releases, Agent Workflow & Planning
First seen
Jun 3, 2026

Questions

What does the cyrus-setup-github skill do?

It configures the GitHub CLI login and git user name and email so Cyrus can create branches, commits, and pull requests. It can also optionally create a GitHub App so Cyrus can respond to @mentions in PR comments and reviews, and automate rebases and merges.

How do I install the cyrus-setup-github skill?

Run npx -y skills add cyrusagents/cyrus --skill cyrus-setup-github -y in your project. Once installed, the agent can walk you through authenticating gh and setting git identity.

Which skills lead the Git & Releases category, and where does this one stand?

This skill is in the Git & Releases category alongside triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. It stands apart by setting up GitHub for Cyrus, the agent that answers issues and PR comments.

What do I need before running cyrus-setup-github?

You need the GitHub CLI installed so you can log in through gh auth login in a browser. For the optional webhook part you also need a CYRUS_BASE_URL already set in ~/.cyrus/.env from the endpoint setup step.

More from cyrusagents/cyrus

All 14

Similar to Cyrus Setup Github

More Git & Releases