一键导入
source-command-megaminx-status
One-shot status across GCP solves, Kaggle kernels, and local runs for the megaminx competition.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
One-shot status across GCP solves, Kaggle kernels, and local runs for the megaminx competition.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use this skill for any task in the cayley IHES Picture Cube project — training, solving, evaluation, ensembling, submission. Covers the full ML+search pipeline.
Strat-5 acceptance gate for a megaminx V model. Runs 51-pid stratified eval at beam 65k, compares to m05 baseline (50/51 / mean 89.4), reports pass/fail.
Run the top-N long-pid sym-ensemble rescue + merge cycle on the current best megaminx submission.
Verify a megaminx submission CSV, submit to Kaggle, and update HANDOFF / SUBMISSION_JOURNEY / to_do_shortlist with the new score.
Pull the latest cayleypy-tpu-beam-smoke kernel output, aggregate per-rank JSONs, merge with current best, verify, and prep for submission.
Combine candidate submissions, post-process, verify, and submit to Kaggle.
| name | source-command-megaminx-status |
| description | One-shot status across GCP solves, Kaggle kernels, and local runs for the megaminx competition. |
Use this skill when the user asks to run the migrated source command megaminx-status.
Bundles the status checks we run repeatedly during long solves. Reports compact progress for each active workstream so you can decide what to do next.
Do the following in parallel where possible (one Bash call per workstream):
IP=<GCP_VM_IP> # or read from <SSH_KEY> if set
ssh -i <SSH_KEY> \
-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null \
<user>@$IP \
"ls -la /home/<user>/cayley/megaminx/submissions/ 2>&1 | tail -8; \
echo '---active solves---'; \
ps -ef | grep -E 'python.*03_solve' | grep -v grep | head -3; \
echo '---tail of newest log---'; \
ls -t /home/<user>/cayley/megaminx/submissions/*.log 2>/dev/null | head -1 | \
xargs -I{} bash -c 'echo \"-- {} --\"; tail -8 {}'; \
echo '---chain log---'; \
cat /home/<user>/run_phase2_chain.log 2>&1 | tail -10"
Report: which scripts running, latest progress line (pid=N attempts=N/M), any chain status.
ls -la megaminx/submissions/*.log 2>&1 | tail -5
echo '---active processes---'
tasklist 2>&1 | grep -i python | head -5
echo '---GPU utilization---'
nvidia-smi --query-gpu=memory.used,memory.total,utilization.gpu --format=csv 2>&1 | head -2
echo '---tail of newest log---'
ls -t megaminx/submissions/*.log 2>/dev/null | head -1 | xargs tail -8
Report: GPU util, memory, latest progress line.
export KAGGLE_API_TOKEN=$KAGGLE_API_TOKEN
.venv/Scripts/kaggle.exe kernels list --user artgor --mine -p 1 -s 5 2>&1 | head -20
For any kernel showing running, also fetch:
.venv/Scripts/kaggle.exe kernels status artgor/<slug> 2>&1
Report: which kernels running / done / cancelled, last-completed time.
Print a compact 3-section block:
GCP (<GCP_VM_IP>):
- <script>: pid=N attempts=N/M (M-N remaining, ETA Xh)
- chain: <last status line>
Local (4090):
- <script>: pid=N attempts=N/M (GPU XX% util, X MiB)
Kaggle:
- <slug>: <status> (started Xh ago)
End with a one-line "next obvious action" suggestion (e.g. "wait Xh for Phase B", "submit current Phase 1 csv", "Kaggle kernel needs ckpt download").
kaggle kernels output while RUNNING returns nothing — only status works mid-run.output returns the partial /kaggle/working/ contents.gcloud compute instances list if SSH fails.UnboundLocalError on report (fixed in main, but pre-fix runs still affected). If you see exit code 1 on a finished solve, check the CSV row count, not the exit code.