Skip to content
Productivity
Skill

/cloud-dev-environment

Cursor Cloud VM setup and service startup instructions for local development

From plugin
inbox-zero
13k26 skills2 agents

Claude Code

$ npx -y skills add elie222/inbox-zero --skill cloud-dev-environment --agent claude-code

SKILL.md

cloud-dev-environment.SKILL.md
name: cloud-dev-environment
description: Cursor Cloud VM setup and service startup instructions for local development

Cloud Development Environment

Services overview

  • **Main app** (`apps/web`): Next.js 16 app (Turbopack). Runs on port 3000.
  • **PostgreSQL 16**: Primary database. Runs on port 5432 via `docker-compose.dev.yml`.
  • **Redis 7 + serverless-redis-http**: Caching/rate-limiting. Redis on port 6380, HTTP proxy on port 8079.

Starting services

1. Start Docker daemon if needed: `sudo dockerd &>/dev/null &`, then confirm with `docker info` (or `sudo docker info` if the client cannot reach the daemon yet). 2. Start databases from repo root: `docker compose -f docker-compose.dev.yml up -d`. If you get permission denied on `/var/run/docker.sock`, run the same command with `sudo docker compose` instead of making the socket world-writable. 3. Run Prisma migrations: `cd apps/web && pnpm prisma:migrate:local` (uses `dotenv run -f .env.local`; do NOT use bare `prisma migrate dev` — it won't load `.env.local`). 4. Start dev server: `pnpm dev` from repo root.

Environment file

The app reads `apps/web/.env.local`. Required non-obvious env vars beyond `.env.example` defaults:

  • `DEFAULT_LLMS` (e.g. `openai:gpt-6-luna`) — app crashes at startup without this.
  • `GOOGLE_CLIENT_ID` and `GOOGLE_CLIENT_SECRET` — hard-required by `env.ts` validation. Use Google emulator credentials for local dev (see below).
  • `REDIS_HTTP_TOKEN` must be set to `dev_token` to match the `SRH_TOKEN` default in `docker-compose.dev.yml`. `UPSTASH_REDIS_TOKEN` is still accepted.
  • `MICROSOFT_WEBHOOK_CLIENT_STATE` — required if `MICROSOFT_CLIENT_ID` is set.

Google emulator for local dev

Use the Google emulator instead of real OAuth credentials:

GOOGLE_CLIENT_ID=emulate-google-client.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=emulate-google-secret
GOOGLE_BASE_URL=http://localhost:4002

Start the emulator: `docker compose -f docker-compose.dev.yml --profile google-emulator up -d`.

Testing

  • `pnpm test` runs Vitest unit/integration tests (no DB or external services required).
  • `pnpm lint` runs Biome. Pre-existing lint warnings/errors in the repo are expected.
  • AI tests (`pnpm test-ai`) require a real LLM API key and are skipped by default.

Docker in this environment

The cloud VM is a Docker-in-Docker setup. Docker requires `fuse-overlayfs` storage driver and `iptables-legacy`. These are configured during initial setup. After snapshot restore, run `sudo dockerd &>/dev/null &` if Docker daemon is not running.

The VM may not have the Docker Compose v2 plugin pre-installed. If `docker compose version` fails, install it:

sudo mkdir -p /usr/local/lib/docker/cli-plugins
sudo curl -fsSL https://github.com/docker/compose/releases/download/v2.29.2/docker-compose-linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose
sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose

Onboarding flow

After a fresh login via the Google emulator, the app forces an onboarding wizard. Some onboarding buttons require JavaScript `click()` calls rather than standard browser clicks (React event delegation quirk in headless/automation contexts).

Read more
@elie222
Ships withinbox-zero

The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

13k26 skills2 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
13.1k
Star history of elie222/inbox-zero on GitHub, a chart by star-history.com

Other skills on inbox-zero.

agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@elie222@elie222Install Skill
code-simplifier

code-simplifier

Simplify and refine recently modified code for clarity, consistency, and maintainability while preserving exact behavior. Use…

@elie222@elie222Install Skill
create-pr

create-pr

Review the working tree, commit it safely, and open a GitHub pull request. Use when the user asks to create, open, raise, or…

@elie222@elie222Install Skill
e2e

e2e

Run and debug E2E flow tests. Use when triggering E2E tests, checking test status, debugging failures with Axiom logs, or setting…

@elie222@elie222Install Skill

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about cloud-dev-environment.

Which coding agents can use cloud-dev-environment?
cloud-dev-environment installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.