Skills
Skill 30 of 38
Log the Encore CLI in to Encore Cloud, check who is logged in, sign up for an account, and log in without a person using an auth key.
2 minutes · 366 words · 7 sections
Install
npx skills add encoredev/skills --skill encore-loginnpx skills add encoredev/skills/plugin marketplace add encoredev/skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Creating apps on Encore Cloud and deploying need a login. Running locally (encore run, encore test, encore check) doesn’t.
encore auth whoamilogged in as <email>: done.logged in as app <app-id>: logged in with an auth key. It works for that app only, and can’t create apps. If you need to create an app, go to step 2.not logged in.: go to step 2. If no person can approve a login, such as in CI, go to step 3.encore auth login as a background command. It doesn’t exit until someone approves the login.Your pairing code is <code> and a URL. Send both to the user right away. Ask them to open the URL on any device, check that the code matches, and approve. New users can sign up on the same page.Successfully logged in!, then run encore auth whoami to confirm.This works over SSH, in containers, and in cloud sandboxes too, because the user can open the URL anywhere.
ENCORE_AUTH_KEY environment variable for the agent, for example from a secret store.encore auth whoami. It should print logged in as app <app-id>. Every encore command logs in with the key automatically when nobody is logged in.Limits of auth keys:
encore app create and encore app init need a person’s login. For a new app, ask the user to create it in the Cloud Dashboard, then clone it with encore app clone <app-id>.encore auth logout first to use the key instead.warning: ENCORE_AUTH_KEY login failed: <error>: the key is wrong or was deleted. Ask for a new one.encore auth logoutThis also stops the Encore daemon. It starts again with the next encore command.
encore auth login --auth-key: it ends up in shell history and process listings.encore app create if the app should deploy to Encore Cloud. Linking an app created logged out takes extra steps (see encore-link-app).encore-create-app) or deploy one (encore-deploy).Log the Encore CLI in to Encore Cloud, check who is logged in, sign up for an account, and log in without a person using an auth key. A login is needed to create apps on Encore Cloud and to deploy them.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 26 October 2026.SKILL.md, not by matching a directory convention. One layout observed: encore/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Encore, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./encoredev/skills.md, and each skill at its own .md URL.