Skills 2026-05-20 17:58 UTC
skills
Committed by aashirjaved. Update Category: Documentation Updates. Commit details: docs(moonpay-auth): document URL-share step and session check before login (#85). This update refines the documentation for easier onboarding.
CommitRaw commit message
docs(moonpay-auth): document URL-share step and session check before login (#85) Two changes, both targeting agents that drive `mp login` on behalf of a human (chat-channel agents in particular): 1. URL share. `mp login` returns a URL whose opening is what triggers the OTP email send. The skill previously described login as OTP-only, so an agent following it would say "I sent a code to your email" and the user would never receive one — login stalls silently. The skill now tells the agent to open the URL itself if it can (e.g. browser access, fetch) or share it back to the user verbatim, with query parameters intact. 2. Session check. Before any `mp login`, run `mp user retrieve` and prompt the user if a session already exists. On a shared agent host without this gate, an agent can silently swap identities and serve the wrong user's portfolio in response to a "what's my balance" query. Both fixes are doc-only; no CLI change required.