Cyrus Setup Repository
Register one or more Git repositories with Cyrus so it can process issues from them.
- CCM score
- 51 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 919
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers checking existing repos, adding each Git URL via
cyrus self-add-repo, and verifying the registration inconfig.json - Includes an optional workspace argument for setups with multiple Linear workspaces and a loop prompt to add more repos
- Enforces Bash-only access to
~/.cyrus/env files so secrets are never read into the conversation context - Designed for users who need Cyrus to clone and work on additional codebases after initial setup
Install
$ npx -y skills add cyrusagents/cyrus --skill cyrus-setup-repository -yInstalls 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 Repository
Adds Git repositories to Cyrus so it knows which codebases to work with.
Step 1: Check Existing Repositories
cat ~/.cyrus/config.json 2>/dev/null | grep -o '"url"' | wc -l
If repositories are already configured, list them:
cat ~/.cyrus/config.json 2>/dev/null
Inform the user which repos are already added.
Step 2: Add a Repository
Ask the user:
What is the Git URL of the repository you want Cyrus to work with? (e.g.,
https://github.com/yourorg/yourrepo.git)
Run:
cyrus self-add-repo <url>
This clones the repo to ~/.cyrus/repos/ and registers it with the Linear workspace.
If multiple workspaces are configured, ask which workspace to use:
cyrus self-add-repo <url> "<workspace name>"
Verify the repo was added:
cat ~/.cyrus/config.json | grep "<repo-name>"
Step 3: Add More?
Ask the user:
Details
- Repository
- github.com/cyrusagents/cyrus
- Categories
- AI Agents & LLM Apps, Git & Releases
- First seen
- Jun 3, 2026
Questions
How do I add a Git repository to Cyrus with cyrus-setup-repository?
cyrus-setup-repository asks for the Git URL of the repository you want Cyrus to work with, then runs cyrus self-add-repo with that URL. The command clones the repo into ~/.cyrus/repos/ and registers it with your Linear workspace. If several workspaces are configured, it asks which one to use.
What does cyrus-setup-repository check before adding a repository?
cyrus-setup-repository first reads ~/.cyrus/config.json to list repositories already configured. It tells you which repos are already added before it asks for a new Git URL. After adding one, it asks whether you want to add another.
How do I install cyrus-setup-repository?
Run npx -y skills add cyrusagents/cyrus --skill cyrus-setup-repository -y in a project to install it. Once installed, the skill lets your agent register Git repositories with Cyrus so it can process issues from them.
Which skills lead cyrus-setup-repository in the AI Agents and LLM Apps category?
cyrus-setup-repository sits in the AI Agents and LLM Apps category, where microsoft-foundry, azure-ai and the google-agents-cli skills are listed. This skill is narrower, covering only adding repositories to Cyrus configuration. It does not set up Cyrus itself or handle the Linear integration.
Does cyrus-setup-repository ever read my Cyrus secrets file?
No, cyrus-setup-repository forbids the Read, Edit and Write tools on ~/.cyrus/.env and any file in ~/.cyrus/. It uses only Bash commands such as grep and printf to work with env files, so secrets stay out of the conversation.
More from cyrusagents/cyrus
All 14Similar to Cyrus Setup Repository
More AI Agents & LLM Appscyrus-setup-githubSkillcyrusagents/cyrus1.1K installsConfigure GitHub CLI, git identity, and an optional GitHub App for Cyrus PR workflows.
cyrus-setup-launchSkillcyrusagents/cyrus1.1K installsPrint a formatted setup summary, then configure Cyrus to run persistently via pm2, systemd, or foreground mode.
auto-repo-setupPlugindaymade/claude-code-skills1.6K starsEvidence-driven repository setup, repair, handoff, and safe Git workflow for Claude Code or Codex. Detects the actual stack from project instructions and manife
MCP Git IngestMCP serveradhikasp315 starsRead-only access to GitHub repository trees and selected files, cloned on demand.
githubSkillcallstackincubator/agent-skills9.8K installsGuide to GitHub workflows with the gh CLI for pull requests, branching, and repository automation.