/hex-pack:hex-common-errorsfrom hex-pack
Diagnose and fix Hex platform errors including 401, 403, 404, 429, and run failures. Includes curl-based diagnostics for API tokens and project runs.
Ships in hex-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Cause: Token invalid, expired, or missing. Fix: Regenerate token in Hex workspace settings.
Cause: Token has "Read projects" scope but RunProject requires "Run projects". Fix: Create new token with "Run projects" scope.
Cause: Project ID wrong or project not published. Fix: Verify project ID. Only published projects can be run via API.
Cause: RunProject is limited to 20 requests/min, 60/hr.
Fix: Queue runs with delays. See hex-rate-limits.
Cause: SQL query, Python code, or connection error in the project. Fix: Open the project in Hex UI and check the error in the run history.
Cause: Run exceeded timeout or was manually cancelled. Fix: Optimize slow queries. Increase timeout in API trigger.
# Test token
curl -s -o /dev/null -w "%{http_code}" \
-H "Authorization: Bearer $HEX_API_TOKEN" \
https://app.hex.tech/api/v1/projects
# List recent runs for a project
curl -s -H "Authorization: Bearer $HEX_API_TOKEN" \
https://app.hex.tech/api/v1/project/PROJECT_ID/runs | python3 -m json.tool
This reference triages project-run failures using status, aggregate telemetry, and opaque run IDs. It does not authorize copying SQL, cell output, data previews, or tokens into a ticket.
Return error class, correlation ID, project scope, probe outcome, remediation attempted, and next owner. Do not include SQL, output, credentials, or identities.
Treat unknown destination, failed redaction, access expansion, or repeated non-idempotent run as a stop condition. Cancel or restore the prior revision rather than retrying with broader scope.
status=429; project=proj-sandbox-12; correlation=run-opaque-11; action=bounded-backoff; safe_probe=recovered supports a safe handoff.
For debugging, see hex-debug-bundle.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/hex-ci-integrationConfigure Hex CI/CD integration with GitHub Actions and testing.
Use when setting up automated testing, configuring CI pipelines,
or integrating Hex tests into your build process.
Trigger with phrases like "hex CI", "hex GitHub Actions",
"hex automated tests", "CI hex".
/hex-core-workflow-aExecute Hex primary workflow: Core Workflow A.
Use when implementing primary use case,
building main features, or core integration tasks.
Trigger with phrases like "hex main workflow",
"primary task with hex".
/hex-core-workflow-bExecute Hex secondary workflow: Core Workflow B.
Use when implementing secondary use case,
or complementing primary workflow.
Trigger with phrases like "hex secondary workflow",
"secondary task with hex".
/hex-cost-tuningOptimize Hex costs through tier selection, sampling, and usage monitoring.
Use when analyzing Hex billing, reducing API costs,
or implementing usage monitoring and budget alerts.
Trigger with phrases like "hex cost", "hex billing",
"reduce hex costs", "hex pricing", "hex expensive", "hex budget".
/hex-debug-bundleCollect Hex debug evidence for support tickets and troubleshooting.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic information for Hex problems.
Trigger with phrases like "hex debug", "hex support bundle",
"collect hex logs", "hex diagnostic".
/hex-deploy-integrationDeploy Hex integrations to Vercel, Fly.io, and Cloud Run platforms.
Use when deploying Hex-powered applications to production,
configuring platform-specific secrets, or setting up deployment pipelines.
Trigger with phrases like "deploy hex", "hex Vercel",
"hex production deploy", "hex Cloud Run", "hex Fly.io".
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin hex-packOther plugins' skills for the same job