Skip to content
Back to skills

Labelme

ASecurity

"Routes labelme image annotation, Annotation File, dataset export,

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

Works with

  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill labelme --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Labelme?

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

Security grade badge for Labelme
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-labelme/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-labelme)

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: labelme
description: "Routes labelme image annotation, Annotation File, dataset export,
  AI-assisted annotation, configuration, and repository-maintenance workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# labelme

Use this skill when a task involves the `labelme` Python image-annotation
application, its JSON Annotation Files, its YAML Config File, its conversion
examples, or maintenance of the `wkentaro/labelme` repository.

## First checks

- Install for normal use with `python -m pip install labelme` on Python 3.12+.
- Smoke-check an environment with `scripts/check_labelme_environment.py` when the
  task depends on the installed package, CLI, optional converters, or GUI display.
- Read `references/public-interface-and-scope.md` before treating any Python
  module as stable; labelme v7 is an application, not a general-purpose library.
- Read `references/repo-provenance.md` before deciding whether this skill is
  current for a checkout.
- For cross-cutting install, display, optional dependency, AI, or JSON load
  failures, start with `references/troubleshooting.md`.

## Route by task

| User task | Read next |
| --- | --- |
| Launch labelme, choose CLI flags, set labels/flags, use `--config`, inspect or validate the Config File, handle PySide6/display startup | `sub-skills/cli-and-config/SKILL.md` |
| Understand or validate labelme JSON, Shapes, Flags, Shape Flags, Groups, Mask Shapes, embedded `imageData`, dimensions, or rasterization behavior | `sub-skills/annotation-data/SKILL.md` |
| Convert Annotation Files to `label.png`, `label_names.txt`, VOC segmentation/object outputs, VOC bbox XML, or COCO `annotations.json` | `sub-skills/dataset-export/SKILL.md` |
| Use or debug AI Assist, AI Text Prompt, SAM/SAM2/SAM3/EfficientSAM/YOLO-World model choices, prompt compatibility, output shapes, suppression | `sub-skills/ai-assisted-annotation/SKILL.md` |
| Modify the labelme repository, choose tests, update changelog/docs/translations, interpret domain docs or triage labels | `sub-skills/repo-development/SKILL.md` |

## Operating model

- Use the project glossary terms precisely: an **Annotation** is the whole JSON
  bundle for one Image; a **Shape** is one drawn region; a **Flag** is
  image-level; a **Shape Flag** belongs to one Shape; a **Group** is shared
  `group_id`.
- Do not tell future agents to open original repo examples or tests. This skill
  bundles distilled references and reusable scripts for the common workflows.
- Prefer direct JSON parsing for downstream ML datasets. The package's internal
  modules are useful evidence but not public API promises.
- Treat real AI model download/inference as optional and network-bound. Prompt
  compatibility must be checked before model download or inference.
- Treat GUI tests and interactive sessions as display-dependent. CLI help,
  config parsing, Annotation File validation, and conversion scripts are
  headless.

## Bundled shared scripts

- `scripts/check_labelme_environment.py` verifies installed package metadata,
  imports, CLI help, optional dependency availability, and display variables.
- `scripts/labelme_json_core.py` is a shared, self-contained helper library used
  by the bundled Annotation File and dataset export scripts; read it when
  adapting those scripts.

## Verification and import status

This skill was produced with `not import`; it is a runtime candidate under the
repository's `skills/disco/` tree and is not installed into DisCo's managed
`repo-skills/` collection by this creation run. If later importing, use the
verified repo-skill import protocol rather than manually editing a router.

Files in this skill

  • SKILL.md3.6 KB
  • references/public-interface-and-scope.md1.7 KB
  • references/repo-provenance.md1.8 KB
  • references/repo-routing-metadata.json304 B
  • references/troubleshooting.md3 KB
  • scripts/check_labelme_environment.py4.4 KB
  • scripts/labelme_json_core.py11.2 KB
  • sub-skills/ai-assisted-annotation/SKILL.md2.6 KB
  • sub-skills/ai-assisted-annotation/references/model-and-prompt-reference.md2 KB
  • sub-skills/ai-assisted-annotation/references/troubleshooting.md1.8 KB
  • sub-skills/ai-assisted-annotation/references/workflows.md1.6 KB
  • sub-skills/ai-assisted-annotation/scripts/check_ai_prompt_compatibility.py3 KB
  • sub-skills/annotation-data/SKILL.md3.3 KB
  • sub-skills/annotation-data/references/api-reference.md1.9 KB
  • sub-skills/annotation-data/references/data-formats.md4.5 KB
  • sub-skills/annotation-data/references/troubleshooting.md3.4 KB
  • sub-skills/annotation-data/scripts/validate_labelme_json.py7.7 KB
  • sub-skills/cli-and-config/SKILL.md2.8 KB
  • sub-skills/cli-and-config/references/cli-reference.md3.5 KB
  • sub-skills/cli-and-config/references/configuration.md3.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.