Przejdź do treści
Biblioteka skilli
Dane i analityka · Analiza

classify-or-flag

/classify-or-flag

Wydaje jeden werdykt dla całego obrazu: zgodny lub wadliwy, kategoria albo anomalia, np. w kontroli jakości zdjęć produktów.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
05.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Wydaje jeden werdykt dla całego obrazu: zgodny lub wadliwy, kategoria albo anomalia, np. w kontroli jakości zdjęć produktów.

Oryginalny opis (EN)

Produce one whole-image verdict: pass/fail, category, compliance, or anomaly. TRIGGER when: user asks whether an image is defective/compliant; to flag bad parts, classify product images, run image-level quality control, detect an anomaly, or build binary/multi-class classification. SKIP when: user asks how many boxes/pallets or for other object counts or per-person PPE (detect-and-analyze); masks/area (segment-and-analyze); identity across video (track-and-count); OCR/codes (read-text); to compare self-hosting vs managed or cost only (estimate-economics); or delivery/export of a working classi

Jak działa

  1. 1. Resolve the output unit
  2. 2. Define labels and abstention
  3. 3. Measure current candidates
  4. 4. Diagnose before more data
  5. 5. Decide and deliver
Sekcje z nagłówków SKILL.md, w oryginale · 90 linii, 653 słów
Podgląd SKILL.md
---
name: classify-or-flag
description: |
  Produce one whole-image verdict: pass/fail, category, compliance, or anomaly. TRIGGER when: user asks whether an image is defective/compliant; to flag bad parts, classify product images, run image-level quality control, detect an anomaly, or build binary/multi-class classification. SKIP when: user asks how many boxes/pallets or for other object counts or per-person PPE (detect-and-analyze); masks/area (segment-and-analyze); identity across video (track-and-count); OCR/codes (read-text); to compare self-hosting vs managed or cost only (estimate-economics); or delivery/export of a working classifier (deliver-cv-project).
allowed-tools: Bash, Read, Write, Edit, Glob, Grep, AskUserQuestion
---

<objective>

Produce one verdict for the whole image that supports a named business action and passes independent acceptance. This covers binary or multi-class labels, image-level compliance, and anomaly flagging. It does not localize individual objects.

</objective>

<methodology>

**Platform execution boundary.** Read `../../resources/roboflow-platform-lookup.md` before any provider-specific search, dataset, training, inference, or deployment action. Use installed official Roboflow skills or current MCP resources only for read-only discovery and sourced action-brief inputs; never invoke provider execution outside the host-gated path. Keep volatile model names, IDs, request shapes, and platform sequences out of Sentinel.

Follow `../../resources/fde-methodology.md`; apply these classification-specific rules.

## 1. Resolve the output unit

Inspect existing images, labels, code, and operating procedure. Confirm that the required output is one verdict for the whole image. If the action must identify which worker lacks equipment, route per-person PPE to `detect-and-analyze`. If it needs the defective region, route to detection or segmentation.

Ask only missing operational questions:

- What exact action follows each class or flag?
- Which error costs more: a missed positive or a false alarm?
- What class balance and operating conditions occur in production?

Freeze before candidate search:

```text
Acceptance ID: <session/revision>
Business decision: <action enabled by each image verdict>
Gold set: <independent labels, split, class counts, adjudicator>
Primary metric and threshold: <F1/recall/precision/exact accuracy>
Secondary guardrails: <per-class floor, false alarms, latency>
Frozen before baseline: <timestamp and confirmation>
Baseline result (diagnostic only): <not run yet>
```

## 2. Define labels and abstention

Write a mutually understandable class dictionary with positive/negative examples and ambiguous-case handling. Define whether the system may abstain or send low-confidence cases to a human. Prevent data leakage by grouping near-duplicates, bursts, products, sites, or subjects before splitting.

## 3. Measure current candidates

Ask upstream for current no-training and trainable candidate categories with provenance and license. Prefer the least costly candidate that clears the same gold-set gate. Do not encode named architectures, model IDs, search syntax, or platform commands locally.

Report:

- confusion matrix and class counts;
- primary metric with numerator/denominator;
- per-class recall and precision;
- false-positive and false-negative examples by operating slice;
- calibration/abstention behavior when confidence drives action;
- target-runtime latency when the decision is time-sensitive.

Unlabeled visual review may identify errors but cannot generate F1, accuracy, or recall.

## 4. Diagnose before more data

Check label ambiguity, leakage, imbalance, domain shift, visually indistinguishable classes, background shortcuts, crop policy, and threshold calibration. Test one falsifiable lever at a time. New labels should target demonstrated failure slices, not an arbitrary image count. Use read-only upstream facts to prepare any required training/data action brief, stop before provider execution, then remeasure externally supplied results on the unchanged gold set.

## 5. Decide and deliver

Return `go`, `revise`, or `stop`. State the frozen gate, measured result, class/slice limitations, and effect on the business action. Follow `../../resources/artifact-contract.md`; emit a verified `hosted-client`, offline-tested `local-runtime`, or candid `scaffold`. A passing classifier routes to `deliver-cv-project` for integration.

</methodology>

<safety>

- Pseudo-labels may bootstrap training data but never own acceptance.
- Do not collapse high-stakes per-person compliance into an unexplained scene label.
- State data movement, emit a sourced action brief, and stop before upload; Sentinel never invokes it outside the host-gated path.
- Show sourced impact, emit an action brief, and stop before paid work; Sentinel never invokes it outside the host-gated path.
- Do not invent current provider capabilities or model identifiers.

</safety>

<ledger>

Follow `../../resources/ledger-protocol.md`. Record acceptance, evaluation, artifact, and decision events once with non-empty IDs and explicit status; do not duplicate hook-owned MCP rows.

</ledger>

\<stop_rules>

- Labels are undefined or contradictory → adjudicate examples before training.
- No independent labeled split → do not claim a metric.
- Required output is per-object, localized, temporal, or textual → route to the owning skill.
- Provider action is required → emit a sourced action brief and stop; conversational consent does not authorize Sentinel execution.
- Live/offline artifact check is absent → retain `scaffold` status.

\</stop_rules>

Wersje

W bazie nie ma innych skilli o nazwie classify-or-flag.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 28.10.2026 · wersja paczki affeb88ca660 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100detect-and-analyze
    Wykrywa obiekty na obrazach i analizuje ramki, liczby, kadry i metadane: liczy ciężarówki, palety lub defekty, wycina detekcje i raportuje pewność oraz strefę każdego obiektu.
  • 100track-and-count
    Śledzi tożsamość obiektów w wideo: trasy, czas pobytu, przekroczenia linii i strefy oraz zliczanie wejść i wyjść.
  • 100anomaly-detector
    Prawdopodobnie wykrywa anomalie w danych i uruchamia się automatycznie na frazy związane z detekcją anomalii w kategorii analityki danych.
  • 100detect-anomaly-aql
    Podaje wytyczne pisania zapytań detect-anomaly w języku AQL, przydatne wyłącznie wtedy, gdy ktoś wyraźnie o nie poprosi.
  • 90detect-anomaly-viz
    Podpowiada, jak tworzyć wykresy wyników wykrywania anomalii, ale tylko wtedy, gdy użytkownik wyraźnie o to poprosi.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.