Deploy web services to the cloud with Jack. Use when: you need to create APIs, websites, or backends and deploy them live. Teaches: project creation, deploym...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install jack-cloud或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install jack-cloud⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/jack-cloud/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: jack-cloud description: > Deploy web services to the cloud with Jack. Use when: you need to create APIs, websites, or backends and deploy them live. Teaches: project creation, deployment, databases, logs, and all Jack Cloud services. homepage: https://getjack.org metadata: {"clawdbot":{"emoji":"🃏","homepage":"https://github.com/getjack-org/skills","requires":{"bins":["node","npm"],"env":[]},"install":[{"id":"npm","kind":"npm","package":"@getjack/jack","bins":["jack"],"label":"Install Jack CLI (npm)"}]}} allowed-tools: Read, Edit, Grep, Glob ---
Jack deploys Cloudflare Workers projects in one command. Create an API, add a database, ship it live — all from the terminal.
npm i -g @getjack/jack
jack login
| Endpoint | Data Sent | Purpose | |----------|-----------|---------| | auth.getjack.org | OAuth tokens (GitHub/Google via WorkOS) | Authentication | | control.getjack.org | Project metadata, source code during deploy | Project management and deployments |
jack login authenticates via browser OAuth (GitHub/Google via WorkOS). Auth token stored at ~/.config/jack/auth.jsonjack ship and deployed to Cloudflare Workers via Jack Cloudjack telemetry to configure)If your agent has mcp__jack__* tools available, prefer those over CLI commands. They return structured JSON and are tracked automatically. The CLI equivalents are noted below for agents without MCP.
---
jack new my-api
This creates a project from a template, deploys it, and prints the live URL.
Pick a template when prompted (or pass --template):
| Template | What you get | |----------|-------------| | api | Hono API with example routes | | hello | Minimal hello-world starter | | miniapp | Full-stack app with frontend | | ai-chat | AI chat app with streaming | | nextjs | Next.js full-stack app |
Run jack new to see all available templates.
MCP: mcp__jack__create_project with name and template params.
After creation, your project is live at https://.
---
After editing code, push changes live:
jack ship
For machine-readable output (useful in scripts and agents):
jack ship --json
Builds the project and deploys to production. Takes a few seconds.
MCP: mcp__jack__deploy_project
---
jack info
Shows: live URL, last deploy time, attached services (databases, storage, etc.).
MCP: mcp__jack__get_project_status
---
jack services db create # Add D1 database (auto-configures wrangler.jsonc)
jack db execute "SELECT * FROM users" # Query data
jack db execute --json "SELECT ..." # JSON output
jack db execute --write "INSERT INTO users (name, email) VALUES ('Alice', '[email protected]')"
jack db execute --write "CREATE TABLE posts (id INTEGER PRIMARY KEY, title TEXT, body TEXT, created_at TEXT DEFAULT CURRENT_TIMESTAMP)"
jack db execute "SELECT name FROM sqlite_master WHERE type='table'" # View schema
jack db execute "PRAGMA table_info(users)"
After schema changes, redeploy with jack ship.
MCP: mcp__jack__create_database, mcp__jack__execute_sql (set allow_write: true for writes; DROP/TRUNCATE blocked by default).
---
Stream production logs to debug issues:
jack logs
Shows real-time request/response logs. Press Ctrl+C to stop.
MCP: mcp__jack__tail_logs with duration_ms and max_events params for a bounded sample.
---
# 1. Create project
jack new my-api --template api
# 2. Add database
jack services db create
# 3. Create tables
jack db execute --write "CREATE TABLE items (id INTEGER PRIMARY KEY, name TEXT, created_at TEXT DEFAULT CURRENT_TIMESTAMP)"
# 4. Edit src/index.ts — add routes that query the DB
# Access DB via: c.env.DB (the D1 binding)
# 5. Deploy
jack ship
# 6. Verify
curl https://my-api.runjack.xyz/api/items
---
Store API keys and sensitive values:
# Set a secret (prompts for value)
jack secrets set STRIPE_SECRET_KEY
# Set multiple
jack secrets set API_KEY WEBHOOK_SECRET
# List secrets (names only, values hidden)
jack secrets list
Secrets are available in your worker as c.env.SECRET_NAME. Redeploy after adding secrets:
jack ship
---
my-project/
├── src/
│ └── index.ts # Worker entry point
├── wrangler.jsonc # Config: bindings, routes, compatibility
├── package.json
└── .jack/
└── project.json # Links to Jack Cloud
wrangler.jsonc defines D1 bindings, environment vars, compatibility flags.jack/project.json links the local directory to your Jack Cloud projectsrc/index.ts is the main entry point — typically a Hono app---
jack services storage create # Create R2 bucket
jack services storage list # List buckets
jack services storage info # Bucket details
Access in worker via c.env.BUCKET binding. Use for file uploads, images, assets.
MCP: mcp__jack__create_storage_bucket, mcp__jack__list_storage_buckets, mcp__jack__get_storage_info
jack services vectorize create # Create index (768 dims, cosine)
jack services vectorize create --dimensions 1536 # Custom dimensions
jack services vectorize list
jack services vectorize info
Access via c.env.VECTORIZE_INDEX binding. Use for semantic search, RAG, embeddings.
MCP: mcp__jack__create_vectorize_index, mcp__jack__list_vectorize_indexes, mcp__jack__get_vectorize_info
jack services cron create "*/15 * * * *" # Every 15 minutes
jack services cron create "0 * * * *" # Every hour
jack services cron list
jack services cron test "0 9 * * MON" # Validate + show next runs
Your worker needs a scheduled() handler or POST /__scheduled route.
MCP: mcp__jack__create_cron, mcp__jack__list_crons, mcp__jack__test_cron
jack domain connect app.example.com # Reserve domain
jack domain assign app.example.com # Assign to current project
jack domain unassign app.example.com # Unassign
jack domain disconnect app.example.com # Fully remove
Follow the DNS instructions printed after assign. Typically add a CNAME record.
---
jack ls # List all your projects
jack info my-api # Details for a specific project
jack open my-api # Open in browser
MCP: mcp__jack__list_projects with optional filter (all, local, deployed, cloud).
---
| Problem | Fix | |---------|-----| | "Not authenticated" | Run jack login | | "No wrangler config found" | Run from a jack project directory | | "Database not found" | Run jack services db create | | Deploy fails | Check jack logs for errors, fix code, jack ship again | | Need to start over | jack new creates a fresh project |
---
安装 Jack Cloud 后,可以对 AI 说这些话来触发它
Help me get started with Jack Cloud
Explains what Jack Cloud does, walks through the setup, and runs a quick demo based on your current project
Use Jack Cloud to deploy web services to the cloud with Jack
Invokes Jack Cloud with the right parameters and returns the result directly in the conversation
What can I do with Jack Cloud in my developer & devops workflow?
Lists the top use cases for Jack Cloud, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/jack-cloud/ 目录(个人级,所有项目可用),或 .claude/skills/jack-cloud/(项目级)。重启 AI 客户端后,用 /jack-cloud 主动调用,或让 AI 根据上下文自动发现并使用。
Jack Cloud 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Jack Cloud 可免费安装使用。请查阅仓库了解许可证信息。
Deploy web services to the cloud with Jack. Use when: you need to create APIs, websites, or backends and deploy them live. Teaches: project creation, deploym...
Jack Cloud 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Jack Cloud
Identifies repetitive steps in your workflow and sets up Jack Cloud to handle them automatically