olares-shared
OfficialFoundation for olares-cli profile and auth.
Software Engineering#security#authentication#profile#token-management#refresh-token#two-factor-auth#olares-cli
Authorbeclab
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Centralizes and standardizes the olares-cli authentication lifecycle by providing a reusable profile model, first-time login with password + TOTP, bootstrap from an existing refresh token, and robust handling for profile switching, listing, and removal across OS keychains and token stores.
Core Features & Use Cases
- Profile lifecycle: login (password + optional 2FA), import from a refresh token, list profiles with status, switch current profile, and remove profiles.
- Global profile flag: use --profile to script actions against multiple profiles without changing the current one.
- Token storage and refresh: describes where tokens live per OS and automatic token refresh via /api/refresh with reactive retry and proactive refresh for streaming uploads.
- Recovery and troubleshooting: guidance for common auth errors (expired/invalid tokens, not logged in, 2FA required) and how to recover by re-authenticating or importing.
- Use cases: suitable whenever configuring olares-cli for the first time, scripting parallel invocations, or managing multiple identities.
Quick Start
Run olares-cli profile login --olares-id <id> to create or authenticate your first profile.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: olares-shared Download link: https://github.com/beclab/Olares/archive/main.zip#olares-shared Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.