setup-deploy

Configure deployment settings for land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy commands. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy".

3,891 stars

Best use case

setup-deploy is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Configure deployment settings for land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy commands. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy".

Teams using setup-deploy should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/setup-deploy/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/ashish797/founderclaw/setup-deploy/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/setup-deploy/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How setup-deploy Compares

Feature / Agentsetup-deployStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Configure deployment settings for land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy commands. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy".

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Setup Deploy

Configure deployment so `land-and-deploy` works automatically. One-time setup per project.

## Step 1: Detect Platform

Check for platform indicators in the project:

```bash
# Vercel
[ -f vercel.json ] && echo "PLATFORM: vercel"
# Netlify
[ -f netlify.toml ] && echo "PLATFORM: netlify"
# Fly.io
[ -f fly.toml ] && echo "PLATFORM: fly"
# Render
[ -f render.yaml ] && echo "PLATFORM: render"
# Heroku
[ -f Procfile ] && echo "PLATFORM: heroku"
# Docker
[ -f Dockerfile ] && echo "PLATFORM: docker"
# GitHub Actions
[ -d .github/workflows ] && ls .github/workflows/*.yml 2>/dev/null | head -3
# Cloudflare Workers
[ -f wrangler.toml ] && echo "PLATFORM: cloudflare-workers"
# Railway
[ -f railway.json ] || [ -f railway.toml ] && echo "PLATFORM: railway"
```

Also check `package.json` for deploy scripts:

```bash
cat package.json 2>/dev/null | grep -A5 '"scripts"' | grep -i "deploy\|ship\|release"
```

## Step 2: Detect Production URL

Try to find the production URL:

```bash
# From vercel.json
cat vercel.json 2>/dev/null | grep -o '"url":[^,}]*'
# From fly.toml
grep "primary_region\|app\s*=" fly.toml 2>/dev/null
# From package.json homepage
cat package.json 2>/dev/null | grep '"homepage"' | grep -o 'https://[^"]*'
# From README badges
grep -o 'https://[^ ]*\.vercel\.app\|https://[^ ]*\.netlify\.app\|https://[^ ]*\.onrender\.com\|https://[^ ]*\.fly.dev\|https://[^ ]*\.herokuapp\.com' README.md 2>/dev/null | head -1
```

## Step 3: Detect Health Check

```bash
# Common health check paths
for path in /health /healthz /api/health /api/healthz /api/status /_health /ping; do
    echo "  $path"
done
```

Ask the user: "What's your health check endpoint? (e.g., /health, /api/healthz)"

## Step 4: Configure

Create or update `founderclaw/data/deploy-config.json` in the project root:

```bash
CONFIG_FILE=".founderclaw-deploy.json"

# Detect values
PLATFORM=$(detect_platform)  # from Step 1
PRODUCTION_URL=$(detect_url)  # from Step 2

cat > "$CONFIG_FILE" << EOF
{
  "platform": "$PLATFORM",
  "productionUrl": "$PRODUCTION_URL",
  "healthCheck": "/health",
  "deployCommand": "fly deploy",
  "statusCommand": "fly status",
  "setupDate": "$(date -u +%Y-%m-%dT%H:%M:%SZ)"
}
EOF

echo "Deploy config written to $CONFIG_FILE"
```

## Platform-Specific Setup

### Vercel
```bash
# Deploy command
vercel --prod
# Status
vercel ls
```

### Fly.io
```bash
# Deploy command
fly deploy
# Status
fly status
# Logs
fly logs
```

### Render
```bash
# Deploy via git push
git push origin main
# Or manual trigger
curl -X POST "$RENDER_DEPLOY_HOOK"
```

### Netlify
```bash
# Deploy command
netlify deploy --prod
# Status
netlify status
```

### Heroku
```bash
# Deploy command
git push heroku main
# Status
heroku ps
# Logs
heroku logs --tail
```

### Docker / Custom
```bash
# Build
docker build -t myapp .
# Deploy
docker push registry/myapp:latest
# SSH deploy
ssh server "cd /app && git pull && docker compose up -d"
```

### GitHub Actions
```bash
# Trigger deploy workflow
gh workflow run deploy.yml
# Check status
gh run list --workflow=deploy.yml --limit=1
```

## Step 5: Verify

Test the health check:

```bash
PRODUCTION_URL=$(cat "$CONFIG_FILE" | grep -o '"productionUrl":"[^"]*"' | cut -d'"' -f4)
HEALTH_PATH=$(cat "$CONFIG_FILE" | grep -o '"healthCheck":"[^"]*"' | cut -d'"' -f4)

curl -s "$PRODUCTION_URL$HEALTH_PATH" | head -5
```

If the health check passes, deploy config is ready.

## What This Enables

After setup, `land-and-deploy` can automatically:
1. Run tests
2. Build the project
3. Deploy to your platform
4. Wait for health check to pass
5. Report success/failure

No more looking up deploy commands every time.

## Update Config

To change settings later, edit `.founderclaw-deploy.json` directly or re-run this skill.

Related Skills

multi-bot-deploy

3891
from openclaw/skills

OpenClaw 多 Bot 多 Agent 一键搭建技能。根据用户提供的 Bot 名称、职能、模型和飞书凭证,自动完成 Agent 创建、账号配置、路由绑定和验证测试全流程。

appdeploy

3891
from openclaw/skills

Deploy web apps with backend APIs, database, file storage, AI operations, authentication, realtime, and cron jobs. Use when the user asks to deploy or publish a website or web app and wants a public URL. Uses HTTP API via curl.

agent-memory-setup

3891
from openclaw/skills

Set up the full OpenClaw agent memory system with 3-tier memory (HOT/WARM/COLD), daily logs, semantic search (QMD), and lossless context management (Lossless Claw). Use when onboarding a new agent, setting up memory for a fresh OpenClaw instance, or when asked to install the memory system on a new agent. Triggers on "set up memory", "install memory system", "onboard new agent memory", "memory setup", "agent onboarding", "configure agent memory", "add memory to my agent", "how do I set up memory", "initialize memory", "memory system for OpenClaw".

agent-memory-setup-v2

3891
from openclaw/skills

Create a 3-tier memory directory structure (HOT/WARM/COLD) for OpenClaw agents and configure the built-in memory-core plugin to use Google Gemini Embeddings 2 (gemini-embedding-2-preview) for semantic memory search. Creates memory/ directories and stub files only — no code execution or external API calls from the setup script. After setup, the agent's memory_search tool uses Gemini's cloud embedding API to index memory files. Requires a free Google Gemini API key. Use when setting up a new agent's memory system or asked about semantic memory search. Triggers on "set up memory", "memory setup", "agent memory", "gemini memory", "semantic search memory", "onboard new agent".

clawcoach-setup

3891
from openclaw/skills

One-time setup for ClawCoach AI health coaching. Configures your profile, goals, macro targets, dietary preferences, and coach personality.

xpoz-setup

3891
from openclaw/skills

Set up and authenticate the Xpoz MCP server for social media intelligence. Required by all Xpoz skills. Handles server configuration, OAuth login, and connection verification with minimal user interaction.

azion-deploy

3891
from openclaw/skills

Deploy applications, static sites, and edge functions to Azion using Azion CLI. Use when the user asks to deploy/publish to Azion, configure link/build/deploy flow, or troubleshoot Azion auth/project linking problems.

setup-browser-cookies

3891
from openclaw/skills

Import cookies from your real Chromium browser into the headless browse session. Interactive picker UI lets you select which cookie domains to import. Use before QA testing authenticated pages. Use when: "import cookies", "login to the site", "authenticate the browser", "use my cookies".

land-and-deploy

3891
from openclaw/skills

Land and deploy workflow. Merges the PR, waits for CI and deploy, verifies production health via canary checks. Takes over after /ship creates the PR.

telegram-groupchat-setup

3891
from openclaw/skills

Configure a MoltBot agent to participate in a Telegram group chat. Automates adding the group to the allowlist, setting mention patterns, and configuring sender permissions — all via a single gateway config patch. Use when the user wants to set up their bot in a Telegram group, enable cross-bot communication, or configure group mention gating.

a2a-delegation-setup

3891
from openclaw/skills

Guided setup and troubleshooting for installing, enabling, configuring, verifying, and updating @aramisfa/openclaw-a2a-outbound in OpenClaw.

AgentStead Deploy Skill

3891
from openclaw/skills

Deploy and manage AI agents on [AgentStead](https://agentstead.com) cloud hosting.