Skip to content
Back to skills

Cyrus Setup Repository

ASecurity

Add one or more Git repositories to Cyrus configuration so it can process issues from those repos.

  • 846 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
devopsbashgit

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add cyrusagents/cyrus --skill cyrus-setup-repository --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cyrus Setup Repository?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cyrus Setup Repository
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyrusagents-cyrus-setup-repository/badge)](https://www.skillsdirectory.com/skills/cyrusagents-cyrus-setup-repository)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cyrus-setup-repository
description: Add one or more Git repositories to Cyrus configuration so it can process issues from those repos.
---

**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

```bash
cat ~/.cyrus/config.json 2>/dev/null | grep -o '"url"' | wc -l
```

If repositories are already configured, list them:

```bash
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:

```bash
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:

```bash
cyrus self-add-repo <url> "<workspace name>"
```

Verify the repo was added:

```bash
cat ~/.cyrus/config.json | grep "<repo-name>"
```

## Step 3: Add More?

Ask the user:

> **Would you like to add another repository?** (y/n)

If yes, repeat Step 2. If no, continue.

## Completion

> ✓ Repository added: `<url>`
> (repeat for each added repo)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…