smoke-test

Runs smoke tests for Inbrain and OpenClaw after restart, applying auto-fixes and logging to /tmp/inbrain-smoke-test.log.

174|144|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/inbrainfun/inbrain --skill smoke-test-inbrainfun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smoke-test
Source: https://github.com/inbrainfun/inbrain/tree/main/skills/smoke-test
Command: npx skills add https://github.com/inbrainfun/inbrain --skill smoke-test-inbrainfun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates health validation after container restarts by running a configurable smoke-test suite and auto-fixes to minimize downtime and manual debugging.

Core Features & Use Cases

  • 8 core tests verify Inbrain and OpenClaw health after restart and log results to /tmp/inbrain-smoke-test.log.
  • Auto-fixes address known issues before reporting failures, reducing post-restart downtime.
  • User-extensible via ~/.inbrain/smoke-tests.d/*.sh drop-in scripts, enabling custom checks without altering the core skill.
  • Flexible invocation: run the health check with inbrain smoke-test or by executing scripts/smoke-test.sh.
  • Supports post-restart validation across container lifecycles for reliability.

Quick Start

Run inbrain smoke-test after any container restart to verify health and apply auto-fixes.

Frequently Asked Questions about smoke-test

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

FAQPage Schema
How do I automate health checks after a container restart?

Run a post-restart smoke-test suite to validate container health and automatically apply fixes for known issues. This minimizes manual debugging and downtime by executing core checks and logging results to a temporary file.

Can I add custom smoke test scripts to run alongside core health checks?

You can run custom shell scripts alongside core health checks by placing them in the designated drop-in directory. This allows you to extend the smoke-test suite with user-defined validation logic without modifying the core skill.

How does the smoke-test suite report validation failures?

The smoke-test suite reports validation failures by logging detailed results to a temporary file and exiting with a status code equal to the number of unfixed failures. This provides a clear count of remaining issues after auto-fixes are applied.

What is the best way to verify Inbrain and OpenClaw health after a restart?

The best way to verify Inbrain and OpenClaw health is to execute the automated smoke-test suite, which runs 8 core tests specifically designed to check system status and apply auto-fixes after a container restart.

Does the post-restart health validation apply auto-fixes before reporting failures?

Yes, the post-restart health validation applies built-in auto-fixes to address known issues before reporting any failures. This reduces downtime by attempting to resolve common problems automatically during the smoke-test execution.

How do I invoke the post-restart smoke test?

Invoke the post-restart smoke test by running the CLI command or by directly executing the shell script. This flexible invocation triggers the health validation, auto-fixes, and logging for your container lifecycle.