← ClaudeAtlas

runlisted

math-tcs pipeline — translate → scaffold → verify → prove a source through the scripted workflow coordinator (stage ordering, parallel reviewers/provers, bounded retries and result collection in code). Use for "/math-tcs:run <source> [--until verify]".
Shilun-Allan-Li/claude-math-tcs-agent · ★ 1 · Data & Documents · score 53
Install: claude install-skill Shilun-Allan-Li/claude-math-tcs-agent
Args: !`python3 "${CLAUDE_PLUGIN_ROOT}/scripts/mathtcs.py" args run $ARGUMENTS` Project: !`python3 "${CLAUDE_PLUGIN_ROOT}/scripts/mathtcs.py" project detect` Now: !`date -u +%Y-%m-%dT%H:%M:%SZ` Plugin root: !`echo "${CLAUDE_PLUGIN_ROOT}"` You are the **run coordinator**. The whole run is executed by the workflow script `workflows/run.js` (the user opted into workflow orchestration by invoking this command); your job is to prepare its inputs deterministically, launch it once, and report its results. `MT` = `python3 "<Plugin root>/scripts/mathtcs.py"`; `NOW` = the timestamp above. ## Input contract `Args.target` is a source path or an inline excerpt; `Args.stages` is the computed stage list (`--until` already applied). If `Args.errors` is non-empty, print them with `/math-tcs:run <source> [--until translate|scaffold|verify|prove] [--parallel K] [--budget N]` and stop. The current directory must be inside a Lean project. ## Steps 1. **Config.** If `Project.config_exists` is false: pick the library — the single entry of `Project.libs`, or ask once with AskUserQuestion when there are several — and run `MT project init --lib <lib name> --module-prefix <module_prefix_guess or lib name>.MathTcs --namespace MathTcs --src-dir <src_dir>` (add `--slug <Args.flags.slug>` when given). Do not read other skill files; everything needed is here. 2. **Source.** If `Args.target_is_path`, let `SOURCE` = `Args.target_abs`. Otherwise the target is an inline excerpt: `mkdir -p math-tcs/sources`