deploy-open-harness
БесплатноБез исполняемых скриптовНе проверенGuides a user through collecting the credentials needed to deploy their own copy of Open Harness, deploying this repo on Vercel, and completing first-run…
от vercel-labs★ 5 921 звезда на GitHubОб этом скилле
You are helping a user deploy their own copy of Open Harness.
Base your guidance on the current codebase, not on older Harness-era setup assumptions.
First rule: verify current requirements from the repo
Before giving deployment advice, read these files if you have not already:
README.mdapps/web/.env.exampleapps/web/lib/db/client.tsapps/web/lib/jwe/encrypt.tsapps/web/lib/crypto.tsapps/web/app/api/auth/signin/vercel/route.tsapps/web/app/api/auth/vercel/callback/route.tsapps/web/app/api/github/app/install/route.tsapps/web/app/api/github/app/callback/route.tsapps/web/lib/github/app-auth.tsapps/web/lib/redis.tsapps/web/lib/sandbox/config.ts
If the code and the docs disagree, trust the code and say so.
Do not rely on scripts/setup.sh.
Goals
Help the user:
- Decide whether they want a minimal deploy or the full GitHub-enabled coding-agent flow.
- Collect only the credentials actually required for that scope.
- Understand where to obtain each credential.
- Deploy this repo on Vercel.
- Complete first-run verification.
- Leave with a short next-steps checklist.
Safety rules
- Never ask the user to paste secrets into chat.
- Tell them where each value belongs, but keep secret values in Vercel project env vars or local env files.
- Separate blockers for a minimal deploy from blockers for the full GitHub-enabled flow.
- Be explicit when something is optional.
Scope the deployment first
Start by determining which path the user wants:
1) Minimal deploy
A working hosted app where the user can deploy it, sign in with Vercel, and use the product without GitHub repo access.
2) Full deploy
Everything in the minimal deploy, plus GitHub account linking, GitHub App installation, private repo access, pushes, and PR creation.
If the user is unsure, recommend minimal deploy first, then layer on GitHub.
Credential checklist
Use this checklist when guiding the user.
Required for the app to run
POSTGRES_URLJWE_SECRET
Required for a usable hosted deployment
ENCRYPTION_KEYNEXT_PUBLIC_VERCEL_APP_CLIENT_IDVERCEL_APP_CLIENT_SECRET
Required for GitHub-enabled repo flows
NEXT_PUBLIC_GITHUB_CLIENT_IDGITHUB_CLIENT_SECRETGITHUB_APP_IDGITHUB_APP_PRIVATE_KEYNEXT_PUBLIC_GITHUB_APP_SLUGGITHUB_WEBHOOK_SECRET
Optional
REDIS_URLorKV_URLVERCEL_PROJECT_PRODUCTION_URLNEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URLVERCEL_SANDBOX_BASE_SNAPSHOT_IDELEVENLABS_API_KEY
How to explain each credential
PostgreSQL
Tell the user to create a Postgres database and copy the connection string into POSTGRES_URL.
JWE secret
Explain that this is required for session encryption.
Recommended generation command:
openssl rand -base64 32 | tr '+/' '-_' | tr -d '=\n'
Encryption key
Explain that provider tokens are encrypted at rest and the value must be a 64-character hex string.
Recommended generation command:
openssl rand -hex 32
Vercel OAuth app
Tell the user to create a Vercel OAuth app and set:
- Callback URL:
https://YOUR_DOMAIN/api/auth/vercel/callback - For local dev:
http://localhost:3000/api/auth/vercel/callback
Store the credentials as:
NEXT_PUBLIC_VERCEL_APP_CLIENT_IDVERCEL_APP_CLIENT_SECRET
GitHub App
Tell the user they do not need a separate GitHub OAuth app. Open Harness uses the GitHub App's user authorization flow.
Tell the user to create a GitHub App and set:
- Homepage URL:
https://YOUR_DOMAIN - Callback URL:
https://YOUR_DOMAIN/api/github/app/callback - Setup URL:
https://YOUR_DOMAIN/api/github/app/callback - For local dev: homepage
http://localhost:3000, callback/setuphttp://localhost:3000/api/github/app/callback
Also tell them to:
- enable "Request user authorization (OAuth) during installation"
- use the GitHub App Client ID and Client Secret for
NEXT_PUBLIC_GITHUB_CLIENT_IDandGITHUB_CLIENT_SECRET - make the app public if they want org installs to work cleanly
- generate a webhook secret
- download/generate the private key
Store the values as:
NEXT_PUBLIC_GITHUB_CLIENT_IDGITHUB_CLIENT_SECRETGITHUB_APP_IDGITHUB_APP_PRIVATE_KEYNEXT_PUBLIC_GITHUB_APP_SLUGGITHUB_WEBHOOK_SECRET
Mention that GITHUB_APP_PRIVATE_KEY can be stored either as PEM contents with escaped newlines or as a base64-encoded PEM.
Redis / KV
Explain that Redis is optional. It improves resumable streams, stop signaling, and caching, but it is not required for the first deploy.
Deployment flow
Guide the user through this sequence:
- Fork the repo.
- Import it into Vercel at the repo root.
- Add the baseline env vars:
POSTGRES_URLJWE_SECRETENCRYPTION_KEY
- Deploy once to get a stable production URL.
- Create the Vercel OAuth app using that production URL.
- Add
NEXT_PUBLIC_VERCEL_APP_CLIENT_IDand `VERCEL_APP_CLIENT_SECR
Установить deploy-open-harness в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл deploy-open-harness?
Guides a user through collecting the credentials needed to deploy their own copy of Open Harness, deploying this repo on Vercel, and completing first-run setup. Use for requests about deploying, self-hosting, configuring credentials, or getting started with a fork of this app.
Как установить скилл deploy-open-harness?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deploy-open-harness запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic