Skip to content
Back to skills

Cli And Config

ASecurity

"Guides labelme CLI startup, GUI session configuration, label and

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
documentationpython

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill cli-and-config --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli And Config?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli And Config
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-cli-and-config/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-cli-and-config)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cli-and-config
description: "Guides labelme CLI startup, GUI session configuration, label and
  flag sources, YAML Settings, output paths, and display-related recovery."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# CLI and Config

Use this route when the task is to launch labelme, choose annotation-session
options, configure labels/flags, control saving or navigation, or debug a
Config File and GUI startup.

## Workflow

1. Confirm Python 3.12+ and install `labelme` in the target environment.
2. Run `labelme --help` and `labelme --version` before opening a GUI.
3. Choose a path (image, Annotation File, or directory), then add only the
   needed flags. Read `references/cli-reference.md` for exact behavior.
4. Use `--labels` and `--flags` with comma-separated values or a text file;
   use `--label-flags` for YAML label-specific Shape Flags.
5. Use `--output` as a directory for a session, not a `.json` filename, unless
   the behavior is intentionally a single target as described in the CLI ref.
6. Use `--config <file>` for a writable Config File or `--config '{...}'` for
   ephemeral session overrides. Inspect a candidate without writing it with
   `scripts/inspect_labelme_config.py`.
7. If `--validate-label exact` is enabled, provide a non-empty label list.
8. If the GUI fails, prove the CLI parser works, then check display/Qt setup;
   read `references/troubleshooting.md`.

## Config rules that matter

- Defaults live in the shipped Default Config; the user Config File is sparse
  YAML Overrides, normally `~/.labelmerc`.
- GUI Settings apply immediately and preserve comments where possible.
- A CLI override or inline YAML makes that session's settings non-editable;
  use a file if interactive Settings editing is required.
- YAML 1.2 means `true`/`false` are booleans; `yes`/`no`/`on`/`off` are strings.
- `canvas.allow_out_of_bounds_points` is opt-in and preserves negative or
  beyond-image coordinates for partially visible objects.
- Window State (geometry/docks) is separate Qt `QSettings` state; `--reset-config`
  clears that state and is not a substitute for editing YAML Overrides.

## References and helper

- Read `references/cli-reference.md` for flags and output semantics.
- Read `references/configuration.md` for Settings groups, migration behavior,
  YAML examples, and validation constraints.
- Read `references/troubleshooting.md` for install, Qt/display, and malformed
  config recovery.
- Run `scripts/inspect_labelme_config.py --config-yaml '{labels: [cat]}' --show labels`
  to validate an inline mapping without writing a Config File.

Route JSON schema questions to `../annotation-data/SKILL.md`, conversion
questions to `../dataset-export/SKILL.md`, AI model/prompt questions to
`../ai-assisted-annotation/SKILL.md`, and source/test changes to
`../repo-development/SKILL.md`.

Files in this skill

  • SKILL.md2.8 KB
  • references/cli-reference.md3.5 KB
  • references/configuration.md3.3 KB
  • references/troubleshooting.md1.3 KB
  • scripts/inspect_labelme_config.py2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.