setup

An interactive setup command for Vue.js development. Vue.js is a framework for building web interfaces, and Volar is its language server for editor features and code checking.

In plain words
What is it for?
Use it to prepare a Vue project, verify tool installations, and optionally create a starting package.json configuration.
Why use it?
It checks for Node.js and installs the language server, TypeScript, ESLint, and Prettier so a Vue project has the listed development tools available.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/zircote/vue-lsp/setup
Clone the repo
git clone --depth 1 https://github.com/zircote/vue-lsp
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 917 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.00917
Opus 5 $0.00005 $0.00458
Sonnet 5 $0.00002 $0.00183
Haiku 4.5 $0.00001 $0.00092

Measured 2d ago against content hash 289a451dadb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/setup.md · 179 lines

How it starts

The opening of the file, as written. The whole thing — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vue.js LSP Setup

This command will configure your Vue.js development environment with vue-language-server (Volar) LSP and essential tools.

Prerequisites Check

First, verify Node.js is installed:

node --version
npm --version

Installation Steps

1. Install vue-language-server (Volar)

npm install -g @vue/language-server typescript

2. Install Development Tools

Quick install (all recommended tools):

npm install -g eslint prettier

3. Verify Installation

# Check vue-language-server
vue-language-server --version

# Check TypeScript
tsc --version

# Check ESLint
eslint --version

# Check Prettier
prettier --version

4. Create Project Configuration (Optional)

package.json (if starting fresh):

{
  "name": "my-vue-project",
  "version": "0.1.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vue-tsc && vite build",
    "lint": "eslint . --ext .vue,.js,.jsx,.ts,.tsx"
  },
  "dependencies": {
    "vue": "^3.4.0"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^5.0.0",
    "eslint": "^8.57.0",
    "eslint-plugin-vue": "^9.19.0",
    "prettier": "^3.1.0",
    "typescript": "^5.3.0",
    "vite": "^5.0.0",
    "vue-tsc": "^1.8.0"
  }
}

tsconfig.json:

{
  "compilerOptions": {
    "target": "ES2022",
    "module": "ESNext",
    "moduleResolution": "bundler",
    "jsx": "preserve",
    "strict": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "resolveJsonModule": true,
    "isolatedModules": true
  },
  "include": ["src/**/*.ts", "src/**/*.vue"],
  "exclude": ["node_modules"],
  "vueCompilerOptions": {
    "target": 3
  }
}

.eslintrc.json:

{
  "root": true,
  "env": {
    "browser": true,
    "es2022": true,
    "node": true
  },
  "extends": [
    "eslint:recommended",
    "plugin:vue/vue3-recommended"
  ],
  "parserOptions": {
    "ecmaVersion": "latest",
    "sourceType": "module"
  }
}

.prettierrc:

Read the full file on GitHub · 179 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 179 lines · 9 tokens per session scan A 289a451dadb6

Subscribe to this mod's changes

setup is a command published in the GitHub repository zircote/vue-lsp (1 stars, last pushed 23d ago), licensed MIT. It adds 9 tokens to every session and 917 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.