Aim CLI and services sub-skill
Use this sub-skill when the task is about Aim's command-line entry points, UI/server operation, remote tracking endpoints, notebook UI, run/storage maintenance, conversion command discovery, or watcher/notifier setup.
Route away from this sub-skill when the user asks for:
- Python SDK instrumentation,
Run.track, media objects, query expressions, or run metadata modeling: use tracking-sdk.
- Framework callbacks/loggers or detailed TensorBoard conversion workflows: use
framework-integrations.
Operating rules
- Prefer explicit repository paths. Pass
--repo <repo_dir> to CLI commands instead of relying on the current working directory.
- Classify commands before running them:
- Safe by default:
aim --help, aim version, aim <command> --help, aim-watcher --help, aim init --repo <empty_or_existing_dir> --skip-if-exists.
- Long-running:
aim up, aim server, aim-watcher start. Do not start these unless the user asked for a listener/service and provided host/port/process-lifetime expectations.
- Destructive or mutating maintenance:
aim runs rm, aim runs mv, aim runs close, aim runs update-metrics, aim storage upgrade 3.11+, aim storage restore, aim storage prune, aim storage reindex. List/backup/confirm first.
- For reverse proxies, distinguish the UI (
aim up) from the remote tracking API (aim server). They are different services and usually need different ports or process managers.
- Never paste Slack webhooks, Workplace access tokens, SSL keys, or other credentials into logs, generated code, or shared reports.
- Use the bundled smoke script for safe command availability checks; it intentionally does not start listeners or run destructive maintenance.
References
references/cli-reference.md — entry points, commands, verified flags, and safe command patterns.
references/services-and-remote-tracking.md — choosing aim up vs aim server, client aim:// URLs, SSL, base paths, notebook UI, Docker concept, and deployment cautions.
references/storage-and-run-maintenance.md — list-first maintenance workflows for stale/corrupted runs and storage/index operations.
references/troubleshooting.md — common command, repository, service, remote, notebook, and notifier failures.
Script
Run the safe smoke check from any directory:
python scripts/aim_cli_smoke.py --help
python scripts/aim_cli_smoke.py
python scripts/aim_cli_smoke.py --init-dir ./aim-smoke-repo
The script checks aim/aim-watcher help and version commands, creates only a temporary or user-selected initialized repo with --skip-if-exists, and skips service listeners and destructive maintenance.
1---2name: cli-and-services3description: "Operate Aim CLI, local UI, remote tracking services, notebook UI,4 conversion discovery, storage maintenance, and watcher notifications safely."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/cli-and-services8 disco-role: operating9license: Apache 2.010---1112# Aim CLI and services sub-skill1314Use this sub-skill when the task is about Aim's command-line entry points, UI/server operation, remote tracking endpoints, notebook UI, run/storage maintenance, conversion command discovery, or watcher/notifier setup.1516Route away from this sub-skill when the user asks for:1718- Python SDK instrumentation, `Run.track`, media objects, query expressions, or run metadata modeling: use `tracking-sdk`.19- Framework callbacks/loggers or detailed TensorBoard conversion workflows: use `framework-integrations`.2021## Operating rules22231. Prefer explicit repository paths. Pass `--repo <repo_dir>` to CLI commands instead of relying on the current working directory.242. Classify commands before running them:25 - Safe by default: `aim --help`, `aim version`, `aim <command> --help`, `aim-watcher --help`, `aim init --repo <empty_or_existing_dir> --skip-if-exists`.26 - Long-running: `aim up`, `aim server`, `aim-watcher start`. Do not start these unless the user asked for a listener/service and provided host/port/process-lifetime expectations.27 - Destructive or mutating maintenance: `aim runs rm`, `aim runs mv`, `aim runs close`, `aim runs update-metrics`, `aim storage upgrade 3.11+`, `aim storage restore`, `aim storage prune`, `aim storage reindex`. List/backup/confirm first.283. For reverse proxies, distinguish the UI (`aim up`) from the remote tracking API (`aim server`). They are different services and usually need different ports or process managers.294. Never paste Slack webhooks, Workplace access tokens, SSL keys, or other credentials into logs, generated code, or shared reports.305. Use the bundled smoke script for safe command availability checks; it intentionally does not start listeners or run destructive maintenance.3132## References3334- `references/cli-reference.md` — entry points, commands, verified flags, and safe command patterns.35- `references/services-and-remote-tracking.md` — choosing `aim up` vs `aim server`, client `aim://` URLs, SSL, base paths, notebook UI, Docker concept, and deployment cautions.36- `references/storage-and-run-maintenance.md` — list-first maintenance workflows for stale/corrupted runs and storage/index operations.37- `references/troubleshooting.md` — common command, repository, service, remote, notebook, and notifier failures.3839## Script4041Run the safe smoke check from any directory:4243```bash44python scripts/aim_cli_smoke.py --help45python scripts/aim_cli_smoke.py46python scripts/aim_cli_smoke.py --init-dir ./aim-smoke-repo47```4849The script checks `aim`/`aim-watcher` help and version commands, creates only a temporary or user-selected initialized repo with `--skip-if-exists`, and skips service listeners and destructive maintenance.