Skip to content

Skills: on a sign-in page, suggest importing Chrome sign-ins or signing in in the live view - #78

Merged
chenchenSimular merged 1 commit into
mainfrom
chenchen/signin-hint-skills
Nov 25, 2026
Merged

chenchenSimular merged 1 commit into
mainfrom
chenchen/signin-hint-skills

Conversation

@chenchenSimular

Copy link
Copy Markdown
Contributor

Part of simular-ai/box#397

What

Adds one line to every box skill that describes browsing in the box: claude, cursor (also used by Antigravity), gemini/GEMINI.md, grok, hermes, openai (box and get-started), openclaw and pi. It goes right after the existing "When a step needs the user ..." line:

When a site in the box's browser shows a sign-in page, don't ask the user for the password. If they use Chrome on a Mac, they can bring that site's sign-in into the box with the box desktop app (the box's Settings > Sign-ins > Import from Chrome) or by running npx @simular-ai/box credentials import in a terminal. Either way, they can also sign in themselves in the box's live view. You can only suggest the import, not start it, and some sites still ask to sign in after one.

opencode and dsh ship no skill; they get the matching hint from box's MCP server (simular-ai/box#399).

Why

Login walls are the biggest friction for agents in a box, and neither agents nor people know that Chrome sign-ins can be imported. "Sign in yourself" stays next to import because Safari can't be imported, because of MFA, and because some sites reject imported cookies.

Release order and versions (needs a decision)

  • The desktop Sign-ins card (box-portal #570) is only in desktop-v0.1.13-rc.1; box-portal #577, which makes it read real Chrome, is still a draft. Gemini and Cursor read main, so for them this text goes live on merge. Merge only after a final desktop with working import ships, or drop the desktop clause until then. The CLI path works today: @simular-ai/box 1.3.0, which is npm latest, is macOS only.
  • claude/ pins @simular-ai/box@1.2.2, which has no credentials import. The command here is left unpinned on purpose: the user runs it, not the agent, and CI's pin check matches only @simular-ai/box@.
  • No version bumps here, so the text reaches only Gemini and Cursor until each plugin is bumped and released (README "Releasing"). This conflicts with Claude plugin: call box_view before the first screen action #75 (bumps claude to 0.3.6 and rewrites the line above) and Bump box-cli to 1.3.0 #77 (CLI bump); rebase after whichever merges first.
  • Agent-facing text: no CODEOWNERS or required approver in this repo.

Tested

  • claude plugin validate . and claude plugin validate ./claude pass.
  • Not done: a real client run showing an agent gives this hint on a sign-in page.

Review

An independent review subagent (simular-code-review + secure-coding) ran on the diff. Fixed: the command was simular-box credentials import, which isn't on PATH for users who never installed the CLI globally, so it is now npx @simular-ai/box credentials import; the hint now applies only if they use Chrome on a Mac (import is macOS only); dropped "the box's page" (box-portal #577 is still a draft). Raised but left for a decision: the desktop release order, version bumps and the #75/#77 merge order, and an e2e client run. Security: text only; it strengthens the existing "never ask for passwords" line, and import needs the user's own approval on their Mac.

🤖 Generated with Claude Code

@chenchenSimular
chenchenSimular merged commit edea8db into main Nov 25, 2026
22 checks passed
@chenchenSimular
chenchenSimular deleted the chenchen/signin-hint-skills branch November 25, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant