使い方
- インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
- 必要なツール、認証情報、対応環境を原文で確認します。
- 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/cyrusagents/cyrus --skill cyrus-setup-repository開始前の確認
- 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
- スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。
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 -lIf repositories are already configured, list them:
cat ~/.cyrus/config.json 2>/dev/nullInform 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:
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)
