troubleshoot-ngrok
Installation
SKILL.md
Troubleshoot ngrok
Diagnose a failing ngrok endpoint or agent in three steps: get the error, read its docs page, then check live state to find which cause applies.
1. Get the error
ngrok errors carry an ERR_NGROK_<code> code. It shows on the error page in the browser, in agent output, in API responses, and in the traffic inspector. Some codes are numbers (ERR_NGROK_8012) and some are names (ERR_NGROK_AGENT_NOT_FOUND).
Get the code. If the user has only the message, keep the exact text, with its values. If there is no error at all, go to By symptom.
2. Read the error's docs page
Every code has a page with its causes and fixes. Do not explain a code from memory: codes are specific, and a near guess sends the user down the wrong path.
- ngrok MCP server with
docs_get_error: call it withcode, or withmessagewhen there is no code. If it returns several codes for one message, ask the user for the code. Do not pick one. - Otherwise: if you only have a message, obtain the code from the error page or agent output, or ask the user for it; do not guess a code from the message. Once you have the code, fetch
https://ngrok.com/docs/errors/err_ngrok_<code>.md, with the code in lowercase and without theERR_NGROK_prefix. For example,ERR_NGROK_8012iserr_ngrok_8012.md. A 404 means the code is wrong; check it with the user.
docs_search does not find error pages. Do not use it for an error code.