hostbench

Orchestrate host GPU benchmark operations via uv run and AskUserQuestion prompts.

3|Updated Sep 5, 2021
One-click install
npx skills add https://github.com/aviralmansingka/dotfiles --skill hostbench
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hostbench
Source: https://github.com/aviralmansingka/dotfiles/tree/main/claude/.claude/skills/hostbench
Command: npx skills add https://github.com/aviralmansingka/dotfiles --skill hostbench

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Host benchmark workflows require repeatedly collecting the right run parameters (subcommands, cloud/region, instance types, IPs/worker IDs, date ranges, and local-vs-S3 intent) and then safely executing the correct operational command without manual, error-prone retyping.

Core Features & Use Cases

  • Guided benchmark operations: Prompts for the right subcommand and arguments for running, comparing, evaluating, or inspecting benchmark results.
  • Conversation-aware prefill: Scans the chat for hints (instance types, cloud/region, IPs/worker IDs, usernames, date ranges, and file paths) to pre-fill AskUserQuestion options so confirmations are fast.
  • Safe, structured execution: Assembles the final invocation and runs it from the modal_host_bench directory using uv run main.py, including guidance for AWS credential wrapping when required.

Quick Start

Ask your AI to run hostbench to evaluate benchmark pass rates by saying: "Run /hostbench evaluate with the relevant since/until dates from this chat."

Frequently Asked Questions about hostbench

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

FAQPage Schema
How do I run SSH-driven GPU benchmark jobs on cloud instances without manual parameter entry?

SSH-driven GPU benchmark jobs can be executed by selecting the correct subcommand and assembling arguments directly from conversation context, pre-filling instance types, cloud regions, IPs, and date ranges to run jobs via uv run main.py.

What is the best way to compare percentile distributions from benchmark JSON artifacts stored in S3?

Comparing percentile distributions from S3 benchmark JSON artifacts is done by selecting the compare subcommand, which inspects local versus cloud/region results to evaluate performance differences across benchmark runs.

Can I evaluate GPU benchmark pass rates using date ranges pulled from an existing chat conversation?

Evaluating GPU benchmark pass rates supports conversation-aware prefill, scanning chat context for since/until date ranges and worker IDs to automatically populate the required evaluation parameters.

Do I need AWS credentials configured before running cloud GPU benchmark evaluations?

Cloud GPU benchmark evaluations require AWS credential wrapping when running cloud or region-specific subcommands, while local-only benchmark inspections can execute without cloud credential setup.

Why does my host benchmark command fail when mixing local JSON artifacts with cloud region parameters?

Host benchmark commands fail when local-only and cloud/region requirements conflict, because validation logic enforces correct parameter combinations based on whether the benchmark target is local or cloud-based.

How do I inspect benchmark JSON artifacts to diagnose GPU performance issues?

Inspecting benchmark JSON artifacts to diagnose GPU performance issues uses the inspect subcommand, which reads local or S3-stored results to surface percentile distributions and pass rate metrics.