run-solver

Execute local Python or MATLAB solvers with timeout protection and result collection.

1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Best6668/AMIS --skill run-solver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-solver
Source: https://github.com/Best6668/AMIS/tree/main/skills/run-solver
Command: npx skills add https://github.com/Best6668/AMIS --skill run-solver

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Executes local mathematical model solvers (Python/MATLAB) with result collection and timeout protection, triggered by user intents like "run solver" or "跑代码".

Core Features & Use Cases

  • Environment detection for Python/MATLAB and necessary packages.
  • Pre-checks and timeout-protected solver execution with optional background runs.
  • Logging and result collection to support verification and iteration.

Quick Start

Run the solver for the current project with default timeout and collect results.

Frequently Asked Questions about run-solver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute local mathematical model solvers safely?

To execute local solvers safely, use pre-checks and timeout-protected execution to run Python or MATLAB scripts, which prevents indefinite hanging during long-running optimization tasks.

Can I run Python and MATLAB solvers with environment detection and logging?

Yes, you can run Python and MATLAB solvers with automatic environment detection that checks for necessary packages, while comprehensive logging records the execution process for later verification and iteration.

What is the best way to collect results from long-running optimization tasks?

Collecting results from long-running optimization tasks is best handled by timeout-protected execution with optional background runs, ensuring result aggregation captures outputs even from extended mathematical model computations.

Does timeout protection work for local solver execution?

Timeout protection works for local solver execution by imposing strict time limits on mathematical model scripts, automatically terminating processes that exceed the threshold to safeguard the local environment.

Why do I need solver validation and pre-checks before running optimization scripts?

You need solver validation and pre-checks before running optimization scripts to verify Python or MATLAB environments and dependencies, preventing execution failures and ensuring local mathematical models run without missing package errors.