/encore-skills-v1:encore-v1-runfrom encore-skills-v1
Encore v1 - Run an Encore.ts or Encore.go app locally. Covers `encore check` to start the app, call endpoints, and stop it in one command, running `encore run` in the background so it doesn't block the shell, the local development dashboard, and fixing startup errors.
Ships in encore-skills-v1. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run these commands from the app's root directory (the one with encore.app) or any directory below it. Pick one:
encore check (step 1). It always exits.encore run in the background (step 2).Never run encore run in the foreground. It doesn't exit, so the command blocks until it times out.
encore checkencore check # start the app and stop it
encore check 'curl /hello/world' # start it, call an endpoint, stop it
For several requests or JSON bodies, pass the requests on stdin, one per line:
encore check <<'EOF'
curl /hello/world
curl /url -X POST -H 'Content-Type: application/json' -d '{"url": "https://encore.dev"}'
curl /admin --no-fail -i
EOF
=== [i/N] curl ... === and --- exit: N ---. stderr has build errors and app logs. Fix the problem and run it again.-i to see the status and headers, and --no-fail to a request that should return an error status.Start it, with its output in a log file. If your tool has its own way to run background commands, use that instead.
encore run --browser=never > /tmp/encore-run.log 2>&1 &
echo $! > /tmp/encore-run.pid
Wait until the log has Encore development server running!. If the process exits first, the log has the error (see Errors).
Call the API at http://localhost:4000. The local development dashboard is at http://localhost:9400, with an API explorer and a trace of every request.
After each code change, the app rebuilds and restarts. Check the log for build errors.
When you're done, stop it:
kill "$(cat /tmp/encore-run.pid)"
Flags: --port=<n> changes the API port (default 4000). --listen=0.0.0.0:4000 accepts connections from other machines. --watch=false turns off rebuilding on changes.
no encore.app found in directory (or any of the parent directories): cd into the app. If there's no app yet, see encore-v1-create-app.The docker daemon is not running. Start it first.: start Docker (macOS: open -a Docker), wait until docker info succeeds, and run again.docker not found: is it installed and in your PATH?: the app has a SQL database, which needs Docker. See encore-v1-install.Failed to run on 127.0.0.1:4000 - port is already in use: an earlier encore run usually holds the port. Stop it, or use the free port from the next line of output: Note: port <n> is available; specify --port=<n> to use it.secrets not defined: <names>: a warning. The app runs with those secrets empty. Set local values with encore secret set --type local <name>, or in a gitignored .secrets.local.cue file for an app that isn't on Encore Cloud (see encore-v1-secret or encore-v1-go-secret).encore run rebuilds on save.encore check to confirm a change works. It can't leave a process running.encore-v1-mcp.encore-v1-testing or encore-v1-go-testing.What SKILL.md sets; muted values are Claude Code's defaults
User wants to run, start, or serve the app locally, try an endpoint, check that the app starts or that a change works, or open the local development dashboard. Also use when `encore run` blocks the shell, fails to start, says the port is already in use, says the Docker daemon isn't running, or warns that secrets aren't defined. SKIP for writing or running automated tests (`encore-v1-testing`, `encore-v1-go-testing`) and for deploying (`encore-v1-deploy`). Trigger phrases: "run the app", "start the server", "encore run", "localhost:4000", "does it work", "call the endpoint", "local dashboard", "localhost:9400", "encore check", "port is already in use", "docker daemon is not running".
Other plugins' skills for the same job
npx claudepluginhub encoredev/skills-v1 --plugin encore-skills-v138 skills in this plugin
/encore-v1-apiEncore v1 - Define typed API endpoints in Encore.ts using `api(...)` from `encore.dev/api`. Covers typed request/response interfaces, path/query/header/cookie params, request validation, and `APIError`. For raw endpoints (`api.raw()`) and inbound webhooks, use `encore-v1-webhook` instead./encore-v1-architectureEncore v1 - Design or revise the service architecture of an Encore.go or Encore.ts application. Covers service boundaries, data ownership, synchronous calls versus Pub/Sub, process allocation, public and private interfaces, and evolving a monolith./encore-v1-authEncore v1 - Protect Encore.ts endpoints with authentication and authorize callers. Covers `authHandler`, `Gateway`, `getAuthData`, and `auth: true`./encore-v1-bucketEncore v1 - Store unstructured files in Encore.ts using `Bucket` from `encore.dev/storage/objects` — uploads, images, documents, blobs./encore-v1-cacheEncore v1 - Cache data in Redis from Encore.ts using `CacheCluster` and typed keyspaces from `encore.dev/storage/cache`. Type-safe key/value access with TTLs, atomic increments, and per-keyspace data shapes./encore-v1-code-reviewEncore v1 - Review existing Encore.ts code for best practices and common anti-patterns.