nexus-gateway: Skill for Claude Code

.claude/skills/test-openai-responses/SKILL.md

test-openai-responses is a skill for Claude Code from AlphaBitCore/nexus-gateway. It costs 179 tokens per session (1,733 once invoked), scanned A, original, Apache-2.0.

An end-to-end test for the OpenAI Responses API, an API for sending requests that can return text, streamed events, tool calls, structured data, or reasoning results. It sends several request types through a local AI Gateway and checks the recorded traffic.

In plain words
What is it for?
Use it after changing Responses API codecs or bridge code, restarting the gateway, or before merging related changes. It tests text responses, streaming, function calls, JSON-schema output, and high reasoning effort.
Why use it?
It verifies that the Responses API is mounted, routed, translated, and recorded correctly. This can expose integration problems that a single request or unit test would not show.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is AlphaBitCore/nexus-gateway's own configuration. It tells Claude Code how to work on nexus-gateway itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nexus-gateway configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/AlphaBitCore/nexus-gateway/main/.claude/skills/test-openai-responses/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AlphaBitCore/nexus-gateway

Made for: Claude Code.

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 test-openai-responses

README.md
[![agentmods](https://agentmods.dev/badge/skills/alphabitcore/nexus-gateway/test-openai-responses/github.svg)](https://agentmods.dev/skills/alphabitcore/nexus-gateway/test-openai-responses)
Your own site
<a href="https://agentmods.dev/skills/alphabitcore/nexus-gateway/test-openai-responses"><img src="https://agentmods.dev/badge/skills/alphabitcore/nexus-gateway/test-openai-responses/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 test-openai-responses

Your own site · 80×15
<a href="https://agentmods.dev/skills/alphabitcore/nexus-gateway/test-openai-responses"><img src="https://agentmods.dev/badge/skills/alphabitcore/nexus-gateway/test-openai-responses.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,733 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 57
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00179 $0.01733
Opus 5 $0.00089 $0.00866
Sonnet 5 $0.00036 $0.00347
Haiku 4.5 $0.00018 $0.00173

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

Security

Grade A, and why

test-openai-responses scanned grade A with 1 finding 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.

The scan reads SKILL.md. This mod also ships 2 executable files (run.py, run.sh), 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.

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 # ai-gateway
.claude/skills/test-openai-responses/SKILL.md · 153 lines

How it starts

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

Test OpenAI Responses API ingress

Synthetic end-to-end test for the POST /v1/responses ingress added in E56. Mirrors the pattern of /test-cursor-adapter and /test-geminiweb-adapter: hand-roll a request body, send it through the live local AI Gateway, then cross-check the resulting traffic_event row in Postgres.

When to use

  • After editing anything under packages/ai-gateway/internal/providers/spec_openai/codec_responses*.go or stream_responses.go.
  • After modifying the Responses bridge wiring in canonicalbridge/bridge.go or stream_encoders_responses.go.
  • After the gateway is rebuilt / restarted and you want to confirm /v1/responses is mounted and routable.
  • As a smoke gate before merging any E56 follow-up PR.
  • As the regression suite for the OpenAI Responses-API surface — the broader smoke (/smoke-gateway) only hits --responses opt-in arm.

Prerequisites

Local stack must be healthy:

curl -fsS http://localhost:3050/healthz   # ai-gateway
curl -fsS http://localhost:3001/ready     # control-plane
docker ps --filter "name=postgres" -q     # postgres container

A virtual key with at least one routing rule pointing at an OpenAI provider with a model in the Responses-supported list (gpt-5.x / gpt-4o family / o-series). Either:

  1. Use the project's standing local test VK (recorded in memory: [Local test VK](project_local_test_vk.md)) and re-use it.
  2. Mint a fresh VK via prod-login + research-all-models — only if a fresh key is needed for the run.

The Responses-supported model the skill exercises by default is gpt-5.2; override with --model.

How to run

# Default — uses tests/.env.local for credentials and the standing local VK.
.claude/skills/test-openai-responses/run.sh

# Or explicitly:
.claude/skills/test-openai-responses/run.sh \
  --vk nvk_... \
  --model gpt-5.2 \
  --gw-url http://localhost:3050

Output: a Markdown report at /tmp/test-openai-responses-<UTC-timestamp>.md.

Test arms

Read the full file on GitHub · 153 lines

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. 10d ago First seen · 153 lines · 179 tokens per session scan A 34425ab14b27

Subscribe to this mod's changes

test-openai-responses is a skill published in the GitHub repository AlphaBitCore/nexus-gateway (23 stars, last pushed 8d ago), licensed Apache-2.0. It adds 179 tokens to every session and 1,733 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

journey-simulation

Use when caller wants to observe how a stranger encounters a flow, artifact, or sandbox — triggers like "simulate a user journey", "test our onboarding / checkout / signup", "will my ICP convert", "how does a cold reader experience this README", "first-time user test", "cognitive walkthrough", or any request to…

RockyHong/super-bootstrap · 79 tokens

verify

Verify that a code change actually does what it's supposed to by exercising it end-to-end and observing behavior — drive the affected flow, not just tests or typecheck. Run before committing nontrivial changes; bootstraps this repo's project verify skill if none exists yet. Don't invoke it on a diff that only touches…

asgeirtj/system_prompts_leaks · 95 tokens

cli-eval

Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.

diegosouzapw/OmniRoute · 34 tokens

screen-reader-testing

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

wshobson/agents · 39 tokens

qa-test-planner

Generate comprehensive test plans, manual test cases, regression test suites, and bug reports for QA engineers. Includes Figma MCP integration for design validation.

davila7/claude-code-templates · 34 tokens

e2e-testing-patterns

Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.

wshobson/agents · 51 tokens