smoke-test

smoke-test is a command for Claude Code from StuMason/coolify-mcp. It costs 11 tokens per session (541 once invoked), scanned A, original, MIT.

A command for building the project and running smoke tests against a live Coolify server. Smoke tests are short checks that confirm the main system paths work after a change.

In plain words
What is it for?
Use it after changes to verify the build, run the smoke-test integration suite, compare the exported version with package metadata, or check live API error handling.
Why use it?
It checks the built application end to end instead of relying only on local unit tests. It also reports which integration checks pass or fail and can perform targeted version or error checks.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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.

agentmods
npx agentmods add commands/stumason/coolify-mcp/smoke-test
Clone the repo
git clone --depth 1 https://github.com/StuMason/coolify-mcp

Made for: Claude Code.

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 smoke-test

README.md
[![agentmods](https://agentmods.dev/badge/commands/stumason/coolify-mcp/smoke-test.svg)](https://agentmods.dev/commands/stumason/coolify-mcp/smoke-test)
Your own site
<a href="https://agentmods.dev/commands/stumason/coolify-mcp/smoke-test"><img src="https://agentmods.dev/badge/commands/stumason/coolify-mcp/smoke-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 541 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00011 $0.00541
Opus 5 $0.00005 $0.00270
Sonnet 5 $0.00002 $0.00108
Haiku 4.5 $0.00001 $0.00054

Measured 6d ago against content hash 8f61995191be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

smoke-test 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 6d ago.

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.

.claude/commands/smoke-test.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Smoke Test

Build the project and run integration smoke tests against the live Coolify instance to verify fixes work end-to-end.

Workflow

1. Build

npm run build

If build fails, stop and report the error.

2. Run integration tests

npm run test:integration -- --testPathPattern=smoke

Report which tests passed and failed.

3. Quick manual checks (optional)

If an argument is provided (e.g. /smoke-test version), run targeted checks:

version

Verify the VERSION export matches package.json:

node --input-type=module -e "import { VERSION } from './dist/lib/mcp-server.js'; import { createRequire } from 'module'; const r = createRequire(import.meta.url); const pkg = r('./package.json'); console.log('MCP VERSION:', VERSION, VERSION === pkg.version ? 'OK' : 'MISMATCH (expected ' + pkg.version + ')');"
errors

Trigger a validation error against the live API to confirm error handling works:

node --input-type=module -e "
import { config } from 'dotenv'; config();
import { CoolifyClient } from './dist/lib/coolify-client.js';
const client = new CoolifyClient({ baseUrl: process.env.COOLIFY_URL, accessToken: process.env.COOLIFY_TOKEN });
const servers = await client.listServers();
try {
  await client.createService({ server_uuid: servers[0].uuid, project_uuid: 'nonexistent', environment_name: 'production', docker_compose_raw: 'services:\n  test:\n    image: nginx' });
} catch (e) { console.log('Error handled:', e.message); }
"
connect

Just verify API connectivity:

node --input-type=module -e "
import { config } from 'dotenv'; config();
import { CoolifyClient } from './dist/lib/coolify-client.js';
const client = new CoolifyClient({ baseUrl: process.env.COOLIFY_URL, accessToken: process.env.COOLIFY_TOKEN });
const v = await client.getVersion(); console.log('Coolify API:', v);
const servers = await client.listServers(); console.log('Servers:', servers.length);
"

4. Report

Summarize results concisely: what passed, what failed, any issues found.

Read the full file on GitHub · 73 lines

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. 6d ago First seen · 73 lines · 11 tokens per session scan A 8f61995191be

Subscribe to this mod's changes

smoke-test is a command published in the GitHub repository StuMason/coolify-mcp (578 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 541 once invoked, about $0.0001 per session on Opus 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-08-30.