Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
vercel-labs avatar

Deploy Open Harness

  • 49 installs
  • 5.8k repo stars
  • Updated July 15, 2026
  • vercel-labs/open-agents

deploy-open-harness is an agent skill guiding Vercel self-hosting of Open Harness with scoped credential checklists and deploy verification.

About

The deploy-open-harness skill walks maintainers through deploying their own copy of Open Harness on Vercel with credential scoping tied to the current repository rather than legacy Harness assumptions. It requires reading README.md, apps/web/.env.example, and key auth, crypto, GitHub App, Redis, and sandbox source files before advising, trusting code over docs when they disagree. Users choose minimal deploy for Vercel sign-in and hosted UI only, or full deploy adding GitHub account linking, App installation, private repo access, pushes, and PR creation. Required credentials include POSTGRES_URL and JWE_SECRET for baseline runtime, plus ENCRYPTION_KEY and Vercel OAuth values for usable hosting, with GitHub App variables needed only for repo-backed flows. Safety rules forbid pasting secrets into chat and separate blockers for minimal versus full paths. Deployment flow covers fork, Vercel import, baseline env vars, first deploy for stable URL, OAuth app creation, redeploy, and optional Redis. First-run verification checks Vercel sign-in, session creation, and for full deploy GitHub linking and sandbox startup. Triggers include deploying, self-hosting, or configuring credentials for a.

  • Scopes minimal versus full GitHub-enabled deployment paths.
  • Credential checklist tied to current apps/web source files.
  • Never ask users to paste secrets into chat.
  • Stepwise Vercel deploy with OAuth callback on production URL.
  • First-run verification for sign-in, sessions, and GitHub flows.

Deploy Open Harness by the numbers

  • 49 all-time installs (skills.sh)
  • +2 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #730 of 1,453 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 27, 2026 (Skillselion catalog sync)
At a glance

deploy-open-harness capabilities & compatibility

Capabilities
minimal versus full deploy scoping · credential checklist from live codebase · vercel import and env var sequencing · oauth and github app callback configuration · post deploy sign in and sandbox verification
Works with
vercel · github · postgres
Use cases
devops · orchestration
From the docs

What deploy-open-harness says it does

If the code and the docs disagree, trust the code and say so.
SKILL.md
Never ask the user to paste secrets into chat.
SKILL.md
npx skills add https://github.com/vercel-labs/open-agents --skill deploy-open-harness

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs49
repo stars5.8k
Security audit3 / 3 scanners passed
Last updatedJuly 15, 2026
Repositoryvercel-labs/open-agents

How do I deploy my own Open Harness fork on Vercel with the right credentials?

Guide self-hosting Open Harness on Vercel by scoping minimal versus full GitHub-enabled deploys and collecting only required credentials from the current codebase.

Who is it for?

Maintainers self-hosting Open Harness who need minimal or full GitHub-enabled Vercel deployment guidance.

Skip if: Skip for removing demo limits, local-only dev without Vercel, or unrelated agent framework hosting.

When should I use this skill?

User asks to deploy, self-host, or configure credentials for an Open Harness fork on Vercel.

What you get

A deployed hosted app with required env vars, OAuth callbacks configured, and verified sign-in or GitHub flows.

Files

SKILL.mdMarkdownGitHub ↗

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.md
  • apps/web/.env.example
  • apps/web/lib/db/client.ts
  • apps/web/lib/jwe/encrypt.ts
  • apps/web/lib/crypto.ts
  • apps/web/app/api/auth/signin/vercel/route.ts
  • apps/web/app/api/auth/vercel/callback/route.ts
  • apps/web/app/api/github/app/install/route.ts
  • apps/web/app/api/github/app/callback/route.ts
  • apps/web/lib/github/app-auth.ts
  • apps/web/lib/redis.ts
  • apps/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:

1. Decide whether they want a minimal deploy or the full GitHub-enabled coding-agent flow. 2. Collect only the credentials actually required for that scope. 3. Understand where to obtain each credential. 4. Deploy this repo on Vercel. 5. Complete first-run verification. 6. 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_URL
  • JWE_SECRET

Required for a usable hosted deployment

  • ENCRYPTION_KEY
  • NEXT_PUBLIC_VERCEL_APP_CLIENT_ID
  • VERCEL_APP_CLIENT_SECRET

Required for GitHub-enabled repo flows

  • NEXT_PUBLIC_GITHUB_CLIENT_ID
  • GITHUB_CLIENT_SECRET
  • GITHUB_APP_ID
  • GITHUB_APP_PRIVATE_KEY
  • NEXT_PUBLIC_GITHUB_APP_SLUG
  • GITHUB_WEBHOOK_SECRET

Optional

  • REDIS_URL or KV_URL
  • VERCEL_PROJECT_PRODUCTION_URL
  • NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL
  • VERCEL_SANDBOX_BASE_SNAPSHOT_ID
  • ELEVENLABS_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_ID
  • VERCEL_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/setup http://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_ID and GITHUB_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_ID
  • GITHUB_CLIENT_SECRET
  • GITHUB_APP_ID
  • GITHUB_APP_PRIVATE_KEY
  • NEXT_PUBLIC_GITHUB_APP_SLUG
  • GITHUB_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:

1. Fork the repo. 2. Import it into Vercel at the repo root. 3. Add the baseline env vars:

  • POSTGRES_URL
  • JWE_SECRET
  • ENCRYPTION_KEY

4. Deploy once to get a stable production URL. 5. Create the Vercel OAuth app using that production URL. 6. Add NEXT_PUBLIC_VERCEL_APP_CLIENT_ID and VERCEL_APP_CLIENT_SECRET. 7. Redeploy. 8. If the user wants the full GitHub flow, create the GitHub App using the production URL, add the GitHub env vars, and redeploy again. 9. Optionally add Redis/KV and the production URL vars.

If the user already has a custom domain ready, it is fine to use that domain from the start instead of the default vercel.app production URL.

First-run verification

For a minimal deploy, walk the user through:

1. Open the production site. 2. Sign in with Vercel. 3. Confirm they land in the app successfully. 4. Create a session and confirm the basic UI loads.

For the full deploy, also verify:

1. GitHub account linking works. 2. GitHub App installation completes. 3. Installations or repos appear in the UI. 4. A repo-backed session can start. 5. The sandbox starts and the agent can work in the repo.

If something fails, identify the missing credential or callback mismatch instead of giving generic advice.

Response format

When helping a user, prefer this structure:

1. Target scope — minimal or full. 2. Credential checklist — grouped into required now vs optional later. 3. How to get each missing credential — short, concrete instructions. 4. Deploy steps — only the next actions the user should take. 5. Verification — what to click/test after deploy. 6. Next upgrades — Redis, GitHub, voice, custom domain, snapshot override, only if relevant.

Be concise. Keep the user moving toward the next unblocker.

Related skills

FAQ

What does deploy-open-harness produce?

Step-by-step Vercel deployment guidance with credential checklists and first-run verification for minimal or full scope.

When should I use deploy-open-harness?

When self-hosting Open Harness and collecting Postgres, JWE, encryption, and OAuth credentials for Vercel.

Is deploy-open-harness safe to install?

Review the Security Audits panel on this page before installing in production.

DevOps & CI/CDdeployinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.