Metadata maintenance

From VectorSpaceLab/AREX-Skill · View interactive version

Metadata maintenance is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Maintain auto-sklearn meta-learning metadata, AutoSklearn2 selector and portfolio context, metadata_directory usage, regeneration planning, submodule checks, and focused repository test workflows safely.

How to use this skill

Skill file

Metadata Maintenance

Use this sub-skill when the user asks about maintaining meta-learning metadata,

metadata_directory, AutoSklearn2 selector or portfolio files, metadata

regeneration scripts, ASLib outputs, the automl_common submodule, or focused

repository maintenance and test workflows around those areas.

Do not use this sub-skill for ordinary estimator usage, input validation,

metrics, search limits, parallelism, or custom components. Route those requests

to the sibling operating areas for estimators, data/metrics/validation,

search/parallelism, or custom components. Historical NIPS benchmark scripts are

reference-only context; do not present them as bundled runnable helpers.

Safety contract

network access and on long AutoML runs; it is not safe for a normal short

Researcher task.

regeneration, or full pytest unless the user explicitly approves the runtime,

network, disk, and dirty-tree implications.

to produce explicit commands or JSON plans from known task IDs and metrics. It

does not import auto-sklearn, contact OpenML, or run AutoML.

diffs, and keep the working tree clean after tests.

Operating facts to preserve

version reported 0.16.0dev / 0.16.0.dev0.

initial_configurations_via_metalearning and metadata_directory; when

metadata_directory=None, packaged metadata is used.

or loads local selector pickles for supported metrics, selects one of several

portfolio strategies, and intentionally passes metadata_directory=None to

its parent classifier.

NumberOfInstances as selector meta-features for its packaged strategy

choice. Its portfolio JSON files are metric-specific.

task family, and density, each with files such as algorithm_runs.arff,

configurations.csv, description.txt, feature_costs.arff,

feature_runstatus.arff, feature_values.arff, and readme.txt.

initialized for source-tree maintenance and contributor tests.

Fast decision flow

  1. Classify the request.

data, portfolio data, or repository tests: continue here.

  1. Decide whether execution is safe.

require explicit approval for OpenML/network/long-run execution.

focused static checks and narrow pytest commands before any expensive test.

  1. Load bundled references as needed.
  1. Use the dry helper for command planning.

```bash

python scripts/metadata_command_template.py --help

python scripts/metadata_command_template.py \

--task-type classification \

--task-id 245 \

--metric balanced_accuracy \

--working-directory ./metadata-work \

--format json

```

  1. Verify outputs before suggesting replacement. For metadata runs, check

the working-directory layout and required ASLib files. For maintenance tests,

confirm that submodules import, focused checks pass, and generated files are

removed or intentionally committed.

Common later workflows

Produce a safe plan instead of refreshing metadata

Use this when the user asks to update meta-learning datasets, add metrics, or

rerun metadata generation but has not provided a long-running execution window.

Collect explicit task IDs and metrics, then run the bundled helper with

--format json or command output. State that the plan is dry and that the broad

metadata generator normally expands large task lists and may create many

one-day-per-task/metric commands.

Prepare focused tests for a metadata-script contributor

Use this when a contributor edits metadata scripts, ASLib reading/writing,

AutoSklearn2 selector code, or the submodule boundary.

type checks scoped to changed files if the project tooling is available.

only after warning that the metadata-generation test can contact OpenML and

run bounded AutoML jobs.

--forked, CI adds --timeout=600 --timeout-method=thread -s, and CI checks

for dirty generated files after tests.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.