Choose an Anthropic OAuth account by email and tier inside ordinary Claude, with session-local authentication, selected-account reporting and resumable setup on macOS, Linux, WSL and Windows
18 events · 28 calls
Ships in rice-session-accounts. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runprocess.spawnhttp.fetchfs.writefs.existsfs.readfs.statenv.getenv.setsettings.readprompt.submitEach event it registers a hook on, with the matcher when it sets one
process.runprocess.spawntool.call{tool=Bash}ui.render{component=Pane}session.startturn.startsession.endcommand.run{command=rice-account}session.authorizehttp.fetchsession.*turn.completecommand.run{command=usage}command.run{command=status}model.*session.compactagent.spawntool.call{tool=WebFetch}tool.call{tool=WebSearch}prompt.submitturn.stepprompt.autocompleteEvery mods API method its source calls, by namespace
afternowsleepregistergetsetexistsreadstatwritefetchruncwdmodelversionreadgetsetdeletegetsetcloseinvalidatelogopenresolvestatustoastANTHROPIC_API_KEYANTHROPIC_AUTH_TOKENANTHROPIC_BASE_URLANTHROPIC_BEDROCK_BASE_URLANTHROPIC_CUSTOM_HEADERSANTHROPIC_FEDERATION_RULE_IDANTHROPIC_FOUNDRY_API_KEYANTHROPIC_FOUNDRY_BASE_URLANTHROPIC_FOUNDRY_RESOURCEANTHROPIC_ORGANIZATION_IDANTHROPIC_VERTEX_BASE_URLANTHROPIC_VERTEX_PROJECT_IDAWS_BEARER_TOKEN_BEDROCKAWS_PROFILEAWS_REGIONCLAUDE_BG_AUTH_SNAPSHOT_PATHCLAUDE_CODE_API_KEY_FILE_DESCRIPTORCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICCLAUDE_CODE_FORCE_WINDOWS_CREDMANCLAUDE_CODE_GATEWAY_TOKEN_FILE_DESCRIPTORWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
CLAUDE_CODE_HOST_AUTH_ENV_VARCLAUDE_CODE_HOST_CREDS_FILECLAUDE_CODE_OAUTH_TOKENCLAUDE_CODE_OAUTH_TOKEN_FILE_DESCRIPTORCLAUDE_CODE_PROVIDER_MANAGED_BY_HOSTCLAUDE_CODE_USE_ANTHROPIC_AWSCLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUDCLAUDE_CODE_USE_BEDROCKCLAUDE_CODE_USE_FOUNDRYCLAUDE_CODE_USE_GATEWAYCLAUDE_CODE_USE_MANTLECLAUDE_CODE_USE_VERTEXCLAUDE_CONFIG_DIRCLAUDE_SECURESTORAGE_CONFIG_DIRCLOUD_ML_REGIONHOMEOSSystemRootUSERUSERNAMEUSERPROFILEWINDIRGenerated from the plugin's indexed repository (moabualruz/rice-session-accounts) — no native marketplace selected
npx claudepluginhub p/moabualruz-rice-session-accounts