Agent skill · affaan-m
agent-runtime-gateway-smoke-test
Verify a local agent API, temporary gateway tunnel, and remote sandbox callback with a tool-free task, then restore the original app connection.
What it needs
About 4k tokens when loaded.
What this skill does
Agent Runtime Gateway Smoke Test Use this workflow when an agent task runs in a remote sandbox that calls back to a local API through a gateway. It verifies the whole path without relying on connected tools or private production data. When to Activate A local agent API needs an end-to-end runtime check. A task stalls after dispatch and the gateway or tunnel may be unreachable. A web app is temporarily pointed at a local API for agent testing. A previous test left the web app pointing at a stopped API. Required Inputs Repository-relative instructions for starting the API and web app. The gateway route path and its expected anonymous response. An isolated test agent, a tool-free prompt, and its exact expected answer. A way to inspect task status and confirm a callback reached the local API. Provider credentials, supplied through the project's normal secret store. Name the providers in shared documentation; never copy credential values into the skill or test report. If these inputs are unavailable, report the missing input instead of guessing an endpoint or using a real account. Authorization and Cleanup Confirm authorization to expose the local test API through the selected tunnel provider, dispatch the test task, and temporarily change the web app route. Use an isolated local web app or test deployment; do not switch a shared production app as part of this smoke test. Keep tunnel access scoped to the required authenticated route. Install cleanup before changing the route: on success, error, timeout, interruption, or cancellation, restore the recorded target and verify health before stopping the API and tunnel. Track only the process IDs or resources created by this test. If restoration fails, report it immediately and keep the evidence needed to recover; do not claim success. Smoke Test 1. Record and check the original route. Note the web app's current API target and verify it is healthy. Keep this value locally for restoration. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills affaan-m/agent-runtime-gateway-smoke-test