vectorspacelab/arex-skill/cli-and-config
Claude Code and agent skill by vectorspacelab/arex-skill
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
"Use torchtune's tune CLI, recipe registry, and OmegaConf config
Install
npx vskill@latest install vectorspacelab/arex-skill/cli-and-configSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as vectorspacelab/arex-skill/cli-and-config.
cli-and-config
Use this sub-skill when an agent needs to discover torchtune recipes/configs, copy or inspect built-in YAML, validate config shape, build tune run commands, or explain torchtune's _component_/OmegaConf override behavior.
Route Here For
- Listing, copying, catting, validating, downloading, or running through the
tuneCLI. - Building
tune run [TORCHRUN-OPTIONS] <recipe> --config <config> [RECIPE-OPTIONS]commands. - Explaining config YAML fields,
_component_dotpaths, interpolation,key=valueoverrides, and~fieldremovals. - Inspecting built-in recipes/configs without importing the intentionally non-importable
recipespackage. - Diagnosing CLI/config failures before moving on to expensive training.
Quick Workflow
- Discover registry entries with
tune lsorpython scripts/inspect_tune_registry.py --format table. - Inspect a built-in config with
tune cat <config-name>or copy it withtune cp <config-name> ./my_config.yaml --make-parents. - Make quick changes with recipe overrides after the
--configvalue, usingkey=valueand~fieldonly. - Run the bundled shape checker before training:
python scripts/validate_config_shape.py ./my_config.yaml optimizer=bitsandbytes.optim.PagedAdamW8bit ~optimizer.fused. - Use
tune validate ./my_config.yamlwhen optional dependencies are present and component signature validation is desired. - Build execution commands with torchrun flags before the recipe and recipe/config overrides after
--config.
Read Next
- CLI reference for
tune download,tune ls,tune cp,tune cat,tune validate, andtune runsyntax. - Config reference for
config.parse,config.instantiate,_component_, interpolation, overrides, and removals. - Troubleshooting for common CLI/config errors and safe fixes.
- post-training-recipes for choosing recipes and planning expensive runs.
- data-and-datasets for dataset field semantics and dataset-specific component choices.
Bundled Helpers
scripts/inspect_tune_registry.pyprints recipe/config registry metadata without importing or executing recipe modules.scripts/validate_config_shape.pyloads a local or registry config, applies torchtune-style overrides, checks_component_shape, and optionally resolves/imports components without launching training.
Guardrails
- Do not
import recipes; usetune run,tune cp,tune cat, registry names, or runpy behavior through the CLI. - Do not place torchrun/distributed flags after the recipe name; they must appear before the recipe to affect torchrun.
- Do not use unknown
--flagsafter--config; torchtune recipe overrides arekey=valueor~fieldtokens. - Do not embed Hugging Face or Kaggle tokens in configs, commands, examples, or skill content.
- Keep dataset schemas, recipe selection depth, and model/module API catalogs in their sibling sub-skills.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/repositories/repo-skills/torchtune/sub-skills/cli-and-config/SKILL.md
Popularity
- Repository stars
- 324
- Repository forks
- 25
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vectorspacelab/arex-skill/cli-and-config)