Skip to content
Back to skills

Webui

ASecurity

"Launch and troubleshoot DeTikZify's Gradio web UI, choose models

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
toolspythongobashrailsapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill webui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Webui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Webui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-webui/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-webui)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: webui
description: "Launch and troubleshoot DeTikZify's Gradio web UI, choose models
  and algorithms, and reason about runtime UI behavior."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Web UI

Use this sub-skill when the task is about `python -m detikzify.webui`, Gradio startup, model selection, share links, light mode, or the browser-facing synthesis experience.

Route away from this sub-skill when the task is mostly about programmatic inference, training, evaluation, or dataset internals.

## Fast Path

1. Check the CLI surface first:
   ```bash
   python scripts/webui_help.sh
   ```
2. Confirm the package import and core API surface if the UI startup depends on the same environment:
   ```bash
   python scripts/api_smoke.py
   ```
3. If the task mentions rendering or MCTS gallery behavior, also confirm the compile path works:
   ```bash
   python scripts/tikz_smoke.py
   ```

## What This Sub-Skill Owns

- `python -m detikzify.webui`
- CLI options such as `--model`, `--algorithm`, `--lock`, `--lock_reason`, `--share`, `--light`, and `--timeout`
- Gradio theme choices and the light-mode patching behavior
- runtime behavior of the two UI algorithms: MCTS and sampling
- model-selection choices and the browser-facing compile / gallery flow

## Common Decisions

- Use `--light` when you want a white UI background that matches scientific figures.
- Use `--share` only when you want a public shareable Gradio link.
- Use `--lock` when the model must not be changed interactively.
- Choose `mcts` when you want multiple ranked TikZ candidates and compiled previews.
- Choose `sampling` when you only want a single synthesized output image.
- Treat the timeout as minutes, not seconds, in the web UI advanced settings.

## Bundled References

- [references/cli-reference.md](references/cli-reference.md): exact CLI options and option semantics.
- [references/workflows.md](references/workflows.md): start-up and runtime flow, including the gallery and preview behavior.
- [references/troubleshooting.md](references/troubleshooting.md): launch failures, missing models, TeX issues, and UI interaction problems.

## Related Helpers

- [../../scripts/webui_help.sh](../../scripts/webui_help.sh): safe CLI help wrapper.
- [../../scripts/api_smoke.py](../../scripts/api_smoke.py): safe import and signature snapshot.
- [../../scripts/tikz_smoke.py](../../scripts/tikz_smoke.py): safe TeX compile/rasterize smoke.

## Guardrails

- A successful `--help` run does not prove that the model can launch.
- The UI still depends on the same CUDA and TeX-backed capabilities as the programmatic pipeline.
- `--light` is a theme control, not a generation control.

Files in this skill

  • SKILL.md2.7 KB
  • references/cli-reference.md955 B
  • references/troubleshooting.md964 B
  • references/workflows.md1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.