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

vercel-flags

Skill by openai

Guides AI assistants through Vercel Flags, a feature flags platform for gradual rollouts, A/B testing and staged releases. It covers the flags SDK, provider adapters and the Flags Explorer. Aimed at developers adding feature flags to Next.js or SvelteKit apps.

  • Score 87
  • 8.5k stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install vercel-flags

Built from the published package, never by AI.

git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/vercel/skills/vercel-flags ~/.claude/skills/vercel-flags

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

Step-by-step: install vercel-flags in Claude Code

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

About

This skill gives an AI assistant guidance on Vercel Flags, a feature flags platform for the Vercel ecosystem. It describes the flags package, which defines flags with a flag() function and reads their values in server code. It also covers the Vercel adapter, which uses an FLAGS environment variable, and adapters for third-party providers such as LaunchDarkly, Statsig, Hypertune and GrowthBook. The skill explains the Flags Explorer for overriding flags in a browser session, plus the precompute pattern for static and personalized pages.

The skill is for developers who need gradual rollouts, percentage targeting, A/B testing or trunk-based development. It notes when to use Vercel Flags instead of Edge Config or environment variables. It tells the assistant to check the current docs before writing flag code, because the API has changed in recent versions.

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

What it can do

  • Flag definitionsDefines boolean and multi-variant flags with the flag() function from the flags SDK.
  • Vercel adapterConnects the Flags SDK to Vercel Flags as the provider using the FLAGS environment variable.
  • Flags Explorer setupCreates the discovery endpoint so developers can override flags in their browser session.
  • Precompute patternGenerates static page variants per flag combination and serves them through middleware.
  • Custom adapter interfaceShows how to write a custom adapter with origin and decide functions.
  • Provider adaptersConnects to third-party providers such as LaunchDarkly, Statsig, Hypertune and GrowthBook.
  • CLI managementManages flags from the terminal with vercel flags add and vercel flags sdk-keys ls.
  • Entities and segmentsDefines user or team attributes and reusable targeting segments.
  • Analytics integrationTracks flag impact through Web Analytics and Runtime Logs.

What you need

  • Vercel account with a team
  • Next.js (App Router or Pages Router) or SvelteKit
  • FLAGS_SECRET environment variable (32 random bytes, base64-encoded)

Try asking

  • Define a boolean feature flag for a new checkout flow using the flags SDK
  • Set up the Flags Explorer discovery endpoint in my Next.js App Router app
  • Add a Vercel adapter to my flag and identify users for targeting

Good to know

  • Vercel Flags is in public beta as of February 2026.
  • Version 4 of the flags package has breaking changes from version 3.
  • Since v4.0.3, a flag without a decide function throws an error at declaration time.
  • Framework support is listed as Next.js and SvelteKit only.

Security check

A

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

Checked automatically: plugins/vercel/skills/vercel-flags/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • agents/openai.yaml178 B

Alternatives to vercel-flags

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

vercel-flags: common questions

Is Vercel Flags free?

The flags package is free, open-source and MIT licensed. Vercel Flags is priced at $30 per 1 million flag requests.

Can I use other flag providers with it?

Yes. The source lists adapters for LaunchDarkly, Statsig, Hypertune, GrowthBook, ConfigCat, DevCycle and others, plus an OpenFeature adapter.

Which frameworks does it support?

The source says Next.js (App Router, Pages Router and Routing Middleware) and SvelteKit are supported.

How do I install vercel-flags?

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

Is vercel-flags free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is vercel-flags safe to use?

It scores 87 of 100. Grades: maintenance A, licence F, 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 vercel-flags?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

vercel-flags Install

Add to stack

Loading.