EAS Hosting Skill from Expo: Deploy Websites and API Routes
eas-hosting is the official Expo skill that helps Claude write Expo Router API routes and deploy your web app and those routes to EAS Hosting.
- Installs
- 20.6K
- on skills.sh
- Stars
- 4K
- on GitHub
- Files
- 1
- besides SKILL.md
- Updated
- Nov 2026
- last repo commit
The skill shows Claude how to write API routes in the app folder (+api.ts files with GET, POST and other handlers) and how to ship them. The deploy flow is: export the web bundle, run eas deploy for a preview URL, and add the production flag when you are ready.
SKILL.md also covers environment variables and secrets for production, custom domains, a workflow file that deploys on every push to main, and a pull-request preview workflow. It lists what the Cloudflare Workers runtime lacks, such as the Node filesystem and native Node modules, and suggests cloud databases instead.
SKILL.md opens with a cost note. EAS Hosting is a paid Expo service with free-tier limits, and production deploys use your plan's request and bandwidth allowance. Writing API routes and exporting the web bundle are free, and you can self-host the exported server output instead.
Good for
- Expo developers shipping a web app or a backend of API routes
- Teams that want preview URLs for pull requests and one-command production deploys
- Developers moving server code to the Cloudflare Workers runtime
Install eas-hosting
Claude Code
- 1
Copy this prompt.
Install the eas-hosting skill in Claude Code. Run this command: claude plugin install expo@claude-plugins-official Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
The plugin installs all 23 Expo skills and also registers the Expo tool server at https://mcp.expo.dev/mcp. The skills CLI command installs only eas-hosting.
From the project README. Source.
What's in the skill
When it loads
Deploy Expo websites and Expo Router API routes to EAS Hosting - export the web bundle, run eas deploy for production and PR preview URLs, manage environment secrets and custom domains, and work within the Cloudflare Workers runtime. Also covers authoring API routes (+api.ts handlers, HTTP methods, request handling, CORS). Use when deploying an Expo web app or API routes, setting up EAS Hosting, or configuring hosting environments and domains. Not for native builds or store releases - use the eas-app-stores skill for those.
Sections in SKILL.md
- When to Use API Routes
- When NOT to Use API Routes
- File Structure
- Basic API Route
- HTTP Methods
- Dynamic Routes
- Request Handling
- Query Parameters
- Headers
- JSON Body
- Environment Variables
- CORS Headers
- Error Handling
- Testing Locally
- Deployment to EAS Hosting
- Prerequisites
Key facts
- Author
- Expo (GitHub: expo)
- Repo
- expo/skills
- Installs on skills.sh
- 20,641 as of 2026-11-02
- GitHub stars (whole repo)
- 4,005 as of 2026-11-02
- License
- MIT
- Last repo commit
- 2026-11-01
- Files in the skill folder
- 2 files including SKILL.md
- skills.sh audits
- Gen Agent Trust Hub pass, Socket pass, Snyk pass
What it includes
Write +api.ts handlers with methods, params, headers and CORS
Covers dynamic routes, query parameters, JSON bodies, error handling and when API routes are or are not the right tool.
Write ·
API routesRun npx expo serve and test routes with curl
Starts a local server on port 8081 for trying routes before you deploy.
Runs code ·
Local testnpx expo export -p web, then eas deploy (preview) or --prod
Ships the web bundle and API routes together to EAS Hosting on Cloudflare Workers.
Runs code ·
Deployeas env:create for production variables
Server-side secrets such as API keys live in EAS environment variables or the Expo dashboard.
Runs code ·
Environment secretsDeploy on push to main, preview deploys on pull requests
YAML examples for .eas/workflows using the deploy job type. For more workflow authoring SKILL.md points to the eas-workflows skill.
Write ·
WorkflowsWhat Cloudflare Workers lacks and what to use instead
No Node filesystem or native Node modules, a 30 second limit for CPU-intensive work, WebSockets need Durable Objects. Lists D1, Turso, PlanetScale, Supabase and Neon as database options.
Runtime limitsOptionally report skill errors to Expo
SKILL.md includes an npx command that sends feedback to Expo through @expo/agent-cli.
Runs code ·
Feedback command
From the official docs
Permissions
Medium risk
The skill makes Claude run deploy and secret commands against your Expo account, and a production deploy goes live to the public. Check the target and the secret values before you approve each command.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
It can deploy your site to production
eas deploy --prod publishes the web bundle and API routes, and a workflow example deploys on every push to main. Use the preview deploy first. github.com
It creates secrets on your account
SKILL.md shows eas env:create with a value on the command line. Keep real keys out of chat history and shell history, or set them in the Expo dashboard. github.com
It installs eas-cli globally and logs in
The prerequisites run npm install -g eas-cli and eas login. Review them before approving. github.com
Production deploys count against your plan
SKILL.md says deploys use your plan's request and bandwidth allowance. github.com
It can send feedback to Expo
SKILL.md includes an npx @expo/agent-cli feedback command for specific, actionable reports. Decline it if you do not want to send anything. github.com
Technical details
| Talks to | EAS Hosting (Expo) |
|---|---|
| Scopes |
|
Questions
What does the EAS Hosting skill do?
It helps Claude write Expo Router API routes and deploy a web app plus those routes to EAS Hosting, with preview URLs, production deploys, environment secrets and custom domains.
How do I install it in Claude Code or Codex?
Use the install box above. The Expo README recommends its plugin for Claude Code and Codex, which installs all Expo skills. The skills CLI command installs only this one.
Is EAS Hosting free?
No, not fully. SKILL.md calls it a paid Expo service with free-tier limits, and production deploys use your plan's request and bandwidth allowance. Writing API routes and exporting the web bundle are free.
Do I need an account or login?
The deploy steps in SKILL.md install eas-cli and run eas login first. The skill itself needs no API key.
Is it safe to install?
The skill is markdown and one small YAML file. It leads Claude to run deploy and secret-setting commands against your Expo account, and production deploys go live, so confirm the target before approving --prod.
Can I host somewhere else?
Yes. SKILL.md says you can self-host the exported server output instead of using EAS Hosting.
What is the difference between this and the native app skills?
This one covers web and API routes only. SKILL.md says it is not for native builds or store releases and points to the eas-app-stores skill for those.
Information
updated Nov 2, 2026
- Repository
- expo/skills
- Folder
plugins/expo/skills/eas-hosting
Sources
Docs, issue trackers and discussions this page is built from.
Show all 4Hide
- expo/skills README · github.com
- expo plugin .mcp.json · github.com
- skills.sh listing · skills.sh
- eas-hosting SKILL.md · github.com