auth-guard

auth-guard is a skill for Claude Code, Codex from ggg123124/vrchat-assistant. It costs 39 tokens per session (581 once invoked), scanned A, original, MIT.

An HTTP access-control add-on for protecting a VRChat assistant service exposed on a local network, the public internet, Docker, or behind a reverse proxy. It accepts Bearer tokens, API keys, or URL tokens.

In plain words
What is it for?
Use it to require and verify access tokens, generate a secure token for an environment file, and check whether the service is safely ready for public access.
Why use it?
It prevents unauthorised requests when a service is reachable by other machines, while allowing existing local setups to keep working when no token is configured.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to require and verify access tokens, generate a secure token for an environment file, and check whether the service is safely ready for public access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ggg123124/vrchat-assistant/auth-guard
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.

Any agent
npx skills add ggg123124/vrchat-assistant --skill auth-guard
Clone the repo
git clone --depth 1 https://github.com/ggg123124/vrchat-assistant

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for auth-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/ggg123124/vrchat-assistant/auth-guard/github.svg)](https://agentmods.dev/skills/ggg123124/vrchat-assistant/auth-guard)
Your own site
<a href="https://agentmods.dev/skills/ggg123124/vrchat-assistant/auth-guard"><img src="https://agentmods.dev/badge/skills/ggg123124/vrchat-assistant/auth-guard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auth-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/ggg123124/vrchat-assistant/auth-guard"><img src="https://agentmods.dev/badge/skills/ggg123124/vrchat-assistant/auth-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 581 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00039 $0.00581
Opus 5 $0.00019 $0.00291
Sonnet 5 $0.00008 $0.00116
Haiku 4.5 $0.00004 $0.00058

Measured 9d ago against content hash fecded45a446, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

auth-guard 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (index.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/official/auth-guard/SKILL.md · 44 lines

What it actually says

auth-guard 插件

本插件为 vrchat-assistant 服务提供零外部依赖的 HTTP 访问鉴权支持,方便将服务安全地暴露在局域网、公网(如 VPS、Docker 容器)或反向代理后。

核心特性

  1. 零外部软件依赖:无需安装第三方 VPN 或代理工具,Node.js 原生校验。
  2. 多方式兼容
    • Authorization: Bearer <TOKEN>(标准 REST Header,生产环境推荐)
    • X-API-Key: <TOKEN>(API Key Header)
    • ?token=<TOKEN>(URL 查询参数,兼容不支持自定义 Header 的客户端与浏览器直连;注意 URL 参数可能被代理日志记录,建议生产环境优先使用 Header)
  3. 时序安全比对:采用 crypto.timingSafeEqual 防范侧信道计时攻击。
  4. 向后完全兼容:若未设置 VRC_MONITOR_AUTH_TOKEN,服务默认完全放行,不影响本地单机使用体验。

环境变量配置

在项目根目录 .env 文件中配置:

# 1. 开启公网网卡监听(默认 127.0.0.1 仅本地可连,设为 0.0.0.0 允许外部连接)
VRC_MONITOR_HOST=0.0.0.0

# 2. 自定义端口(可选,默认 8799)
VRC_MONITOR_PORT=8799

# 3. 访问认证令牌(配置后强制开启全接口 401 拦截防护)
VRC_MONITOR_AUTH_TOKEN=your_secure_random_token_here

Docker 部署提示:若使用 Docker Compose 部署,请在 .env 中配置 VRC_MONITOR_AUTH_TOKEN,Compose 文件已配置自动将环境变量透传进容器。

MCP 工具

工具名 说明
auth_get_status 查看当前服务的监听 IP、端口、Token 启用情况与公网安全就绪度
auth_generate_token 生成 32 字节高强度随机 Token,并输出可直接写入 .env 的配置片段
auth_verify_token 校验指定 Token 是否与当前生效配置相匹配
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 44 lines · 39 tokens per session scan A fecded45a446

Subscribe to this mod's changes

auth-guard is a skill published in the GitHub repository ggg123124/vrchat-assistant (21 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 581 once invoked, about $0.0002 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-30.