Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

vercel-servicesVercel services 搜索

Agent Skill

vercel-services 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,063

周安装

43

GitHub Stars

154

下载量

334
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vercel-services(Vercel services 搜索)
来源仓库:https://github.com/vercel-labs/vercel-plugin
仓库路径:skills/vercel-services
安装命令:
npx skills add https://github.com/vercel-labs/vercel-plugin --skill vercel-services
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/vercel-labs/vercel-plugin --skill vercel-services

简介

vercel-services 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于 Vercel services 搜索相关的信息检索和筛选任务。
  • 通过 npx skills add 命令从 GitHub 仓库安装,支持主流 AI 编程环境集成。
  • 安装前建议确认权限范围和维护状态,注意可能触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Deploy multi-service projects with Vercel

Services let you deploy multiple independently-built units within a single Vercel project. The typical use case is combining different runtimes (e.g. Python + JavaScript) in one deployment with shared routing and environment variables, but services work for any combination — multiple services of the same runtime, different frameworks, or a mix.

This skill covers project structure and configuration. For the actual deployment, defer to the deployments-cicd skill.

How It Works

A service is an independently built unit within your project, deployed to the same domain under a unique subpath. At build time, Vercel builds each service separately. At request time, Vercel routes incoming requests to the correct service based on the URL path prefix (longest prefix wins).

  • Services are enabled via the experimentalServices field in vercel.json (see reference project).
  • vercel dev -L auto-detects frameworks and runs all services locally as one application, handling routing automatically. The -L flag (short for --local) runs without authenticating with Vercel Cloud.
  • Only vercel.json lives at the root. Each service manages its own dependencies independently.

Configuration

Define services in vercel.json:

{
  "experimentalServices": {
    "web": {
      "entrypoint": "apps/web",
      "routePrefix": "/"
    },
    "api": {
      "entrypoint": "backend/main.py",
      "routePrefix": "/server"
    }
  }
}

The project's Framework Preset must be set to Services in the Vercel dashboard.

Configuration fields

FieldRequiredDescription
entrypointYesPath to the service entrypoint file or directory.
routePrefixYesURL path prefix for routing (e.g. /, /api, /svc/go).
frameworkNoFramework slug. Pins detection; auto-detected if unset.
memoryNoMax available RAM in MB (128–10,240).
maxDurationNoExecution timeout in seconds (1–900).
includeFilesNoGlob patterns for files to include in the deployment.
excludeFilesNoGlob patterns for files to exclude from the deployment.

Do not add unknown fields — they will cause the build to fail.

Supported runtimes and frameworks

Services is in beta. Python and Go are tested and production-ready. Other runtimes may work but are not yet validated.

Python

Works with FastAPI, Flask, Django, or any ASGI/WSGI application. Framework is auto-detected. Set entrypoint to the application file (e.g. "backend/main.py"). Dependencies go in pyproject.toml in the service directory.

Go

Set entrypoint to the service directory (e.g. "backend"), not a file. Must set "framework": "go" explicitly in vercel.json — auto-detection does not work for Go services. Dependencies in go.mod in the service directory.

Other runtimes (untested)

Vercel supports Node.js, Bun, Rust, Ruby, Wasm, and Edge runtimes for functions. These can theoretically be used as services but are not yet validated.

Routing

Vercel evaluates route prefixes from longest to shortest (most specific first), with the primary service (/) as the catch-all. Vercel automatically mounts services at their routePrefix, so service handlers should not include the prefix in their routes.

For frontend frameworks mounted on a subpath (not /), configure the framework's own base path (e.g. basePath in next.config.js) to match routePrefix.

Environment variables

Vercel auto-generates URL variables so services can find each other:

VariableExample valueAvailabilityUse case
{SERVICENAME}_URLhttps://your-deploy.vercel.app/svc/apiServer-sideServer-to-server requests
NEXT_PUBLIC_{SERVICENAME}_URL/svc/apiClient-sideBrowser requests (relative, no CORS)

SERVICENAME is the key name from experimentalServices, uppercased. If you define an env var with the same name in project settings, your value takes precedence.

Usage

  1. Read references/fastapi-vite/ for the canonical project layout.
  2. Adapt the structure to the user's chosen runtimes — services can use any supported runtime, not just the ones in the reference.
  3. Define service routes without the route prefix — Vercel strips the prefix before forwarding.
  4. Validate that each service in vercel.json has entrypoint and routePrefix. Only set framework when auto-detection fails (required for Go).

Output

After scaffolding, present the created file structure to the user. After deployment, present the deployment URL (refer to the deployments-cicd skill for details).

Troubleshooting

404 on routes after deployment

The project needs the Services framework preset:

  1. Go to Project Settings → Build & Deployment → Framework Preset
  2. Select Services from the dropdown
  3. Redeploy

Routes return unexpected results

  1. Ensure all services are picked up by vercel dev — check logs. If a service is missing, verify vercel.json. Try setting framework explicitly.
  2. Validate route prefix behavior: handlers declare routes without routePrefix (e.g. /health), but requests from other services use the full prefix (e.g. /api/health).
  3. For frontend services on a subpath, confirm the framework's base path config matches routePrefix.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.13%
按下载量换算121

Claude

28.59%
按下载量换算95

Cursor

19.06%
按下载量换算64

Gemini CLI

7.94%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills