ml-cli-tools

Build type-hinted Typer CLIs with Rich output for ML workflows.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/nishide-dev/claude-code-ml-research --skill ml-cli-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-cli-tools
Source: https://github.com/nishide-dev/claude-code-ml-research/tree/main/skills/ml-cli-tools
Command: npx skills add https://github.com/nishide-dev/claude-code-ml-research --skill ml-cli-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps you avoid brittle, hard-to-maintain ML command-line interfaces by giving you a clean, type-safe way to parse complex parameters and present readable runtime feedback.

Core Features & Use Cases

  • Type-safe argument parsing with Typer: Define commands and options using Python type hints for validation, autocomplete, and self-documenting help text.
  • Rich terminal UX for ML workflows: Add progress bars, tables, and hierarchical views (e.g., model structure trees) without messy console output.
  • Logging that doesn’t break progress bars: Use RichHandler so logs and progress render cleanly together, including multi-process-friendly logging patterns.
  • Hydra configuration integration: Load and compose Hydra configs inside Typer commands to manage ML experiment parameters from the CLI.

Quick Start

Ask it to generate a Typer + Rich ML CLI command that accepts Hydra config overrides and prints a clean training progress bar with RichHandler logging.

Frequently Asked Questions about ml-cli-tools

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

FAQPage Schema
How do I build a type-safe ML CLI for training and evaluation?

Build a type-safe ML CLI using Typer to define commands and options with Python type hints, enabling automatic argument validation, shell autocomplete, and self-documenting help text for training and evaluation tasks.

How do I add progress bars to my ML workflow without breaking log output?

Add progress bars to ML workflows using Rich alongside RichHandler for logging. This integration ensures logs and progress bars render cleanly together without messy console output or visual conflicts.

Can I use Hydra configs inside Typer commands for experiment management?

Yes, you can load and compose Hydra configs directly inside Typer commands. This allows you to manage ML experiment parameters and apply config overrides cleanly from the command line.

What is the best way to display ML model structures hierarchically in the terminal?

Display ML model structures hierarchically using Rich tree views. Rich provides clean terminal rendering for tables, progress bars, and hierarchical views without relying on messy console output.

Does this approach support validating complex hyperparameters passed via the command line?

Yes, validating complex hyperparameters is supported via Pydantic and Python type hints in Typer. This provides a clean, type-safe way to parse parameters and avoid brittle ML command-line interfaces.

Why do my terminal logs overwrite my progress bars during model training?

Terminal logs overwrite progress bars when standard logging is used instead of RichHandler. Integrating RichHandler ensures logs and progress bars render cleanly together during ML workflows.