Agent skill

Model Sample Image Export

by open-edge-platform in open-edge-platform/anomalib

Export, validate, and publish model sample-result images into docs/source/images and reference them from README/docs pages.

Apache-2.0Auto-check passedDevelopment

Install Model Sample Image Export

skills CLI
$ npx skills add open-edge-platform/anomalib --skill model-sample-image-export -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install open-edge-platform/anomalib model-sample-image-export --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/open-edge-platform/anomalib.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/model-sample-image-export .claude/skills/model-sample-image-export && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
model-sample-image-export
GitHub stars
6.2k
Token cost
~874 tokens
SKILL.md length
395 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

Export, validate, and publish model sample-result images into docs/source/images and reference them from README/docs pages.

  • Works in 7 steps: Identify candidate checkpoints/runs in… → Verify the run is complete enough to… → If verification fails, schedule a few… → …
  • Model sample images are missing
  • SKILL.md covers Scope, Request changes when, Required Source Quality and Required Workflow, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Model Sample Image Export is an agent skill from open-edge-platform/anomalib. Export, validate, and publish model sample-result images into docs/source/images and reference them from README/docs pages. Use when model sample images are missing, outdated, or suspected to be invalid.

Its SKILL.md is about 870 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Technical documentation. The repository describes itself as: An anomaly detection library comprising state-of-the-art algorithms and features such as experiment management, hyper-parameter optimization, and edge inference. The licence is Apache-2.0.

When your agent uses it

  • Model sample images are missing
  • Suspected to be invalid

Example prompts

  • “/model-sample-image-export”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Identify candidate checkpoints/runs in results/.
  2. Verify the run is complete enough to trust.
  3. If verification fails, schedule a few runs to train the model on a few categories.
  4. Generate predictions from the checkpoint/run.
  5. Inspect output quality before publishing images.
  6. Save the selected images into docs/source/images//results/.
  7. Update README/docs references.

What it can do on your machine

Read from SKILL.md and the folder at commit 4807ef1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Model Sample Image Export loads about 874 tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 395 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~874

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from open-edge-platform/anomalib at commit 4807ef1, republished under its Apache-2.0 licence (© open-edge-platform). 395 words, ~874 tokens.

Download SKILL.mdSave it as .claude/skills/model-sample-image-export/SKILL.md (or your agent's skills folder).
name
model-sample-image-export
description
Export, validate, and publish model sample-result images into docs/source/images and reference them from README/docs pages. Use when model sample images are missing, outdated, or suspected to be invalid.

Model Sample Image Export

Use this skill to create or refresh sample-result images for model documentation.

Scope

This skill focuses on:

  • selecting completed trained checkpoints or finished benchmark runs
  • exporting prediction/sample images
  • copying or saving them into docs/source/images/<model>/results/
  • updating README/docs sample-result references
  • rejecting broken or misleading outputs

It does not own benchmark table maintenance. Use benchmark-and-docs-refresh for that.

Request changes when

  • sample images come from incomplete or untrusted runs;
  • published outputs are clearly degenerate or misleading;
  • README or docs references point to missing image files;
  • the docs surface implies three valid examples when fewer trustworthy outputs exist.

Required Source Quality

Only use sample images from:

  • completed trained checkpoints
  • completed benchmark runs with valid prediction outputs
  • finished model outputs that can be traced back to a real run artifact
  • if no suitable completed checkpoint, benchmark output, or other traceable run artifact exists, schedule a few runs to generate trustworthy sample images

Do not use:

  • incomplete runs
  • partially written checkpoints
  • outputs with empty/degenerate masks
  • outputs driven by NaNs or obviously broken predictions

Required Workflow

  1. Identify candidate checkpoints/runs in results/.
  2. Verify the run is complete enough to trust.
  3. If verification fails, schedule a few runs to train the model on a few categories.
  4. Generate predictions from the checkpoint/run.
  5. Inspect output quality before publishing images.
  6. Save the selected images into docs/source/images/<model>/results/.
  7. Update README/docs references.
Show full SKILL.md (168 more words)Show less

Preferred Output Layout

  • docs/source/images/<model>/results/0.png
  • docs/source/images/<model>/results/1.png
  • docs/source/images/<model>/results/2.png

If you have fewer than 3 trustworthy images, train the model on a few more categories to generate more sample images.

README Update Pattern

Preferred pattern:

md
### Sample Results

![Sample Result 1](/docs/source/images/<model>/results/0.png "Sample Result 1")

Repeat for additional images.

Docs Update Pattern

Preferred docs-page pattern:

md
    ## Sample Results

    ```{eval-rst}
    .. image:: ../../../../../images/<model>/results/0.png
    ```

Validation Rules

Before publishing an image:

  1. Check that the referenced file exists.
  2. Check that the image is visually plausible.
  3. Check that the mask/anomaly region is not obviously wrong.
  4. Check that the sample came from a trained or otherwise valid completed run.
  5. If a model/category output is degenerate, exclude it and say so explicitly.

Reviewer checklist

  • Check run completeness.
  • Check image quality.
  • Check exported file existence.
  • Check README and docs references.

Repo-Specific Notes

  • In this repo, some completed checkpoints can still produce bad masks.
  • If generic visualization helpers fail, derive a narrow exporter for the specific model/run.
  • Keep exporter scripts focused and traceable to the chosen checkpoints.
  • When in doubt, prefer fewer trustworthy sample images over a full set of misleading ones.

© open-edge-platform, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/model-sample-image-export of open-edge-platform/anomalib.

Open the folder on GitHubat commit 4807ef1

Compare with similar skills

Model Sample Image Export next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Model Sample Image Export compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Model Sample Image Export this skillopen-edge-platform/anomalib6.2k—~874Automated safety check: PassApache-2.0
Diagram Designcathrynlavery/diagram-design44k1 repos~7.5kAutomated safety check: PassMIT
Simple Englishmoeru-ai/airi50k2 repos~4.6kAutomated safety check: PassMIT
Get API Docs with chubandrewyng/context-hub14k2 repos~775Automated safety check: PassMIT
Doc SyncJetBrains/ideavim10k2 repos~2.6kAutomated safety check: PassMIT
Mailspring App ScreenshotsFoundry376/Mailspring18k—~1.4kAutomated safety check: PassGPL-3.0

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    44k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Get API Docs with chub

    andrewyng/context-hub

    Fetches current documentation for third-party APIs and SDKs with the chub CLI before the agent writes code against them, instead of relying on remembered API shapes.

    14k GitHub starsUsed in 2 repos~775 tokens
    DevelopmentAuto-check passed
  • Doc Sync

    JetBrains/ideavim

    Official

    Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.

    10k GitHub starsUsed in 2 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Mailspring App Screenshots

    Foundry376/Mailspring

    Captures screenshots of the running Mailspring dev app for docs, PRs or visual checks by launching it with a debugging port, driving the UI and clipping to an element.

    18k GitHub stars~1.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 5 days ago
    DevelopmentAuto-check: notes

More from open-edge-platform/anomalib

All 17 skills in this repo
  • Anomalib Adding A Datamodule

    open-edge-platform/anomalib

    Adds a new dataset/datamodule to anomalib under src/anomalib/data/.

    6.2k GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Anomalib Adding A Model

    open-edge-platform/anomalib

    Adds a new anomaly-detection model to anomalib under src/anomalib/models/.

    6.2k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Anomalib Benchmarking

    open-edge-platform/anomalib

    Runs the anomalib benchmarking pipeline to train/evaluate a grid of model + dataset (+ category) combinations and collect metrics into a results CSV.

    6.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Anomalib Tiled Ensemble

    open-edge-platform/anomalib

    Runs and configures the anomalib tiled-ensemble pipeline, which trains/evaluates one model per image tile and merges results (with optional seam smoothing) for high-resolution anomaly detection.

    6.2k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Anomalib Training

    open-edge-platform/anomalib

    Trains an anomalib model on a dataset via the Python API or CLI, including training on a custom folder-structured dataset with the Folder datamodule.

    6.2k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • UI Test Utils

    open-edge-platform/anomalib

    A skill your agent uses when writing or updating Anomalib Studio UI component or hook tests that need the shared render/renderHook helpers, React Router paths or parameters, React Query, theme…

    6.2k GitHub stars~1.3k tokensUpdated today
    Auto-check passed

Categories

Questions about Model Sample Image Export

What does Model Sample Image Export do?

Export, validate, and publish model sample-result images into docs/source/images and reference them from README/docs pages. Model Sample Image Export is an agent skill from open-edge-platform/anomalib. Export, validate, and publish model sample-result images into docs/source/images and reference them from README/docs pages.

When should I use Model Sample Image Export?

Model Sample Image Export fits situations like: model sample images are missing; suspected to be invalid.

How do I install Model Sample Image Export in Claude Code?

Run `npx skills add open-edge-platform/anomalib --skill model-sample-image-export -a claude-code`. Or copy the skill folder (.agents/skills/model-sample-image-export in open-edge-platform/anomalib) into .claude/skills/model-sample-image-export in your project. Claude Code loads it when a task matches its description.

How do I install Model Sample Image Export in Codex?

Run `npx skills add open-edge-platform/anomalib --skill model-sample-image-export -a codex`. Or copy the skill folder (.agents/skills/model-sample-image-export in open-edge-platform/anomalib) into .agents/skills/model-sample-image-export in your project. Codex loads it when a task matches its description.

Can I use Model Sample Image Export in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add open-edge-platform/anomalib --skill model-sample-image-export -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/model-sample-image-export, .gemini/skills/model-sample-image-export, .github/skills/model-sample-image-export and .opencode/skills/model-sample-image-export in your project.

What does Model Sample Image Export need to run?

SKILL.md names no scripts, command-line tools or credentials: Model Sample Image Export is instructions for the agent only.

Does Model Sample Image Export access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Model Sample Image Export safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Model Sample Image Export use?

Model Sample Image Export is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Model Sample Image Export use?

About 874 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Model Sample Image Export?

Skills that share tags, products or a category with Model Sample Image Export: Diagram Design (cathrynlavery/diagram-design, 44k stars), Simple English (moeru-ai/airi, 50k stars), Get API Docs with chub (andrewyng/context-hub, 14k stars) and Doc Sync (JetBrains/ideavim, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Model Sample Image Export?

open-edge-platform (a GitHub organization) maintains it in open-edge-platform/anomalib, which has 6,227 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: open-edge-platform/anomalib on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.