跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Ops Rotate Setup

技能 已验证 活跃
属于:Ops

Interactive OAuth init wizard for the multi-account Claude rotator. Walks through every account in the rotation config, runs the Playwright magic-link flow for any account missing a keychain token, and writes verified tokens to `Claude-Rotation-<account_id>`. Re-runnable any time. Standalone alias of the same step inside `/ops:setup`.

目的

To simplify and automate the process of initializing OAuth tokens for the multi-account Claude rotator, ensuring accounts are properly configured and securely stored.

功能

  • Interactive OAuth token initialization
  • Playwright magic-link flow
  • Secure keychain token storage
  • Handles 2FA prompts
  • Re-runnable for updates or expirations

使用场景

  • Setting up new Claude accounts for the rotator
  • Re-initializing tokens for expired or rotated credentials
  • Automating the OAuth setup step during initial system configuration
  • Ensuring all configured accounts have valid session tokens

非目标

  • Automatically enabling the account rotation daemon
  • Managing or rotating API keys beyond session tokens
  • Performing any other operational tasks outside of OAuth initialization

工作流

  1. Load configuration from user or repository settings.
  2. Check if accounts are configured; if not, prompt user to add accounts or use existing keychain.
  3. For each configured account, check for existing keychain tokens.
  4. If tokens are missing, run the Playwright OAuth flow in the background.
  5. Handle magic links, 2FA prompts, and session cookie verification.
  6. Write verified tokens to the OS keychain.
  7. Provide a summary of initialized and failed accounts.

先决条件

  • Claude Code 1.0+

安装

请先添加 Marketplace

/plugin marketplace add Lifecycle-Innovations-Limited/claude-ops
/plugin install claude-ops@ops-marketplace

质量评分

已验证
95 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标9
许可证MIT
状态
查看源代码

类似扩展

Netlify Identity

100

用于身份验证、用户注册、登录、密码恢复、OAuth 提供商、基于角色的访问控制或保护路由和函数。始终使用 `@netlify/identity`。切勿使用 `netlify-identity-widget` 或 `gotrue-js` — 它们已弃用。

技能
netlify

Mongodb Mcp Setup

100

指导用户配置关键的 MongoDB MCP 服务器选项。当用户已安装 MongoDB MCP 服务器但未配置必需的环境变量,或当他们询问连接到 MongoDB/Atlas 但未设置凭据时,请使用此技能。

技能
mongodb

Auth0 Express OAuth2 JWT Bearer

100

Use when adding Auth0 token validation to Express or Node.js APIs - integrates express-oauth2-jwt-bearer SDK to protect Node.js API endpoints with JWT Bearer authentication, scope-based RBAC, claim validation, and optional DPoP support

技能
auth0

Auth0 SPA JS Integration

100

Use when adding authentication to Vanilla JS, Svelte, or any framework-agnostic single-page applications - integrates @auth0/auth0-spa-js SDK for SPAs without framework-specific wrappers

技能
auth0

Auth0 Nuxt

100

Use when implementing Auth0 authentication in Nuxt 3/4 applications, configuring session management, protecting routes with middleware, or integrating API access tokens - provides setup patterns, composable usage, and security best practices for the @auth0/auth0-nuxt SDK

技能
auth0

Auth0 Next.js

100

Use when adding authentication to Next.js applications (login, logout, protected pages, middleware, server components) - supports App Router and Pages Router with @auth0/nextjs-auth0 SDK.

技能
auth0