check-seatengine-token

Validates the SEATENGINE_AUTH_TOKEN from apps/scraper/.env against the SeatEngine v1 API using x-auth-token header.

Updated May 25, 2024
One-click install
npx skills add https://github.com/gioe/laughtrack --skill check-seatengine-token
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check-seatengine-token
Source: https://github.com/gioe/laughtrack/tree/main/.agents/skills/check-seatengine-token
Command: npx skills add https://github.com/gioe/laughtrack --skill check-seatengine-token

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The token validity for SeatEngine API is critical to keep scraper operations running. This skill validates the current SEATENGINE_AUTH_TOKEN in apps/scraper/.env against the v1 API and detects expired or invalid tokens to prevent silent failures.

Core Features & Use Cases

  • Validate the token against the SeatEngine v1 API using the x-auth-token header.
  • Provide immediate pass/fail feedback and recommended remediation when token is invalid.
  • Suitable for CI pipelines, local debugging, and automated health checks of the scraper.

Quick Start

Run the script to validate the SEATENGINE_AUTH_TOKEN in apps/scraper/.env against the SeatEngine API and report the outcome.

Frequently Asked Questions about check-seatengine-token

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify a SeatEngine API token before running a scraper?

To verify a SeatEngine API token, you can use a validation script that checks the SEATENGINE_AUTH_TOKEN against the SeatEngine v1 API. It confirms whether the token is accepted, preventing silent scraper failures caused by expired or invalid credentials.

What happens when a SeatEngine auth token is expired or missing?

When a SeatEngine auth token is expired or missing, the validation check fails and exits with a status of 1. It detects these scenarios against the v1 API and provides immediate pass/fail feedback with recommended remediation.

How do I check the validity of an auth token stored in a .env file?

Checking an auth token stored in a .env file involves reading the SEATENGINE_AUTH_TOKEN from apps/scraper/.env and sending a request to the API. The script uses the x-auth-token header to authenticate and confirm the token remains valid.

Can I use a token validation check in CI pipelines?

Yes, token validation is suitable for CI pipelines, local debugging, and automated health checks. The script provides immediate pass or fail feedback, exiting with 0 on success or 1 on failure, making it ideal for automated workflows.

Why does my scraper fail silently when the SeatEngine API endpoint is unreachable?

Scrapers fail silently when the API endpoint is unreachable because the token cannot be validated. A dedicated validation skill handles this scenario by detecting unreachable endpoints and reporting the failure, ensuring you are alerted before scraper operations break.

Does SeatEngine API authentication require the x-auth-token header?

Yes, SeatEngine API authentication uses the x-auth-token header to validate the SEATENGINE_AUTH_TOKEN. The validation script sends this header to the v1 API endpoint to confirm the token is accepted and active.