dse-loop

Automate computer architecture and EDA parameter sweeps with objective metric extraction.

Updated May 29, 2026
One-click install
npx skills add https://github.com/Mang30/myskills --skill dse-loop-mang30
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dse-loop
Source: https://github.com/Mang30/myskills/tree/main/skills/dse-loop
Command: npx skills add https://github.com/Mang30/myskills --skill dse-loop-mang30

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates iterative optimization of computer architecture and EDA configurations by running an experiment, extracting a measurable result, tuning parameters, and repeating until the objective is met or time runs out.

Core Features & Use Cases

  • Autonomous run → analyze → iterate loop: Executes the target program across a design space, parses the objective metric, and selects the next parameters to evaluate.
  • Adaptive search strategies: Uses an initial broad exploration (e.g., structured sampling) followed by directed refinement (e.g., grid, coordinate descent, enumeration, or continuous optimization approaches).
  • Safety-first guardrails and recovery: Enforces explicit safety rules (no destructive commands, no killing unknown processes) and supports checkpointing via state recovery files.

Quick Start

Run /dse-loop with a task like "Run gem5 mcf benchmark, tune L1D_SIZE L2_SIZE ROB_ENTRIES; objective maximize IPC; timeout 3h", and let it iterate until it finds the best configuration or stops by timeout.

Frequently Asked Questions about dse-loop

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

FAQPage Schema
How do I automate design space exploration for computer architecture parameter tuning?

Design space exploration automates iterative parameter tuning by running target programs, parsing objective metrics, and selecting new parameters until goals are met or timeout occurs. It applies adaptive search strategies like structured sampling followed by directed refinement.

What is the best way to tune EDA optimization parameters like L1D_SIZE and ROB_ENTRIES?

Tuning EDA optimization parameters requires an autonomous run-analyze-iterate loop that executes simulator-driven evaluations and extracts measurable results. Using an adaptive search strategy enables broad initial exploration followed by directed refinement across the design space.

How does checkpoint recovery work during iterative architecture simulation?

Checkpoint recovery during architecture simulation relies on deterministic logging via state recovery files like DSE_STATE.json plus dse_log.csv. These files capture the exploration state, allowing the optimization loop to resume safely after interruptions without losing progress.

Can I set a timeout and iteration limit for autonomous parameter sweeps?

Autonomous parameter sweeps respect explicit timeout and iteration limits defined in the task request. Safety guardrails enforce these boundaries while running experiments, ensuring the optimization loop stops gracefully when constraints are reached without executing destructive commands.

Does design space exploration support objective parsing for maximizing IPC in simulator-driven performance evaluation?

Design space exploration supports programmatic objective parsing for simulator-driven performance evaluation tasks. You can specify objectives like maximizing IPC, and the system extracts these metrics from experiment logs to guide the adaptive search strategy.

What safety guardrails are enforced during EDA design parameter optimization?

EDA design parameter optimization enforces safety-first guardrails including no destructive commands and no killing unknown processes. These precautions prevent system damage during autonomous execution while maintaining deterministic logging for state recovery.