Logo de Vercel Token Setup

Vercel Token Setup

OrganizaçãoPopular
vellum-ai
vercel-token-setup

Configure um token de API da Vercel para publicar apps usando automação de navegador

Add to TypingMind

Visão geral

Publicado porvellum-ai
Repositóriovellum-assistant
Nome da habilidadevercel-token-setup
Estrelas
1.4K
Forks
208
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por vellum-ai no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Vercel Token Setup no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/vellum-ai/vellum-assistant/tree/main/skills/vercel-token-setup
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant.git /tmp/vellum-assistant
mkdir -p .claude/skills
cp -r /tmp/vellum-assistant/skills/vercel-token-setup .claude/skills/vercel-token-setup
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Vercel Token Setup em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Vercel Token Setup automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Vercel Token Setup não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

You are helping your user set up a Vercel API token so they can publish apps to the web.

Client Check

Determine whether the user has browser automation available (macOS desktop app) or is on a non-interactive channel (Telegram, Slack, etc.).

  • macOS desktop app: Follow the Automated Setup path below.
  • Telegram or other channel (no browser automation): Follow the Manual Setup for Channels path below.

Path A: Manual Setup for Channels (Telegram, Slack, etc.)

When the user is on Telegram or any non-macOS client, walk them through a text-based setup. No browser automation is used - the user follows links and performs each action manually.

Channel Step 1: Confirm and Explain

Tell the user:

Setting up Vercel API Token

Since I can't automate the browser from here, I'll walk you through each step with direct links. You'll need:

  1. A Vercel account (free tier works)
  2. About 2 minutes

Ready to start?

If the user declines, acknowledge and stop.

Channel Step 2: Create the Token

Tell the user:

Step 1: Create an API token

Open this link to go to your Vercel tokens page: https://vercel.com/account/tokens

  1. Click "Create" (or "Create Token")
  2. Set the token name to "Vellum Assistant"
  3. Select scope: "Full Account"
  4. Set expiration to the longest option available (or "No Expiration" if offered)
  5. Click "Create Token"

A token value will appear - copy it now, as it's only shown once.

Channel Step 3: Store the Token

Tell the user:

Step 2: Send me the token

Please paste the token value into the secure prompt below.

Present the secure prompt (via the bash tool) — it collects the token through a secure UI and stores it with the right tool policy in one step:

bash
assistant credentials prompt --service vercel --field api_token \
  --label "Vercel API Token" \
  --placeholder "Enter your Vercel API token" \
  --description "Paste the API token you just created on vercel.com" \
  --allowed-tools "publish_page,unpublish_page"

Channel Step 4: Done!

Vercel is connected! You can now publish apps to the web. Try clicking Publish on any app you've built.


Path B: Automated Setup (macOS Desktop App)

You will automate Vercel token creation via the browser while the user watches. The user's only manual action is signing in to Vercel (if needed) and one copy-paste for the token value.

Browser Interaction Principles

All browser operations are executed through the assistant browser CLI, invoked via host_bash. Vercel's UI may change over time. Do NOT memorize or depend on specific element IDs, CSS selectors, or DOM structures. Instead:

  1. Screenshot first, act second. Before every interaction, take a screenshot to see the current visual state. Use assistant browser snapshot to find interactive elements.

    bash
    assistant browser --session vercel screenshot --output /tmp/vercel-state.jpg
    assistant browser --session vercel --json snapshot
  2. Adapt to what you see. If a button's label or position differs from what you expect, use the screenshot to find the correct element.

  3. Verify after every action. After clicking, typing, or navigating, take a new screenshot to confirm the action succeeded.

  4. Never assume DOM structure. Use the snapshot to identify what's on the page and interact accordingly.

  5. When stuck, screenshot and describe. If you cannot find an expected element after 2 attempts, take a screenshot, describe what you see to the user, and ask for guidance.

Anti-Loop Guardrails

Each step has a retry budget of 3 attempts. An attempt is one try at the step's primary action (e.g., clicking a button, filling a form). If a step fails after 3 attempts:

  1. Stop trying. Do not continue retrying the same approach.
  2. Fall back to manual. Tell the user what you were trying to do and ask them to complete that step manually in the browser. Give them the direct URL and clear text instructions.
  3. Resume automation at the next step once the user confirms the manual step is done.

If two or more steps require manual fallback, abandon the automated flow entirely and switch to giving the user the remaining steps as clear text instructions with links.

Things That Do Not Work - Do Not Attempt

These actions are technically impossible in the browser automation environment:

  • Downloading files. Clicking a Download button via assistant browser click does not save files to disk.
  • Reading the token value from a screenshot. The token IS visible in the creation dialog, but you MUST NOT attempt to read it from a screenshot - it is too easy to misread characters, and the value must be exact. Always use the assistant credentials prompt approach to let the user copy-paste it accurately.
  • Clipboard operations. You cannot copy/paste via browser automation.

Step 1: Single Upfront Confirmation

Tell the user:

Setting up your Vercel API token so we can publish your app...

Here's what will happen:

  1. A browser opens to your Vercel account settings
  2. You sign in (if not already signed in)
  3. I create the token - you just watch
  4. One quick copy-paste - I'll ask you to copy the token value into a secure prompt

Takes about a minute. Ready?

If the user declines, acknowledge and stop. No further confirmations are needed after this point.

Step 2: Open Vercel and Sign In

Goal: The user is signed in and the Vercel tokens page is loaded.

Navigate to https://vercel.com/account/tokens:

bash
assistant browser --session vercel navigate --url "https://vercel.com/account/tokens"

Take a screenshot and snapshot to check the page state:

  • Sign-in page: Tell the user: "Please sign in to your Vercel account in the browser." Then auto-detect sign-in completion by polling screenshots every 5-10 seconds. Check if the current URL has moved away from the login/sign-in page to the tokens page. Do NOT ask the user to "let me know when you're done" - detect it automatically. Once sign-in is detected, tell the user: "Signed in! Creating your API token now..."
  • Already signed in: Tell the user: "Already signed in - creating your API token now..." and continue immediately.

Verify: URL contains vercel.com/account/tokens and no sign-in overlay is visible.

Step 3: Create Token

Goal: A new API token named "Vellum Assistant" is created.

Take a screenshot and snapshot. Find and click the button to create a new token (typically labeled "Create" or "Create Token"):

bash
assistant browser --session vercel screenshot --output /tmp/vercel-tokens.jpg
assistant browser --session vercel --json snapshot

On the creation form:

  • Token name: "Vellum Assistant"
  • Scope: Select "Full Account" (or the broadest scope available)
  • Expiration: Select the longest option available, or "No Expiration" if offered
  • Click create/submit

Verify: Take a screenshot. A dialog or section should now display the newly created token value.

bash
assistant browser --session vercel screenshot --output /tmp/vercel-token-created.jpg

Step 4: Capture Token via Secure Prompt

Goal: The token value is securely captured and stored.

CRITICAL - Token Capture Protocol

After token creation, Vercel shows the token value once. You MUST follow this exact sequence - no improvisation:

  1. Tell the user: "Your token has been created! Please copy the token value shown on screen and paste it into the secure prompt below."
  2. IMMEDIATELY run assistant credentials prompt for the token. This is your ONLY next action.
  3. Wait for the user to paste the token.

Absolute prohibitions during this step:

  • Do NOT try to read the token value from the screenshot. It must come from the user via secure prompt to ensure accuracy.
  • Do NOT navigate away from the page until the user has pasted the token.
  • Do NOT click any download or copy buttons.

Present the secure prompt (via the bash tool) — it collects the token through a secure UI and stores it with the right tool policy in one step:

bash
assistant credentials prompt --service vercel --field api_token \
  --label "Vercel API Token" \
  --placeholder "Enter your Vercel API token" \
  --description "Copy the token value shown on the Vercel page and paste it here." \
  --allowed-tools "publish_page,unpublish_page"

Verify: assistant credentials list --search vercel shows api_token for vercel.

Step 5: Done!

"Vercel is connected! Your API token is set up and ready to go. You can now publish apps to the web."

Error Handling

  • Page load failures: Retry navigation once. If it still fails, tell the user and ask them to check their internet connection.
  • Element not found: Take a fresh screenshot to re-assess. The Vercel UI may have changed. Describe what you see and try alternative approaches. If stuck after 2 attempts, ask the user for guidance.
  • Token already exists with same name: This is fine - Vercel allows multiple tokens with the same name. Proceed with creation.
  • Any unexpected state: Take a screenshot (assistant browser --session vercel screenshot --output /tmp/vercel-error.jpg), describe what you see, and ask the user for guidance.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Vercel Token Setup faz?

Configure um token de API da Vercel para publicar apps usando automação de navegador

Por que usar Vercel Token Setup no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Vercel Token Setup é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Vercel Token Setup no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/vellum-ai/vellum-assistant/tree/main/skills/vercel-token-setup. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Vercel Token Setup?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Vercel Token Setup?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Vercel Token Setup com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Vercel Token Setup é gratuita?

Sim. A habilidade é publicada no GitHub por vellum-ai sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇