Automated summary
This skill automates the deployment of Fireproof Connect onto a dedicated Studio VM on exe.dev, setting up a cloud sync backend for your apps.
Strengths
- Fully automated deployment with no manual steps
- Secure generation of session tokens and device CA keys
- Integration with Clerk for authentication
- Post-deployment validation of service readiness
Limitations
- Requires an exe.dev account and preconfigured SSH keys
- Depends on Clerk API keys, adding an external dependency
- Script is tied to exe.dev infrastructure and not portable
When you need to quickly provision a Fireproof Connect cloud sync backend for your Vibes applications.
When you don't have an exe.dev account yet or prefer a self-hosted solution with different infrastructure.
Security analysis
CautionThe skill orchestrates a remote deployment using SSH, Docker, and sudo, involving execution of external scripts and transmission of secrets via command line. While the purpose is legitimate and no destructive commands are evident, the reliance on untrusted external code and insecure secret handling introduces risk, warranting caution.
- •Sensitive Clerk API keys are passed as command-line arguments, which may be visible in process listings.
- •Runs an external Node.js script (deploy-connect.js) that clones a repository and executes shell scripts with sudo on a remote VM, posing supply chain risk if the script or repository is compromised.
- •Uses SSH and Docker with elevated privileges (sudo), which could lead to unintended system modifications if misconfigured.
Examples
Deploy Fireproof Connect to exe.dev as my personal sync backend.Set up a cloud sync backend for my Vibes apps using Fireproof Connect on a Studio VM.Initialize a new Fireproof Connect Studio on exe.dev with Clerk authentication.name: connect description: Self-contained deploy automation — invoke directly, do not decompose. Deploys Fireproof Connect to a dedicated Studio VM on exe.dev. Sets up cloud sync backend for all your Vibes apps. license: MIT allowed-tools: Bash, Read, Glob, AskUserQuestion metadata: author: "Marcus Estes"
Plan mode: If you are planning work, this entire skill is ONE plan step: "Invoke /vibes:connect". Do not decompose the steps below into separate plan tasks.
Deploy Connect Studio
Deploy Fireproof Connect to exe.dev as your personal sync backend. Your Studio VM runs the full Fireproof sync stack and can be used by multiple apps.
Prerequisites
- SSH key in
~/.ssh/(id_ed25519, id_rsa, or id_ecdsa) - exe.dev account - run
ssh exe.devonce to create your account - Clerk credentials from clerk.com:
- Publishable Key (pk_test_... or pk_live_...)
- Secret Key (sk_test_... or sk_live_...)
Gather Config
Use AskUserQuestion to collect deployment config before running the deploy script.
Question 0: "Have you created an exe.dev account? (Run `ssh exe.dev` in your terminal to create one)"
Header: "exe.dev"
Options:
- Label: "Yes, I have an account"
Description: "I've already run ssh exe.dev and verified my account."
- Label: "No, I need to set one up"
Description: "I haven't created an exe.dev account yet."
If "No": Instruct the user:
Run
ssh exe.devin your terminal. This will create your account automatically. You'll need an SSH key in ~/.ssh/ (the command will guide you). Once your account is confirmed, come back and we'll continue.
Then STOP and wait for them to confirm they've completed this step.
Question 1: "What codename for your Studio? (becomes <codename>.exe.xyz)"
Header: "Studio"
Options: Suggest "${username}-studio" + user enters via "Other"
Question 2: "Do you have your Clerk keys ready?"
Header: "Clerk"
Options: ["Yes, I have them", "No, I need to get them first"]
If user needs Clerk keys, provide these instructions:
- Go to clerk.com and sign in
- Select your application (or create one)
- Go to API Keys in the sidebar
- Copy both the Publishable Key and Secret Key
After receiving the codename, ask for the keys:
Question: "Paste your Clerk Publishable Key (starts with pk_test_ or pk_live_)"
Header: "Publishable"
Options: [User enters via "Other"]
Question: "Paste your Clerk Secret Key (starts with sk_test_ or sk_live_)"
Header: "Secret"
Options: [User enters via "Other"]
Deploy Command
cd "${CLAUDE_PLUGIN_ROOT}/scripts" && [ -d node_modules ] || npm install
node "${CLAUDE_PLUGIN_ROOT}/scripts/deploy-connect.js" \
--studio <codename> \
--clerk-publishable-key "pk_test_..." \
--clerk-secret-key "sk_test_..."
What It Does
- SSH to
<studio>.exe.xyz- Creates VM if needed - Clone fireproof repo -
selem/docker-for-allbranch to/opt/fireproof - Generate security tokens - Session tokens and device CA keys
- Create
.env- All credentials for Docker services - Run
./docker/start.sh- Starts the full Fireproof stack - Wait for services - Confirms port 8080 is responding
- Write local
.connect- Saves studio info for future reference
Architecture
Studio VM (<codename>.exe.xyz)
├── /opt/fireproof/
│ ├── docker-compose.yaml (from repo)
│ ├── docker/
│ │ ├── nginx.conf (routes all traffic)
│ │ └── start.sh (orchestrates services)
│ └── .env (generated credentials)
└── Docker services (port 8080 exposed)
├── nginx proxy
├── dashboard (internal 7370)
└── cloud-backend (internal 8909)
Public URLs
After deployment, your Studio exposes:
| Endpoint | URL | Purpose |
|----------|-----|---------|
| Token API | https://<studio>.exe.xyz/api | Token issuance for auth |
| Cloud Sync | fpcloud://<studio>.exe.xyz?protocol=wss | Real-time sync |
Local .connect File
The deploy script creates a .connect file in your project:
studio: <codename>
api_url: https://<codename>.exe.xyz/api
cloud_url: fpcloud://<codename>.exe.xyz?protocol=wss
clerk_publishable_key: pk_test_...
This file is gitignored and used to auto-configure app deployments.
Update Your App's Environment
After deploying Connect, update your app's .env:
VITE_CLERK_PUBLISHABLE_KEY=pk_test_...
VITE_API_URL=https://<studio>.exe.xyz/api
VITE_CLOUD_URL=fpcloud://<studio>.exe.xyz?protocol=wss
Troubleshooting
Check Docker status:
ssh <studio>.exe.xyz "cd /opt/fireproof && sudo docker compose ps"
View logs:
ssh <studio>.exe.xyz "cd /opt/fireproof && sudo docker compose logs -f"
Restart services:
ssh <studio>.exe.xyz "cd /opt/fireproof && sudo docker compose restart"
CLI Options
| Option | Description |
|--------|-------------|
| --studio <name> | Studio VM name (required) |
| --clerk-publishable-key <key> | Clerk publishable key (required) |
| --clerk-secret-key <key> | Clerk secret key (required) |
| --dry-run | Show what would be done without executing |
What's Next?
After successful deployment, present these options using AskUserQuestion:
Question: "Your Connect Studio is live at https://${studio}.exe.xyz! What's next?"
Header: "Next"
Options:
- Label: "Deploy an app that uses this Studio"
Description: "Generate and deploy a Vibes app configured to sync through your Studio. I'll set up the environment automatically."
- Label: "Update an existing app to use Connect"
Description: "Configure an existing app's .env to point to your new Studio for cloud sync."
- Label: "I'm done for now"
Description: "Your Studio is running 24/7 on exe.dev. Any app configured with these URLs will sync through it."
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/fireproof-connect-deployment-mmbizk73/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/fireproof-connect-deployment-mmbizk73' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/fireproof-connect-deployment-mmbizk73/download' --output '.skill-downloads/fireproof-connect-deployment-mmbizk73/SKILL.md.part' && mv '.skill-downloads/fireproof-connect-deployment-mmbizk73/SKILL.md.part' '.skill-downloads/fireproof-connect-deployment-mmbizk73/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash, Read, Glob, AskUserQuestion
Original excerpt: Prerequisites
- SSH key in
~/.ssh/(id_ed25519, id_rsa, or id_ecdsa) - exe.dev account - run
ssh exe.devonce to create your account - Clerk credentials from clerk.com:
- Publishable Key (pk_test_... or pk_live_...)
- Secret Key (sk_test_... or sk_live_...)
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/fireproof-connect-deployment-mmbizk73/SKILL.md' && test -s '.skill-downloads/fireproof-connect-deployment-mmbizk73/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/connect' && cp -R '.skill-downloads/fireproof-connect-deployment-mmbizk73' '.claude/skills/connect'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/fireproof-connect-deployment-mmbizk73'openskills read 'fireproof-connect-deployment-mmbizk73'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/fireproof-connect-deployment-mmbizk73/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.