Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

bat-adhoc

Skill by homeassistant-ai

Runs bot acceptance tests that check MCP tools from the view of a real AI agent. It designs test scenarios and runs them through Claude or Gemini CLIs. Built for developers validating pull requests and catching regressions.

  • Score 85
  • 8.2k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install bat-adhoc

Built from the published package, never by AI.

git clone --depth 1 https://github.com/homeassistant-ai/ha-mcp /tmp/ha-mcp && mkdir -p ~/.claude/skills && cp -r /tmp/ha-mcp/.claude/skills/bat-adhoc ~/.claude/skills/bat-adhoc

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install bat-adhoc in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

BAT, short for bot acceptance testing, is a skill for checking that MCP tools work correctly from the point of view of a real AI agent. The assistant designs a scenario as JSON with setup, test and teardown prompts, then runs it through tests/uat/run_uat.py using the Claude or Gemini CLI. The runner returns a short per-agent summary with an all_passed flag, and a results file holds the full output.

The skill is aimed at developers who test pull requests, detect regressions and verify tool changes end to end. It can compare a run from master with a run from local code, looking at task completion, tool success rate, call counts and duration. The source notes that each run uses API credits, so it suggests keeping scenarios small and focused.

Written from the project's SKILL.md and checked against it.

What it can do

  • Scenario designGenerates a scenario JSON with setup, test and teardown prompts.
  • Scenario runnerRuns a scenario through tests/uat/run_uat.py for selected agents.
  • Summary outputReturns per-agent all_passed status and phase stats in a short summary.
  • Full results fileWrites raw JSON and complete output, stderr included, to a results file.
  • Regression comparisonRuns the same scenario on master and local code to compare stats.
  • Variation testingAsks the same task in different phrasings to check result consistency.

What you need

  • uv to run the Python test runner
  • Claude or Gemini CLI
  • API credits

Try asking

  • Test the automation create and modify tools with a sunrise trigger
  • Run a BAT scenario comparing master with my local branch
  • Check that a missing automation returns an error signal

Good to know

  • Duration numbers are noisy due to network and server load.
  • Tool call counts are directional, not conclusive.
  • Each scenario invocation costs API credits, one per agent per phase.

Security check

B
  • Allowed to use Bash, Write without limitsIn SKILL.md

Checked automatically: .claude/skills/bat-adhoc/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashReadWrite

  • SKILL.md5 KB

Alternatives to bat-adhoc

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

bat-adhoc: common questions

Which AI agents does BAT test with?

The source names Claude and Gemini CLIs. Runs select agents with an --agents option, and the example uses gemini.

How do I know if a test failed?

Check the all_passed value for each agent in the summary. If it is false, read the results_file for full output, stderr and raw JSON.

Does running BAT cost anything?

Yes. According to the source, each scenario uses API credits, one per agent per phase.

How do I install bat-adhoc?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is bat-adhoc free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is bat-adhoc safe to use?

It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use bash, write without limits). Review the code before you install. How grades work.

What are alternatives to bat-adhoc?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

bat-adhoc Install

Add to stack

Loading.