preview-smoke

preview-smoke is a skill for Claude Code, Codex from ALTEN-group/coding-pal. It costs 52 tokens per session (474 once invoked), scanned A, original, MIT.

A smoke-test probe for a running preview application. It checks that selected routes return the expected status, JSON fields, and response time; a preview is a temporary environment used to check a change before release.

In plain words
What is it for?
Use it to check health endpoints and API routes in CI, including expected response data and time limits.
Why use it?
It catches an application that did not start correctly or whose basic routes are broken before slower tests run. It can run after CI starts the preview stack.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to check health endpoints and API routes in CI, including expected response data and time limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alten-group/coding-pal/preview-smoke
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ALTEN-group/coding-pal --skill preview-smoke
Clone the repo
git clone --depth 1 https://github.com/ALTEN-group/coding-pal

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for preview-smoke

README.md
[![agentmods](https://agentmods.dev/badge/skills/alten-group/coding-pal/preview-smoke/github.svg)](https://agentmods.dev/skills/alten-group/coding-pal/preview-smoke)
Your own site
<a href="https://agentmods.dev/skills/alten-group/coding-pal/preview-smoke"><img src="https://agentmods.dev/badge/skills/alten-group/coding-pal/preview-smoke/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for preview-smoke

Your own site · 80×15
<a href="https://agentmods.dev/skills/alten-group/coding-pal/preview-smoke"><img src="https://agentmods.dev/badge/skills/alten-group/coding-pal/preview-smoke.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 474 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00474
Opus 5.5 $0.00021 $0.00190
Sonnet 5.5 $0.00010 $0.00095
Haiku 4.5 $0.00005 $0.00047

Measured 4d ago against content hash 1188fac67d4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

preview-smoke scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/preview-smoke-fixture.mjs, scripts/preview-smoke.mjs, scripts/preview-smoke.test.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/preview-smoke/SKILL.md · 45 lines

What it actually says

Preview Smoke

Deterministic Preview Smoke Tests probe. It proves the application starts, routes traffic, and answers health checks on the ephemeral preview, before slower probes run.

When to Use This Skill

  • CI started the application (for example with docker compose up --wait) and must confirm it is alive.
  • A route list with expected status, JSON fields, and time limits must be checked against a preview URL.

Path resolution

Resolve references/ and scripts/ relative to this skill's install directory (the folder that contains this SKILL.md). If the skill was installed under .agents/skills/preview-smoke/ or .claude/skills/preview-smoke/, use that base path.

Workflow

  1. Read references/preview-smoke-contract.md for the routes format, the retry rules, and the output.
  2. Write preview-routes.json (without it, only GET /health is expected to answer 200):
[
  { "path": "/health", "status": 200, "jsonPath": "status", "equals": "ok", "maxMs": 1000 },
  { "path": "/api/orders", "status": 200 }
]
  1. Run the probe against the preview URL:
node scripts/preview-smoke.mjs --url http://localhost:3000 --routes preview-routes.json \
  --timeout-ms 5000 --retries 3 --retry-delay-ms 1000
  1. Treat a nonzero exit as a failure. Read the per-route lines, fix the application, and run the probe again. Never loosen a route's assertions to get a pass.

Done When

  • scripts/preview-smoke.mjs exits with code 0 against the running preview.
  • Every route in preview-routes.json passed its assertions, and none was removed or loosened to pass.
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 45 lines · 52 tokens per session scan A 1188fac67d4f

Subscribe to this mod's changes

preview-smoke is a skill published in the GitHub repository ALTEN-group/coding-pal (5 stars, last pushed 5d ago), licensed MIT. It adds 52 tokens to every session and 474 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.

Related

Other skills, from other repositories

e2e-testing

Use when reviewing CI coverage, automated checks, or test strategy related to Implement end-to-end testing. Focus on whether the rule is continuously verified, not just documented.

thedaviddias/Front-End-Checklist · 38 tokens

azure-microsoft-playwright-testing-ts

Run Playwright tests at scale using Azure Playwright Workspaces (formerly Microsoft Playwright Testing). Use when scaling browser tests across cloud-hosted browsers, integrating with CI/CD pipelines, or publishing test results to the Azure portal.

microsoft/skills · 53 tokens

mirrord-chaos

Help users chaos test their app with mirrord: inject artificial latency or connection errors into a mirrord session's outgoing traffic via per-session chaos rules managed with the mirrord chaos CLI. Use when a user wants to add latency or delay to outgoing connections or a dependency (e.g. a slow database), simulate…

metalbear-co/mirrord · 119 tokens

playwright-ci

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

zebbern/claude-code-guide · 48 tokens

playwright-testing

E2E testing with Playwright - Page Objects, cross-browser, CI/CD.

alinaqi/maggy · 20 tokens

azure-microsoft-playwright-testing-ts

Run Playwright tests at scale using Azure Playwright Workspaces (formerly Microsoft Playwright Testing). Use when scaling browser tests across cloud-hosted browsers, integrating with CI/CD pipeline...

benjaminasterA/antigravity-awesome-skills · 44 tokens