Cli serving

From VectorSpaceLab/AREX-Skill · View interactive version

Cli serving is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Operate the alphafold3_pytorch CLI and alphafold3_pytorch_app Gradio entry points, construct safe multimolecule commands, and diagnose checkpoint, device, output, entity, cache, and precision behavior.

How to use this skill

Skill file

CLI and local serving

Use this sub-skill when the task is to plan or operate the package's two

console entry points, construct a command without executing it, or explain the

local Gradio application's entity and cache lifecycle.

Route first

inference internals, use model-inference.

or output structure conversion, use

input-representation.

hardening guide; the app launches a local Gradio UI with its own defaults.

Operating path

  1. Confirm that the target checkpoint is an existing regular file and that the

package entry point is available.

  1. Choose the plain CLI for a non-interactive run. Repeat --protein, --rna,

and --dna once per entity; pass Click's boolean value explicitly when

using --use-cuda.

  1. Build and inspect a command with

CODE0. The helper validates

inputs and prints only a shell-quoted command; it never imports the package,

runs inference, creates output directories, or launches Gradio.

  1. Use the app only when an interactive local UI is wanted. Treat its cache

directory as disposable because startup removes the whole directory before

creating it again.

  1. Use the bundled references for exact flags, entity normalization, output

formats, CUDA fallback, cache/session cleanup, and the precision limitation.

The CLI writes a structure as mmCIF. The app writes per-session PDB files for

its molecule viewer. Neither entry point supplies a dry-run inference mode.

The app's --precision argument is accepted for compatibility/documentation,

but the current executable code does not convert model device or dtype; do not

claim that it enables mixed precision, quantization, or CUDA.

Bundled material

Click syntax, repeated entities, and output behavior.

non-interactive command construction, app lifecycle, and synthetic cases.

device, path, cache, UI normalization, and precision failure recovery.

specification and prints a shell-safe command without running it.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.