Weaver E10 Login Tool
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @org-vsc9dz4y/weaver-e10-login.
About this skill
Problem
Before calling Weaver E10 backend APIs, engineers usually need a valid session, a maintained ETEAMSID, and consistent handling of agent type and multi-environment differences. The Weaver E10 Login Tool is scoped to login and auth management, separating browser-based OAuth2.0 authorization, cookie writing, status checks, and user verification from business request code.
How It Works
- OAuth2.0 login: start a browser authorization flow with
e10-login oidc --base-url ...;--agent_typecan set values such asWorkBuddy,ClaudeCode, orCodex. - Manual session entry: if
localhostcallbacks are blocked, copyETEAMSIDfrom browser DevTools and persist it withe10-login set --eteamsid ... --base-url .... - Status and identity checks:
e10-login statusreports whether the cookie is expired;e10-login whoamicalls backendteamsCheckto validate the current user, with--jsonfor the raw payload. - Multi-environment profiles: manage different
baseUrl,passportUrl, andtenantKeyvalues usingprofile list,profile use, andprofile current.
Auth files are written to ~/.e10-cli/profiles/<profile>/auth, encrypted with AES-256-GCM and shared with e10-cli. cookies.raw stores the full cookie string and is preferred when sending requests because it can include fields such as langType and LOGIN_TYPE; if absent, the tool falls back to ETEAMSID=.... agentType is added to the cookie and also affects the User-Agent and isAgent=true marker.
Boundaries
This is not a general Weaver E10 business CLI. It does not wrap approvals, workflows, or business data queries directly; it focuses on login state, session files, and auth status. If the backend enforces extra rules around agent type, tenant isolation, or cookie expiry, each environment still needs explicit verification.
Use Cases
- Before calling E10 backend APIs, complete first-time login via OAuth2 browser authorization and save the session.
- When localhost callbacks fail, copy ETEAMSID from DevTools and write it into the target environment.
- Switch between multiple E10 environments and confirm the currently active profile.
- Before business API calls, check cookie expiry and verify the logged-in user with whoami.
Best For
- Backend engineers integrating Weaver E10 APIs who need stable login state acquisition and checks.
- Technical owners maintaining multiple E10 environments who need managed baseUrl and tenant profiles.
- Automation engineers debugging session issues who need manual ETEAMSID entry and identity verification.
- Integration developers wrapping E10 CLI or scripts who need shared auth files under ~/.e10-cli.
Related Skills
Organizes files by extension into subfolders like Documents, Code, and Archives, then outputs a report.
Extract tables, formulas, charts, and layout from invoices, reports, papers, and multi-column documents.
Generates a multi-sheet Excel report containing only structured data tables from byteplan-analysis results.
Automatically sort directory files into type-based folders, with dry-run preview, reports, and JSON custom rules.