ceedaragents avatar

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

Installs 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/.env and re-run this skill.

Skip to completion.

Step 2: Choose Auth Method

Ask the user:

How would you like to authenticate Claude Code?

  1. Current account (easiest) — use the credentials from your active claude CLI session
  2. API Key — from console.anthropic.com
  3. Separate OAuth token — run claude setup-token to generate a token for a specific account
  4. Third-Party Provider — Vertex AI, AWS Bedrock, Azure, etc.

Sponsors

Details

Repository
github.com/ceedaragents/cyrus
Category
Backend & APIs
First seen
Jun 3, 2026

More from ceedaragents/cyrus

All 14
1vercel-labs avatarauthvercel-labs/vercel-pluginauth232skills.sh installs
2pluginagentmarketplace avatarjwt-authenticationpluginagentmarketplace/custom-plugin-nodejsImplement secure JWT (JSON Web Token) authentication in Node.js applications with access/refresh tokens and role-based access control226skills.sh installs
3davila7 avataropentargets-databasedavila7/claude-code-templatesQuery Open Targets Platform for target-disease associations, drug target discovery, tractability/safety data, genetics/omics evidence, known drugs, for therapeu219skills.sh installs
4intellectronica avatarmonologue-notes-apiintellectronica/agent-skills>217skills.sh installs
5aradotso avatarfreellmapi-proxyaradotso/trending-skillsfreellmapi proxy212skills.sh installs
6sickn33 avatargraphql-architectsickn33/antigravity-awesome-skillsgraphql architect201skills.sh installs