Agent skill

Security Vite

by IgorWarzocha in IgorWarzocha/Opencode-Workflows

Review Vite security audit patterns for SPA and dev server security.

No licenceAuto-check: notesSecurity

Install Security Vite

skills CLI
$ npx skills add IgorWarzocha/Opencode-Workflows --skill security-vite -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install IgorWarzocha/Opencode-Workflows security-vite --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/IgorWarzocha/Opencode-Workflows.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/security-reviewer/.opencode/skill/security-vite .claude/skills/security-vite && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
security-vite
GitHub stars
122
Token cost
~1.2k tokens
SKILL.md length
230 words
Files
2 (incl. scripts)
Skills in repo
35
Repo updated
First seen
Licence
None found

At a glance

Review Vite security audit patterns for SPA and dev server security.

  • Works in 3 steps: grep -r "VITE_" . -g "*.env*" → Check import.meta.env.VITE_* usage in… → Common mistakes
  • Auditing VITE exposure
  • SKILL.md covers Environment Variable Exposure, Build-Time vs Runtime, Dev Server Security and SPA Security Issues, plus 3 more sections
  • Runs Shell scripts from its folder; calls rg; needs API_KEY and VITE_API_SECRET

What it does

Security Vite is an agent skill from IgorWarzocha/Opencode-Workflows. Review Vite security audit patterns for SPA and dev server security. Use for auditing VITE exposure, build-time secrets, and proxy configs. Use proactively when reviewing Vite apps (vite.config.ts present). Examples: - user: "Audit Vite env vars" → check for secrets with VITE prefix - user: "Check Vite build config" → verify define block and source maps - user: "Review Vite dev server" → check host binding and proxy security - user: "Scan Vite bundles" → search dist/ for leaked API keys or secrets - user: "Audit…

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/scan.sh`).

It sits in Security, covering Security review and Backend development. It works with Vite. The repository describes itself as: An ever evolving repository of Opencode workflow examples that might enhance your experience with it. I only left the stuff that actually works. YMMV.

When your agent uses it

  • Auditing VITE exposure
  • Build-time secrets

Example prompts

  • “Audit Vite env vars”
  • “Check Vite build config”
  • “Review Vite dev server”
  • “/security-vite”

Requirements

  • A Bash shell
  • A credential in VITE_API_SECRET
  • A credential in VITE_STRIPE_SECRET_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. grep -r "VITE_" . -g "*.env*"
  2. Check import.meta.env.VITE_* usage in source
  3. Common mistakes

What it can do on your machine

Read from SKILL.md and the folder at commit 6444ec4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • API_KEY
    • VITE_API_SECRET
    • VITE_STRIPE_SECRET_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Security Vite loads about 1.2k tokens when it runs. Until then it costs about 150 tokens; SKILL.md has 230 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~150
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:40
    .env                # Always loaded
  • NoteMentions a .env fileSKILL.md:41
    .env.local          # Always loaded, gitignored
  • NoteMentions a .env fileSKILL.md:42
    .env.[mode]         # e.g., .env.production
  • NoteMentions a .env fileSKILL.md:43
    .env.[mode].local   # e.g., .env.production.local, gitignored
  • NoteMentions a .env fileSKILL.md:46
    **Check:** Are `.env.local` and `.env.*.local` in `.gitignore`?
  • NoteMentions a .env fileSKILL.md:150
    | VITE_* secrets | `.env*`, source files | CRITICAL |
  • NoteMentions a .env fileSKILL.md:187
    - [ ] `.env.local` and `.env.*.local` in `.gitignore`

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 230 words (~1,196 tokens).

“Security audit patterns for Vite applications focusing on environment variable exposure, build-time secrets, and SPA-specific vulnerabilities.”

— opening of SKILL.md by IgorWarzocha
name
security-vite

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in agents/security-reviewer/.opencode/skill/security-vite of IgorWarzocha/Opencode-Workflows.

  • SKILL.md
  • scripts/scan.sh

Open the folder on GitHubat commit 6444ec4

Compare with similar skills

Security Vite next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Security Vite compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Security Vite this skillIgorWarzocha/Opencode-Workflows122—~1.2kAutomated safety check: NotesNone
Checking Session Securityjeremylongshore/tons-of-skills-marketplace2.8k—~1.5kAutomated safety check: PassMIT
Psalm Security Analysiscachethq/core230—~4.7kAutomated safety check: PassCustom licence
Security AuditThibautBaissac/rails_ai_agents665—~846Automated safety check: NotesMIT
Laravel Security Auditaiskillstore/marketplace4304 repos~1.1kAutomated safety check: NotesNone
Django Access Reviewgetsentry/skills1k3 repos~2.6kAutomated safety check: NotesApache-2.0

Similar skills

  • Checking Session Security

    jeremylongshore/tons-of-skills-marketplace

    Analyze session management implementations to identify security vulnerabilities in web applications.

    2.8k GitHub stars~1.5k tokensUpdated today
    SecurityAuto-check passed
  • Runs and interprets Psalm security (taint) analysis on a Laravel project.

    230 GitHub stars~4.7k tokensUpdated 4 days ago
    SecurityAuto-check passed
  • Security Audit

    ThibautBaissac/rails_ai_agents

    Audits Rails application security against OWASP Top 10, detects vulnerabilities with Brakeman, and verifies Pundit authorization policies.

    665 GitHub stars~846 tokensUpdated 4 mo ago
    SecurityAuto-check: notes
  • Laravel Security Audit

    aiskillstore/marketplace

    Security auditor for Laravel applications. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 4 repos~1.1k tokens
    SecurityAuto-check: notes
  • Django Access Review

    getsentry/skills

    Official

    Django access control and IDOR security review. An agent skill from getsentry/skills.

    1k GitHub starsUsed in 3 repos~2.6k tokens
    Backend & APIsAuto-check: notes
  • Use this skill as THE specialized Lightning Web Security (LWS) validator for a Lightning Web Component bundle (.js, .ts, .html, .css, .js-meta.xml) — the canonical LWS/Product-Security review for…

    1.1k GitHub stars~2.6k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed

More from IgorWarzocha/Opencode-Workflows

All 35 skills in this repo
  • Create Opencode Plugin

    IgorWarzocha/Opencode-Workflows

    Create OpenCode plugins using the @opencode-ai/plugin SDK. An agent skill from IgorWarzocha/Opencode-Workflows.

    122 GitHub stars~2.4k tokensUpdated 8 mo ago
    Auto-check passed
  • Plugin Installer

    IgorWarzocha/Opencode-Workflows

    Find, install, and configure OpenCode plugins from the catalog or community.

    122 GitHub stars~1.3k tokensUpdated 8 mo ago
    Auto-check passed
  • Skill Creator

    IgorWarzocha/Opencode-Workflows

    Guide for creating effective opencode skills. An agent skill from IgorWarzocha/Opencode-Workflows.

    122 GitHub stars~2.8k tokensUpdated 8 mo ago
    Auto-check passed
  • Security AI Keys

    IgorWarzocha/Opencode-Workflows

    Review AI API key leakage patterns and redaction strategies.

    122 GitHub stars~793 tokensUpdated 8 mo ago
    Auto-check: notes
  • Security Convex

    IgorWarzocha/Opencode-Workflows

    Review Convex security audit patterns for authentication and authorization.

    122 GitHub stars~3.1k tokensUpdated 8 mo ago
    Auto-check passed
  • Security Django

    IgorWarzocha/Opencode-Workflows

    Review Django security audit patterns for settings and middleware.

    122 GitHub stars~1.6k tokensUpdated 8 mo ago
    Auto-check: notes

Works with

Categories

Questions about Security Vite

What does Security Vite do?

Review Vite security audit patterns for SPA and dev server security. Security Vite is an agent skill from IgorWarzocha/Opencode-Workflows. Review Vite security audit patterns for SPA and dev server security.

When should I use Security Vite?

Security Vite fits situations like: auditing VITE exposure; build-time secrets.

How do I install Security Vite in Claude Code?

Run `npx skills add IgorWarzocha/Opencode-Workflows --skill security-vite -a claude-code`. Or copy the skill folder (agents/security-reviewer/.opencode/skill/security-vite in IgorWarzocha/Opencode-Workflows) into .claude/skills/security-vite in your project. Claude Code loads it when a task matches its description.

How do I install Security Vite in Codex?

Run `npx skills add IgorWarzocha/Opencode-Workflows --skill security-vite -a codex`. Or copy the skill folder (agents/security-reviewer/.opencode/skill/security-vite in IgorWarzocha/Opencode-Workflows) into .agents/skills/security-vite in your project. Codex loads it when a task matches its description.

Can I use Security Vite in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add IgorWarzocha/Opencode-Workflows --skill security-vite -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/security-vite, .gemini/skills/security-vite, .github/skills/security-vite and .opencode/skills/security-vite in your project.

What does Security Vite need to run?

Going by SKILL.md and its folder, Security Vite needs a shell for the scripts in its folder, the command-line tools its instructions call (rg) and credentials named API_KEY, VITE_API_SECRET and VITE_STRIPE_SECRET_KEY. Our summary lists: A Bash shell; A credential in VITE_API_SECRET; A credential in VITE_STRIPE_SECRET_KEY.

Does Security Vite access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Security Vite safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Security Vite use?

No licence was found for Security Vite or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Security Vite use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Security Vite?

Skills that share tags, products or a category with Security Vite: Checking Session Security (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Psalm Security Analysis (cachethq/core, 230 stars), Security Audit (ThibautBaissac/rails_ai_agents, 665 stars) and Laravel Security Audit (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Security Vite?

IgorWarzocha (a GitHub user) maintains it in IgorWarzocha/Opencode-Workflows, which has 122 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on February 4, 2026.

Source: IgorWarzocha/Opencode-Workflows on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.