agentleFS
alanalvestechalanalvestech/hitank/skills/vercel/SKILL.md

vercel

Skill38 starsChanged 8 months agoMITView on GitHub

Manage Vercel projects, deployments, domains and environment variables via API

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use analytics-metrics, aws-account-management and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • hoodiniSkill

    analytics-metrics

    Build data visualization and analytics dashboards. Use when creating charts, KPI displays, metrics dashboards, or data visualization components. Triggers on analytics, dashboard, charts, metrics, KPI, data visualization, Recharts.

    Also in 3 projects that use this

  • hoodiniSkill

    aws-account-management

    Manage AWS accounts, organizations, IAM, and billing. Use when setting up AWS Organizations, managing IAM policies, controlling costs, or implementing multi-account strategies. Triggers on AWS Organizations, AWS IAM, AWS billing, Cost Explorer, SCPs, multi-account, AWS SSO, Identity Center.

    Also in 3 projects that use this

  • LangChainSkill

    langchain

    Build agents with a prebuilt architecture and integrations for any model or tool. Use when creating tool-calling agents, switching model providers, or adding structured output.

    Also in 3 projects that use this

  • +7 more from hoodini

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the output is OK, proceed to the Flow section.

    line 35
  2. Very specific:

    If the output is SETUP_NEEDED, guide the user step by step.

    line 37
  3. Distinctive:

    If the script outputs an error, the token is invalid.

    line 54

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/vercel

Connect to the Vercel API to manage projects, deployments, domains, environment variables and more. Pure Ruby, zero gems — stdlib only.

Structure

scripts/
├── auth.rb          # Bearer token + vercel_request helper (required by all scripts)
├── check_setup.rb   # Check if token exists (outputs OK or SETUP_NEEDED)
├── save_token.rb    # Save and validate an API token
├── projects.rb      # List all projects
├── project.rb       # Get project details
├── deployments.rb   # List deployments for a project
├── deployment.rb    # Get deployment details
├── domains.rb       # List domains
├── env_vars.rb      # List env vars (masked by default)
├── logs.rb          # Get deployment logs
└── redeploy.rb      # Redeploy a deployment

Setup (check before using)

ruby ~/.claude/skills/vercel/scripts/check_setup.rb

If the output is OK, proceed to the Flow section.

If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.

Step 1 — Ask the user to create an API token:

You need a Vercel API token. Go to Account Settings > Tokens on the Vercel Dashboard: https://vercel.com/account/tokens

Click Create to generate a new token. Give it a descriptive name like "hitank".

Copy the token and paste it here.

Step 2 — When the user pastes the token, save it:

ruby ~/.claude/skills/vercel/scripts/save_token.rb 'PASTED_TOKEN'

If the script outputs an error, the token is invalid. Ask the user to double-check and try again.

If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.

Flow

The argument $ARGUMENTS may contain a project name or ID.

Step 1: List projects

ruby ~/.claude/skills/vercel/scripts/projects.rb

Present the projects to the user. If $ARGUMENTS matches a project name, use that project. Otherwise ask which project to work with.

Step 2: Show project details

ruby ~/.claude/skills/vercel/scripts/project.rb PROJECT_NAME_OR_ID

Present the project info and ask what the user wants to do.

Step 3: Actions

List deployments:

ruby ~/.claude/skills/vercel/scripts/deployments.rb PROJECT_ID

Get deployment details:

ruby ~/.claude/skills/vercel/scripts/deployment.rb DEPLOYMENT_ID

List domains:

ruby ~/.claude/skills/vercel/scripts/domains.rb

List env vars (masked):

ruby ~/.claude/skills/vercel/scripts/env_vars.rb PROJECT_ID

Reveal env vars:

ruby ~/.claude/skills/vercel/scripts/env_vars.rb PROJECT_ID --reveal

Get deployment logs:

ruby ~/.claude/skills/vercel/scripts/logs.rb DEPLOYMENT_ID

Redeploy a deployment (requires user confirmation):

Show current deployment details first, then ask: "Do you want to redeploy this deployment?" Only execute after a "yes".

ruby ~/.claude/skills/vercel/scripts/redeploy.rb DEPLOYMENT_ID PROJECT_NAME
ruby ~/.claude/skills/vercel/scripts/redeploy.rb DEPLOYMENT_ID PROJECT_NAME --target production

Notes

  • Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
  • Auth via Bearer token in Authorization header
  • Token file: ~/.config/vercel/token (outside the repo, never commit)
  • Redeploying requires explicit user confirmation
  • Base URL: https://api.vercel.com

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.