AutoKeras repo skill
Use this skill when a user asks how to operate AutoKeras: Keras-based AutoML for image, text, structured-data, custom search-space, tuner, and export workflows. This skill is self-contained; do not rely on the original repository checkout at runtime.
Setup first
AutoKeras 3.0.0 uses Keras 3. Choose and install a Keras backend before importing Keras or AutoKeras. The repository's public install guidance and CI support a PyTorch backend path for ordinary CPU checks.
python -m pip install autokeras
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
KERAS_BACKEND=torch python -c "import keras, autokeras as ak; print(ak.__version__, keras.backend.backend())"
Run scripts/check_autokeras_env.py when setup, backend, import, or public API visibility is uncertain.
Route by task
- sub-skills/task-apis/SKILL.md: high-level
ImageClassifier, ImageRegressor, TextClassifier, TextRegressor, StructuredDataClassifier, and StructuredDataRegressor workflows, including data shapes and task-specific troubleshooting.
- sub-skills/automodel-customization/SKILL.md: custom
AutoModel graphs, nodes, blocks, heads, multimodal inputs, multitask outputs, and graph/data ordering failures.
- sub-skills/search-and-export/SKILL.md: tuner names/classes,
max_trials, objectives, callbacks, search directories, overwrite, export_model(), and reloading saved .keras models.
Shared references
- references/setup-and-troubleshooting.md: installation/backend checks, common import failures, optional GPU notes, and cross-cutting recovery.
- references/source-script-inventory.md: how repository examples/scripts were distilled into bundled helpers or excluded.
- references/repo-provenance.md: source snapshot used to build this skill; read it before deciding whether a checkout needs
refresh-repo-skill.
- references/repo-routing-metadata.json: structured metadata consumed by the repo-skills router importer.
Operating constraints
- Keep first runs bounded:
max_trials=1, epochs=1, small synthetic/local data, and an explicit scratch directory.
- Set
KERAS_BACKEND before importing Keras or AutoKeras.
- Do not run original examples, notebooks, benchmark scripts, Docker scripts, or release tooling as runtime dependencies. Use bundled scripts and references instead.
- CUDA/GPU execution is optional for this skill. Do not claim GPU verification unless the user's own environment and backend framework have been checked.
1---2name: autokeras3description: "Use AutoKeras for Keras-based AutoML task APIs, custom AutoModel4 graphs, tuner search, and model export workflows."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/autokeras8 disco-role: operating9license: Apache 2.010---1112# AutoKeras repo skill1314Use this skill when a user asks how to operate AutoKeras: Keras-based AutoML for image, text, structured-data, custom search-space, tuner, and export workflows. This skill is self-contained; do not rely on the original repository checkout at runtime.1516## Setup first1718AutoKeras 3.0.0 uses Keras 3. Choose and install a Keras backend before importing Keras or AutoKeras. The repository's public install guidance and CI support a PyTorch backend path for ordinary CPU checks.1920```bash21python -m pip install autokeras22python -m pip install torch --index-url https://download.pytorch.org/whl/cpu23KERAS_BACKEND=torch python -c "import keras, autokeras as ak; print(ak.__version__, keras.backend.backend())"24```2526Run [scripts/check_autokeras_env.py](scripts/check_autokeras_env.py) when setup, backend, import, or public API visibility is uncertain.2728## Route by task2930- [sub-skills/task-apis/SKILL.md](sub-skills/task-apis/SKILL.md): high-level `ImageClassifier`, `ImageRegressor`, `TextClassifier`, `TextRegressor`, `StructuredDataClassifier`, and `StructuredDataRegressor` workflows, including data shapes and task-specific troubleshooting.31- [sub-skills/automodel-customization/SKILL.md](sub-skills/automodel-customization/SKILL.md): custom `AutoModel` graphs, nodes, blocks, heads, multimodal inputs, multitask outputs, and graph/data ordering failures.32- [sub-skills/search-and-export/SKILL.md](sub-skills/search-and-export/SKILL.md): tuner names/classes, `max_trials`, objectives, callbacks, search directories, `overwrite`, `export_model()`, and reloading saved `.keras` models.3334## Shared references3536- [references/setup-and-troubleshooting.md](references/setup-and-troubleshooting.md): installation/backend checks, common import failures, optional GPU notes, and cross-cutting recovery.37- [references/source-script-inventory.md](references/source-script-inventory.md): how repository examples/scripts were distilled into bundled helpers or excluded.38- [references/repo-provenance.md](references/repo-provenance.md): source snapshot used to build this skill; read it before deciding whether a checkout needs `refresh-repo-skill`.39- [references/repo-routing-metadata.json](references/repo-routing-metadata.json): structured metadata consumed by the repo-skills router importer.4041## Operating constraints4243- Keep first runs bounded: `max_trials=1`, `epochs=1`, small synthetic/local data, and an explicit scratch `directory`.44- Set `KERAS_BACKEND` before importing Keras or AutoKeras.45- Do not run original examples, notebooks, benchmark scripts, Docker scripts, or release tooling as runtime dependencies. Use bundled scripts and references instead.46- CUDA/GPU execution is optional for this skill. Do not claim GPU verification unless the user's own environment and backend framework have been checked.