worker-logs
Installation
SKILL.md
Check Cloudflare Worker logs
Use this skill when you need to see what is happening inside the deployed Workers: request paths, response status, console.log output, and errors. Both the main site and the API are separate Cloudflare Workers.
When to use this skill
- Debugging 401/500 from openagents.com or openagents.com/api.
- Verifying that a Worker receives the expected headers (e.g. X-OA-Internal-Key) and why it might return "unauthorized".
- Seeing console.log / console_error! output from the Rust API or the web app.
- Correlating with Khala logs (Khala calls the API worker; tail the API worker while reproducing).
Workers in this repo
| Worker | Config | Routes | Purpose |
|---|---|---|---|
| openagents-api | apps/api/wrangler.toml |
openagents.com/api/* |
Rust API: legacyparity, control, D1, R2, etc. |
| openagents-web-app | apps/web/wrangler.jsonc |
openagents.com (main site) |
TanStack/React app (Node compat). |
Run wrangler tail from the app directory that contains that worker's config (or use --config / --cwd).