CLI Reference (harness_cli.py)
harness_cli.py is the primary entrypoint CLI tool for Workshop Harness powered by Astral uv.
Command Summary Table
| Subcommand | Primary Flags | Description |
|---|---|---|
prompt (from-prompt) |
<prompt_text>, --dir, --init-only |
Instantly generates a complete workshop directly from a natural language prompt (KO/EN/JA/ZH), auto-inferring provider, model, and stack |
generate-all |
--prompt, --name, --topic, --stack, --model, --dir |
One-click full workshop generation across all 21 skills |
init |
--prompt, --name, --topic, --stack, --model, --dir |
Scaffolds repository structure, multi-language starter/final code, & script templates |
list-models |
--provider |
Displays the verified 2026 Frontier & Open-Weight Model Catalog |
audit-models |
--target, --fix |
Audits and auto-upgrades deprecated model tags and legacy SDK imports |
audit-typography |
--target, --fix |
Audits and auto-sanitizes forbidden em dashes (\u2014) and awkward literal translations |
audit-compat |
--stack, --target |
Audits tech stack cross-architecture risks across hardware chipsets |
audit-loop |
--topic, --target |
Loop engineering 4-persona review (Non-Coder, Novice, Intermediate, Senior) |
test |
--target |
Runs code smoke tests, model currency checks, & audits relative markdown broken links |
build-pdf |
--target |
Compiles markdown documentation into publication-ready PDF handouts |
export-codelab |
--target, --output, --push |
Exports Open Codelabs manifest bundle (codelab.yaml) & pushes via oc CLI |
export-colab |
--target, --output, --repo, --test |
Exports Google Colab interactive notebooks (.ipynb) & 'Open in Colab' badges |
test-colab |
--target |
Runs headless smoke test on Colab notebooks using Google Colab CLI (colab) |
build-slides |
--target, --output, --export-pdf |
Generates Marp Markdown (slides.md), .pptx, and interactive Web Presentation (index.html) |
Usage Examples
1. generate-all (One-Click Full Orchestration)
uv run harness_cli.py generate-all \
--name "my-bwai-workshop" \
--topic "Local RAG with Gemma 4" \
--stack "python,ollama,docker" \
--model "gemini-4-hydrogen"
2. list-models & audit-models (2026 Model Catalog & Currency Audit)
# View verified 2026 models across Gemini 4 Carbon/Hydrogen, Claude Fable 5.2 / Sonnet 5.5, GPT-6 Astra / 6.1 Sol, and Gemma 4
uv run harness_cli.py list-models
# Audit and automatically upgrade deprecated model strings in a workshop project
uv run harness_cli.py audit-models --target my-bwai-workshop --fix
2b. init with Anthropic Claude, OpenAI, or Multi-Provider ADK (LiteLlm)
uv run harness_cli.py init --name "claude-agent-lab" --topic "Agentic Workflows with Claude Sonnet 5.5" --stack "python,claude" --model "claude-sonnet-5-5"
uv run harness_cli.py init --name "openai-responses-lab" --topic "Structured Agents with OpenAI GPT-6.1 Sol" --stack "python,openai" --model "gpt-6.1-sol"
uv run harness_cli.py init --name "adk-claude-lab" --topic "Multi-Provider ADK Agents with LiteLlm" --stack "python,adk,claude" --model "claude-sonnet-5-5"
3. build-slides (Presentation Slide Generation)
4. export-colab (Google Colab Export & Badges)
uv run harness_cli.py export-colab \
--target my-bwai-workshop \
--repo "JAICHANGPARK/my-bwai-workshop"