$npx -y skills add KevinSpringer1/conserved-primer-design --skill run-orchestrationUse when an agent must batch-submit, poll, summarize, retry, or compare long-running VirusPrimerPro Agent API jobs without holding a long HTTP connection open.
| 1 | # Run Orchestration |
| 2 | |
| 3 | Use this when testing parameter sweeps, comparing modes, or running long jobs. The API is asynchronous: submit, poll, summarize, download artifacts. |
| 4 | |
| 5 | ## Create Batch |
| 6 | |
| 7 | ```bash |
| 8 | python agentskill/scripts/run_orchestrator.py make-batch \ |
| 9 | --msa aligned.fasta \ |
| 10 | --mode primer_site \ |
| 11 | --mode phylo_guide \ |
| 12 | --profile standard \ |
| 13 | --output batch.json |
| 14 | ``` |
| 15 | |
| 16 | ## Submit And Poll |
| 17 | |
| 18 | ```bash |
| 19 | python agentskill/scripts/run_orchestrator.py submit-batch \ |
| 20 | --batch-json batch.json \ |
| 21 | --output batch_state.json |
| 22 | |
| 23 | python agentskill/scripts/run_orchestrator.py poll-batch \ |
| 24 | --state-json batch_state.json \ |
| 25 | --output batch_state.polled.json |
| 26 | ``` |
| 27 | |
| 28 | For monitoring loops, use `--watch --poll-interval 30`; do not keep one request open for computation time. |
| 29 | |
| 30 | ## Summarize |
| 31 | |
| 32 | ```bash |
| 33 | python agentskill/scripts/run_orchestrator.py summarize-runs \ |
| 34 | --input batch_state.polled.json \ |
| 35 | --output batch_summary.json |
| 36 | ``` |