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.
npx agentmods add skills/experientiallabs/experiential/test-gatewaynpx skills add experientiallabs/experiential --skill test-gatewaygit clone --depth 1 https://github.com/experientiallabs/experientialWrote 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/experientiallabs/experiential/test-gateway)<a href="https://agentmods.dev/skills/experientiallabs/experiential/test-gateway"><img src="https://agentmods.dev/badge/skills/experientiallabs/experiential/test-gateway.svg" alt="Measured on agentmods" 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.00070 | $0.01158 |
| Opus 5 | $0.00035 | $0.00579 |
| Sonnet 5 | $0.00014 | $0.00232 |
| Haiku 4.5 | $0.00007 | $0.00116 |
Grade B, and why
test-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 6d 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.
Install opencode with a user-level npm prefix (global install needs no sudo that way): Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl http://127.0.0.1:8822/v1/models -H "Authorization: Bearer $K" # expect alias "mini" How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test the local gateway end to end
Verified procedure for exercising the gateway happy path from a clean state.
Run everything from the repo root with uv run so the project environment is used.
1. Interactive first-run setup (TUI)
exp run on a real TTY with an uninitialized root opens the first-run wizard
(exp/cli/gateway/setup.py). Pick a fresh root, then:
uv run exp run --root /path/to/fresh/.exp --port 8822
Known-good prompt answers (OpenAI provider, real key in OPENAI_API_KEY):
| Prompt | Answer |
|---|---|
| Provider connection name | openai |
| Provider adapter | openai |
| Credential environment variable name | OPENAI_API_KEY |
| Base URL | empty (provider default) |
| Exact provider model ID | gpt-5.4-mini |
| Exact logical model identity | gpt-5.4-mini |
| Public model alias | mini |
| Default identity | accept default |
| Create this gateway configuration? | y |
Identifiers must match ^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$ (lowercase, dot/underscore/hyphen separators).
On success it prints "Gateway ready at http://127.0.0.1:8822/v1", the usage URL,
and a one-time virtual key (export OPENAI_API_KEY=exp_vk_...), then serves uvicorn.
The raw key is shown exactly once: capture it immediately.
Non-TTY contexts (pipes, --json, --non-interactive) never prompt; they exit 2 with
gateway_not_initialized plus the exact non-interactive setup commands.
2. Verify the served routes
With K set to the issued virtual key:
curl http://127.0.0.1:8822/v1/models -H "Authorization: Bearer $K" # expect alias "mini"
curl http://127.0.0.1:8822/v1/chat/completions -H "Authorization: Bearer $K" \
-H "Content-Type: application/json" \
-d '{"model":"mini","messages":[{"role":"user","content":"Reply with exactly: gateway-ok"}]}'
# stream:true returns SSE chunks ending in "data: [DONE]"
curl http://127.0.0.1:8822/v1/responses -H "Authorization: Bearer $K" \
-H "Content-Type: application/json" -d '{"model":"mini","input":"Say hi"}'
curl -o /dev/null -w '%{http_code}' http://127.0.0.1:8822/v1/models # keyless: expect 401
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.
- 6d ago First seen · 116 lines · 70 tokens per session scan B a8e887d4abd5
test-gateway is a skill published in the GitHub repository experientiallabs/experiential (1,296 stars, last pushed today), licensed Apache-2.0. It adds 70 tokens to every session and 1,158 once invoked, about $0.0003 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
use-agent-browser-for-airi
Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…
run-integration-tests
Build, pack, and run .NET MAUI integration tests locally. Validates templates, samples, and end-to-end scenarios using the local workload.
cli-e2e-testcase-writer
Use when adding or updating Go CLI E2E coverage for one tests/clie2e/{domain} domain of the compiled lark-cli, especially when the work requires live --help or schema exploration, scenario-based clie2e.RunCmd workflows, and per-domain coverage.md maintenance.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
agent-device-evidence
Records iOS/Android native MP4 evidence for test/repro flows extracted from an Expensify GitHub PR or issue. Use when the user asks to "record the flow for PR.
dogfood
Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.