
Cyrus Setup Claude Auth
This handles the authentication setup for Claude Code within Cyrus, letting you choose between your current Claude CLI session, a direct API key from console.anthropic.com, a separate OAuth token, or third party providers like Bedrock and Vertex. The implementation is security focused: it never reads secrets into context and instead uses bash commands to append credentials or opens your GUI editor for manual pasting. It checks if auth already exists before running, verifies the credential was actually written, and walks you through the clipboard or terminal workflow depending on your OS. Useful for initial Cyrus setup or when switching between authentication methods without accidentally leaking tokens into the conversation history.
- skills.sh installs
- 250
- GitHub stars
- 615
- last updated
- Jun 3, 2026
Install
$ npx -y skills add ceedaragents/cyrus --skill cyrus-setup-claude-auth --agent claude-codeInstalls into .claude/skills of the current project.
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 Claude Auth
Configures Claude Code credentials so Cyrus can run AI sessions.
Step 1: Check Existing Auth
Check if credentials are already configured:
grep -c -E '^(ANTHROPIC_API_KEY|CLAUDE_CODE_OAUTH_TOKEN)=' ~/.cyrus/.env 2>/dev/null || echo "0"
If the count is >= 1, inform the user:
Claude Code authentication is already configured. Skipping this step. To reconfigure, remove the existing key from
~/.cyrus/.envand re-run this skill.
Skip to completion.
Step 2: Choose Auth Method
Ask the user:
How would you like to authenticate Claude Code?
- Current account (easiest) — use the credentials from your active
claudeCLI session- API Key — from console.anthropic.com
- Separate OAuth token — run
claude setup-tokento generate a token for a specific account- Third-Party Provider — Vertex AI, AWS Bedrock, Azure, etc.
Sponsors
Details
- Repository
- github.com/ceedaragents/cyrus
- Category
- Backend & APIs
- First seen
- Jun 3, 2026