Borrowing it
Nothing to install: this file belongs to AlphaBitCore/nexus-gateway. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AlphaBitCore/nexus-gateway/main/.claude/skills/smoke-gateway/SKILL.mdgit clone --depth 1 https://github.com/AlphaBitCore/nexus-gatewayWrote 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.
[](https://agentmods.dev/skills/alphabitcore/nexus-gateway/smoke-gateway)<a href="https://agentmods.dev/skills/alphabitcore/nexus-gateway/smoke-gateway"><img src="https://agentmods.dev/badge/skills/alphabitcore/nexus-gateway/smoke-gateway/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.
<a href="https://agentmods.dev/skills/alphabitcore/nexus-gateway/smoke-gateway"><img src="https://agentmods.dev/badge/skills/alphabitcore/nexus-gateway/smoke-gateway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00234 | $0.03467 |
| Opus 5 | $0.00117 | $0.01733 |
| Sonnet 5 | $0.00047 | $0.00693 |
| Haiku 4.5 | $0.00023 | $0.00347 |
Grade B, and why
smoke-gateway scanned grade B with 2 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 10d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
counts, (c) `sudo systemctl is-active nexus-ai-gateway` on prod, (d) Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsS http://localhost:3050/healthz How it starts
The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Smoke Gateway
Full smoke test for the AI Gateway. Wraps tests/scripts/smoke-gateway.py
and adds a self-healing loop: when tests fail, Claude investigates, fixes
code, rebuilds, restarts the service, and reruns until green (or reports
a root-cause it cannot auto-fix).
When to use
- User types
/smoke-gateway <vk>or asks to "smoke test all models", "verify gateway providers", "run full gateway test". - After any change to
packages/ai-gateway/orpackages/shared/. - Before declaring a gateway bug fixed.
Inputs
| Arg | Required | Notes |
|---|---|---|
<vk> |
yes | Virtual key (nvk_…). |
--routing |
no | Also run P4 per-rule routing tests. |
--responses |
no | Also run P3R: full per-model /v1/responses suite for every catalog model (non-stream + SSE + multi-round cache, mirrors P3 chat-completions depth). Models in the OpenAI native-support prefix list (gpt-5.x, gpt-4o, gpt-4.1, o1/o3/o4) exercise same-shape passthrough; every other catalog model exercises the E56 cross-format canonical bridge (Responses → canonical chat-completions → target wire → response → Responses-shape on egress). The cross-format guard + structured outputs + reasoning matrix still live in /test-openai-responses. |
--messages |
no | Also run P3A: full per-model /v1/messages (Anthropic ingress) suite. Same depth as P3. Native (Anthropic targets) and cross-format (canonical bridge to OpenAI / Gemini / others) both tested. Cached-token field: usage.cache_read_input_tokens. |
--gemini |
no | Also run P3G: full per-model /v1beta/models/{m}:generateContent (Gemini ingress) suite. Same depth as P3. Native (Gemini/Vertex targets) and cross-format both tested. Cached-token field: usageMetadata.cachedContentTokenCount. |
--all-ingress |
no | Umbrella: turn on --responses + --messages + --gemini in one go (every public ingress exercised at P3 depth). Forces cache test ON per binding feedback_cache_mandatory_all_ingress — every ingress must run the cache arm; if you also pass --no-cache it is ignored with a warning. Use this flag for full-surface validation after any ingress, codec, or canonical-bridge change. |
--no-embeddings |
no | Skip P3E embeddings phase (useful for quick chat-only smokes). |
--all-upstream |
no | Force all fixture-mode phases to real upstream (forward-compat hook for E63/E64/E66). |
--no-stream |
no | Skip SSE phase. |
--no-cache |
no | Skip 2-turn cache phase (ignored when --all-ingress is also set — see binding). |
--cache-rounds N |
no | Read rounds per cache test (default 3); shows positive ROI. |
--fix-deprecated |
no | P8: auto-delete catalog models that fail non-stream in P3. |
--concurrent |
no | Run P3.5 concurrent test (N=5 parallel). |
--models m1,m2 |
no | Restrict to specific models. |
--timeout N |
no | Per-request timeout in seconds (default 90). |
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.
- 10d ago First seen · 289 lines · 234 tokens per session scan B 2f641b847041
smoke-gateway is a skill published in the GitHub repository AlphaBitCore/nexus-gateway (23 stars, last pushed yesterday), licensed Apache-2.0. It adds 234 tokens to every session and 3,467 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
defenseclaw-ops
Manage DefenseClaw enterprise security - scan components, manage tool permissions, view alerts, configure guardrails.
soc2-expert
Expert in SOC 2 compliance, trust service criteria, audit preparation, controls implementation, and security frameworks. Use when the user mentions compliance, audit, trust services, AICPA, controls, or security framework, or when the task involves Trust Service Criteria, SOC 2 Types, Security Common Criteria, or…
audit-expert
Expert-level security auditing, compliance, code review, and vulnerability assessment. Use when the user mentions compliance, security review, code review, vulnerability assessment, SOC 2, or GDPR, or when the task involves Audit Types, Audit Frameworks, Audit Process, or Authentication Review.
audit
A guide to Linux security auditing, which records selected system and user actions for investigation and compliance checks. It uses auditd, Linux's system auditing service.
ai-identity-platform
Structured identity management for AI agent fleets — define, govern, and audit agent personas at scale.
omni-cli-tools
Manage CLI tool integrations exposed via the API. List, configure, and invoke CLI tool plugins that extend OmniRoute's automation surface.