Agent Skills: Observability Server

>

UncategorizedID: nathanvale/side-quest-marketplace/observability

Install this agent skill to your local

pnpm dlx add-skill https://github.com/nathanvale/side-quest-marketplace/tree/HEAD/TO_AUDIT/skills/observability

Skill Files

Browse the full folder contents for observability.

Download Skill

Loading file tree…

TO_AUDIT/skills/observability/SKILL.md

Skill Metadata

Name
observability
Description
>

Observability Server

Manage the observability event server lifecycle. Mirrors the CLI subcommands.

Repo root: /Users/nathanvale/code/side-quest-observability Default port: 7483

Subcommand Routing

Route based on $ARGUMENTS:

| Argument | Action | |----------|--------| | start | Start the server | | stop | Stop the server | | status | Check server health | | (empty) | Ask the user what they want to do |

start

  1. Check if a server is already running:
curl -sf http://127.0.0.1:7483/health 2>/dev/null

If healthy, report the existing server and stop -- do not start a second instance.

  1. Start the server in the background from the repo root:
bun run /Users/nathanvale/code/side-quest-observability/packages/server/src/cli/index.ts start --port 7483 &
  1. Wait briefly, then verify startup:
sleep 1 && curl -sf http://127.0.0.1:7483/health
  1. Report to the user:
    • Health check result
    • Dashboard: http://127.0.0.1:7483
    • WebSocket: ws://127.0.0.1:7483/ws

Custom port

If the user specifies a port, pass --port <PORT> and adjust all URLs.

stop

  1. Check if a server is running:
curl -sf http://127.0.0.1:7483/health 2>/dev/null

If not reachable, report that no server is running and stop.

  1. Stop the server using the CLI:
bun run /Users/nathanvale/code/side-quest-observability/packages/server/src/cli/index.ts stop
  1. Verify shutdown -- health endpoint should be unreachable:
curl -sf http://127.0.0.1:7483/health 2>/dev/null
  1. Report that the server has been stopped.

status

  1. Hit the health endpoint:
curl -sf http://127.0.0.1:7483/health 2>/dev/null
  1. If reachable, report the health response (uptime, event counts, port).
  2. If not reachable, report that no server is running.

Troubleshooting

Port already in use

If start fails with EADDRINUSE, check what's on the port:

lsof -i :7483

Report the conflicting process and ask the user how to proceed.

Server won't stop

If the CLI stop command fails, check the PID file:

cat ~/.cache/side-quest-observability/events.pid

Ask the user before killing the process directly.