dse-loop
O que ela faz
Esta skill executa uma busca automática sobre configurações de projeto para ferramentas de arquitetura de computadores e de design de chips. Ela é para engenheiros que querem encontrar a melhor configuração para um programa.
Quando usar
- ✓Quando você quer variar parâmetros e encontrar a melhor configuração de hardware.
- ✓Quando você precisa otimizar um projeto até atingir uma meta mensurável.
- ✓Quando você quer uma busca automatizada que pare após um limite de tempo definido.
Link da skill
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/dse-loop/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Preciso que você encontre as melhores configurações para minha simulação de chip e pare após duas horas ou quando a meta for atingida.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente executa o programa, lê os resultados, escolhe o próximo conjunto de parâmetros e repete. Ele para quando uma meta mensurável é atingida, quando o limite de iterações é alcançado ou quando o orçamento de tempo acaba.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
DSE Loop: Autonomous Design Space Exploration
🔁 Do not wrap this skill in
/loop/CronCreate. It already loops internally until its objective is met or it times out. Unlike the verdict-bearing review/audit skills, its stop gate is an objective machine-checkable metric (Type-A), so its self-termination is safe same-model — the reason not to wrap it is scheduler duplication, not the verdict fence. Seeshared-references/external-cadence.md.
Autonomously explore a design space: run → analyze → pick next parameters → repeat, until the objective is met or timeout is reached. Designed for computer architecture and EDA problems.
Context: $ARGUMENTS
Safety Rules — READ FIRST
NEVER do any of the following:
sudoanythingrm -rf,rm -r, or any recursive deletionrmany file you did not create in this session- Overwrite existing source files without reading them first
git push,git reset --hard, or any destructive git operation- Kill processes you did not start
If a step requires any of the above, STOP and report to the user.
Constants (override via $ARGUMENTS)
| Constant | Default | Description |
|---|---|---|
TIMEOUT |
2h | Total wall-clock budget. Stop exploring after this. |
MAX_ITERATIONS |
50 | Hard cap on number of design points evaluated. |
PATIENCE |
10 | Stop early if no improvement for this many consecutive iterations. |
OBJECTIVE |
minimize | minimize or maximize the target metric. |
Override inline: /dse-loop "task desc — timeout: 4h, max_iterations: 100, patience: 15"
Typical Use Cases
| Problem | Program | Parameters | Objective |
|---|---|---|---|
| Microarch DSE | gem5 simulation | cache size, assoc, pipeline width, ROB size, branch predictor | maximize IPC or minimize area×delay |
| Synthesis tuning | yosys/DC script | optimization passes, target freq, effort level | minimize area at timing closure |
| RTL parameterization | verilator sim | data width, FIFO depth, pipeline stages, buffer sizes | meet throughput target at min area |
| Compiler flags | gcc/llvm build + benchmark | -O levels, unroll factor, vectorization, scheduling | minimize runtime or code size |
| Placement/routing | openroad/innovus | utilization, aspect ratio, layer config | minimize wirelength / timing |
| Formal verification | abc/sby | bound depth, engine, timeout per property | maximize coverage in time budget |
| Memory subsystem | cacti / ramulator | bank count, row buffer policy, scheduling | optimize bandwidth/energy |
Workflow
Phase 0: Parse Task & Setup
Parse $ARGUMENTS to extract:
- Program: what to run (command, script, or Makefile target)
- Parameter space: which knobs to tune and their ranges/options (may be incomplete — see step 2)
- Objective metric: what to optimize (and how to extract it from output)
- Constraints: hard limits that must not be violated (e.g., timing must close)
- Timeout: wall-clock budget
- Success criteria: when is the result "good enough" to stop early?
Infer missing parameter ranges — If the user provides parameter names but NOT ranges/options, you MUST infer them before exploring:
a. Read the source code — search for the parameter names in the codebase:
- Look for argparse/click definitions, config files, Makefile variables, module parameters,
#define,parameter(SystemVerilog),localparam, etc. - Extract defaults, types, and any comments hinting at valid values
b. Apply domain knowledge to set reasonable ranges:
Parameter type Inference strategy Cache/memory sizes Powers of 2, typically 1KB–16MB Associativity Powers of 2: 1, 2, 4, 8, 16 Pipeline width / issue width Small integers: 1, 2, 4, 8 Buffer/queue/FIFO depth Powers of 2: 4, 8, 16, 32, 64 Clock period / frequency Based on technology node; try ±50% from default Bound depth (BMC/formal) Geometric: 5, 10, 20, 50, 100 Timeout values Geometric: 10s, 30s, 60s, 120s, 300s Boolean/enum flags Enumerate all options found in source Continuous (learning rate, threshold) Log-scale sweep: 5 points spanning 2 orders of magnitude around default Integer counts (threads, cores) Linear: from 1 - Look for argparse/click definitions, config files, Makefile variables, module parameters,
Perguntas frequentes
É seguro deixá-la rodar na minha máquina?
A skill tem regras rígidas de segurança. Ela evita excluir arquivos que não criou, executar sudo e fazer alterações destrutivas no git.
Por quanto tempo ela executa?
O orçamento de tempo padrão é de duas horas, e há também um número máximo de pontos de projeto.
O que preciso fornecer a ela?
O programa, os parâmetros a alterar e uma meta clara que a skill possa medir.
Detalhes
Descrição original do autor
Autonomous design space exploration loop for computer architecture and EDA. Runs a program, analyzes results, tunes parameters, and iterates until objective is met or timeout. Use when user says \"DSE\", \"design space exploration\", \"sweep parameters\", \"optimize\", \"find best config\", or wants iterative parameter tuning.
Popularidade
- Estrelas no GitHub
- 18 mil
- Posição no ranking
- #10529
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
ablation-planner
18 milAjuda seu agente a planejar estudos de ablação para um artigo, escolhendo os testes que os revisores provavelmente vão pedir quando os resultados principais parecerem bons.
alphaxiv
18 milPermite que seu agente leia rapidamente um artigo científico usando os resumos do AlphaXiv, com o texto completo ou o código-fonte LaTeX como reserva, a partir de um link do arXiv ou de um ID.
analyze-results
18 milAjuda seu agente a analisar resultados de experimentos de aprendizado de máquina, comparar execuções com uma linha de base e transformar os números em conclusões claras e próximos passos.
arxiv
18 milPermite que seu agente pesquise artigos acadêmicos no arXiv, leia seus detalhes e salve os PDFs na sua biblioteca para um tema de pesquisa.
Skills parecidas
gitcrawl
394 milPermite que seu agente pesquise um arquivo salvo de issues e pull requests do GitHub, agrupe os duplicados e verifique o status atual deles no GitHub.
slacrawl
394 milPermite que seu agente pesquise e conte mensagens em um arquivo local do Slack, verifique quão atualizado ele está e o atualize quando necessário.
goplaces
394 milAjuda seu agente a buscar lugares, obter detalhes e avaliações e identificar nomes de lugares usando o Google Places, com saída em JSON para scripts.