Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

electric-deployment

Skill by electric-sql

Guides deployment of the Electric sync service via Docker, Docker Compose, or Electric Cloud. It covers Postgres logical replication settings and the environment variables Electric needs. It is aimed at developers deploying Electric or configuring Postgres for logical replication.

  • Score 89
  • 10k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install electric-deployment

Built from the published package, never by AI.

git clone --depth 1 https://github.com/electric-sql/electric /tmp/electric && mkdir -p ~/.claude/skills && cp -r /tmp/electric/packages/typescript-client/skills/electric-deployment ~/.claude/skills/electric-deployment

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install electric-deployment in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a deployment guide for Electric, a sync service that runs alongside Postgres. It shows how to set up Postgres with wal_level set to logical and max_replication_slots, and how to run Electric with Docker, Docker Compose, or Electric Cloud. It also lists the main environment variables, including DATABASE_URL, ELECTRIC_SECRET, ELECTRIC_INSECURE, ELECTRIC_STORAGE_DIR, ELECTRIC_POOLED_DATABASE_URL, and ELECTRIC_DATABASE_USE_IPV6.

The guide also covers Kubernetes readiness probes, where a 202 response means alive but not ready, and replication slot cleanup to limit WAL growth. It lists common mistakes, such as leaving wal_level at replica or running production without ELECTRIC_SECRET. The skill targets Electric sync service v1.x and is intended for developers who deploy Electric or set up Postgres for logical replication.

Written from the project's SKILL.md and checked against it.

What it can do

  • Docker Compose setupShows a Compose file that runs Postgres and Electric together with a persistent volume.
  • Electric Cloud deploymentLists the commands to start and deploy an app on Electric Cloud.
  • Environment variable referenceExplains DATABASE_URL, ELECTRIC_SECRET, ELECTRIC_STORAGE_DIR and other settings.
  • Postgres logical replication configSets wal_level to logical and max_replication_slots in postgresql.conf.
  • Kubernetes health checksShows liveness and readiness probes and why readiness should use exec.
  • Replication slot cleanupShows how to drop an unused replication slot and cap WAL growth.
  • Common mistakes guideFlags critical errors such as missing logical replication or missing ELECTRIC_SECRET in production.

What you need

  • Postgres with wal_level set to logical
  • Docker or Docker Compose
  • ELECTRIC_SECRET for production deployments

Try asking

  • Set up a Docker Compose file to run Postgres and Electric.
  • Check my postgresql.conf for logical replication settings.
  • Explain which Electric environment variables I need in production.

Good to know

  • Changing wal_level requires a Postgres restart.
  • ELECTRIC_INSECURE is for development only.
  • Targets Electric sync service v1.x.
  • ELECTRIC_QUERY_DATABASE_URL is deprecated and may stop working in future versions.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/typescript-client/skills/electric-deployment/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to electric-deployment

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

electric-deployment: common questions

Does Electric require a secret to run?

The source says ELECTRIC_SECRET is required in production since v1.x. Without it, Electric refuses to start unless ELECTRIC_INSECURE=true is set, which is for development only.

Why does Electric need wal_level set to logical?

The source states that Electric requires logical replication and that the default wal_level of replica does not support it.

Should Electric use a connection pooler for DATABASE_URL?

No. The source says DATABASE_URL should be a direct Postgres connection, not a pooler. A pooled URL can be set separately with ELECTRIC_POOLED_DATABASE_URL.

How do I install electric-deployment?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is electric-deployment free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is electric-deployment safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to electric-deployment?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

electric-deployment Install

Add to stack

Loading.