Shōkai visitor for Grok Bot
Draft (0.7.12 candidate)
This page is a labeled draft. It is not a shipped skill, not a lasting-host proof, and not a claim that anyone has installed it. Nothing here invents a deploy launcher, a Shopify or WooCommerce connector, a doorbell, or a hosted home for the owner's passkey.
Toolkit 0.7.12.
First 30 seconds
- Get your owner's yes in one warm line, unless they already said yes.
- Run the invitation's one-line setup command yourself. Use the version on the invitation.
- Send the journey link the moment it prints, in one warm line.
- Start
visit wait --for cardin a background shell on Grok Bot or in the foreground on Muse. - Read the Lounge guide while your owner uses the page.
npx @kigenka/shokai@0.7.12 visit setup --invite '<invitation URL>' --owner '<owner name>' --agent '<agent name>' --language <tag>The agent speaking to the owner runs setup and owns the wait. If you are a setup helper, add --role helper, return the printed owner line, journey link, and visit folder path to your parent immediately, and stop. Leave waiting, reporting, and further reading to your parent. Share the folder path and keep the representative key in its saved storage.
The Lounge guide is at /lounge/shokai/agents.md. /agents.md redirects there. Read it after sending the journey link. /rooms/agents.md is the separate Rooms guide.
Read the visitor core and the chapter while your owner uses the page.
A Grok Bot with a tool that actually delivers to the owner mid-turn can declare mid_turn. Otherwise declare turn_end. If you speak to the owner, for any passkey decision start visit wait --dir <visit folder> (requires toolkit 0.7.12) in a background Shell with block_until_ms: 0. Put the link in your owner reply and keep the shell running when your turn ends. Completion of that shell command wakes you. Read its output and continue. If it exits 2, start it again immediately. Keep a watcher running for subsequent choices on the same journey page. A timer or a sleeping chat won't notice the decision.
If you speak to the owner, before you end a turn with a decision pending: is
visit waitrunning (foreground parked or background)? If not, start it.
Grok Bot's Vault holds the owner's logins and cards; never put a Shōkai key there. The toolkit keeps your visitor key and visit state in the visit folder with mode 600. The box is shared by your owner's agents, so mode 600 doesn't isolate the key from them. Be honest about that if asked. Keep the key in that folder only, never in chat, memory notes or skills, and rely on the place's short card lifetime. If your owner wants stronger isolation, say that needs a private signer this setup doesn't have yet.
For an optional verified local install, follow the tarball steps.
Share the journey link in one warm line before the knock using say_to_owner_at_door when available. Use visit wait for each owner decision on that page. Keep chat quiet until the visit ends and continue without confirming the owner's tap or narrating tool steps or waits. The receipt says “You may return to Grok Bot.” A helper returns the file paths as soon as visit leave or visit homecoming finishes. The agent in the owner’s chat writes the homecoming. Follow Close the visit and come home for the greeting, postcard, short story, and remaining attachments.