一键导入
import-benchmark
Import a new benchmark file into the Cortex baselines. Use when the user wants to add a benchmark JSON file to the project's baselines index.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Import a new benchmark file into the Cortex baselines. Use when the user wants to add a benchmark JSON file to the project's baselines index.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | import-benchmark |
| description | Import a new benchmark file into the Cortex baselines. Use when the user wants to add a benchmark JSON file to the project's baselines index. |
Import a new benchmark file into the Cortex baselines.
When the user invokes /import-benchmark <path-to-file> or asks to import a benchmark file, follow these steps:
Run the included Node.js script using the run_shell_command tool. Pass the path to the benchmark JSON file as the first argument.
node <path-to-skill>/scripts/import_benchmark.js "<path-to-benchmark-file>"
If the script outputs ENGINE_REQUIRED, it means the benchmark engine could not be determined from the file name.
litertlm, llminferenceengine, or other).node <path-to-skill>/scripts/import_benchmark.js "<path-to-benchmark-file>" "<engine>"
The script will handle validating the file, constructing the proper filename, copying it to webapp/public/data/baselines/, and updating index.json.
After the script succeeds, tell the user the outcome by summarizing the script's output (e.g., which filename was used, whether it replaced an existing index entry or was added as new, and confirming the update).