Auth Commands

Authentication commands for GitHub access

SkillUse uses GitHub OAuth for authentication, enabling access to skills stored in public and private repositories.

login

Authenticate with GitHub using device flow OAuth.

skilluse login

This command:

  1. Opens your browser to GitHub's device authorization page
  2. Prompts you to enter a verification code
  3. Stores the access token securely in your system keychain

Running login again will start a new authentication flow, allowing you to switch accounts.

logout

Remove stored GitHub credentials.

skilluse logout

This clears:

  • Access token from system keychain
  • GitHub App installations from config

whoami

Display information about the current authenticated user.

skilluse whoami

Shows:

  • GitHub username
  • Profile URL
  • GitHub App installation status