Kometa debug review
Agent-first Kometa skill library for Codex and Claude: generate, review, and debug Plex automation YAML for configs, collections, overlays, metadata, playlists, defaults, operations, and reports.
npx -y skills add nichtlegacy/kometa-skill --skill kometa-debug-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use whenever the user asks why Kometa YAML fails, asks for review, has indentation problems, has the wrong top-level key, mixed up file types, missing connectors, or wants a broken config repaired. Use this skill aggressively for any Kometa troubleshooting or review request.
SKILL.md
6.9 KB, ~1.5k tokens by cl100k_base, as published. Nobody here has run it
Kometa Debug Review
Review first. Diagnose by file type and structure before suggesting edits.
Output contract
Always use these sections in this order:
Target file type
valid
wrong file type
wrong nesting
missing dependency
unsafe assumption
fixed YAML
If a section has no issue, say none.
If the input is a log excerpt rather than YAML:
- still use the same sections
- put the smallest relevant fix snippet under
fixed YAML - if the log proves the issue is operational rather than structural,
fixed YAMLcan benone
Goal
- Name the intended file type.
- Catch wrong top-level keys and wrong indentation.
- Catch valid YAML that sits in the wrong Kometa file.
- Catch missing connector setup for builders.
- Read log excerpts and map them back to the real config or clean-art problem.
High-frequency failures
collections:pasted intoconfig.ymlplaylists:nested underlibrariesmetadata:used where the user actually wants a collection builderoverlay_filesused correctly inconfig.ymlbut rawoverlays:body pasted there too- bad indentation under
overlay:or under list items - trying to combine multiple builders in a playlist
- using default-only
template_variablesas if they work everywhere - template variable declared as both
defaultandoptional external_templatesor rawcollections:pasted intoconfig.ymlsmart_labelused without a real builder or with smart-filter criteria nested in the wrong place- default ratings pack called with no meaningful template variables
- invented default-pack toggles like
use_hbooruse_pixaron packs that do not expose them - TMDb region or watch-region values using the wrong case or shape
- Trakt share links used instead of standard browser list URLs
- MDBList multi-list values packed into one comma string
- Letterboxd treated like a TV-capable source
- MAL search blocks with no real subattributes
- Trakt or MDBList builders with no matching connector in
config.yml - dynamic collections missing required
typeordata - metadata edits placed at the wrong hierarchy level for seasons, episodes, albums, or tracks
report_pathplaced under rootsettings:instead of the libraryoperationsplaced under rootsettings:instead of the libraryscheduleplaced inside a plain operations mapping instead of scheduled operation list itemsreport_pathplaced inside a file block instead of the library- asset-first overlay configs missing
assets_for_all reapply_overlays: trueleft on with poster-reset workflows- overlay failures caused by already-overlaid art or corrupt backup posters
Review rules
- First decide intended file type.
- First decide if the input is YAML or logs.
- Then validate top-level keys for that file type.
- Then validate nesting.
- Then validate external dependency assumptions.
- Then validate runtime and workflow assumptions like overlay bloat or bad clean-art handling.
- Then provide the smallest corrected YAML that addresses the real issue.
Log review rules
- Read
[CRITICAL]first, then[ERROR] - Use the item line above the error when it narrows the scope
trakt_list requires Trakt to be configuredmeans missing dependency, not bad nestingPlaylist Error: Library: XYZ not definedmeans wrong Plex library name or missing library referencePlex Error: No Items found in Plexis often zero builder results, not malformed YAMLThis item's poster already has an Overlaymeans clean-art workflow failure, not a random setting toggle problemcannot identify image file ... Original Posterspoints to corrupt or unreadable clean-art backupsFailed to parse URLpoints to a bad builder URL, not a missing connectorOverlay Update Not Neededis a success message, not a failure- for template review, check variable rules before assuming YAML indentation is the problem
Broken config example
libraries:
Movies:
collection_files:
- default: basic
collections:
Trending:
trakt_trending: 10
Diagnosis:
- Target file type:
config.yml - wrong file type:
collections:body belongs in a separate collection file
Broken overlay example
overlays:
Resolution:
builder_level: show
plex_search:
all:
resolution.not: 4K
Diagnosis:
- Target file type:
overlay file - wrong nesting:
builder_levelis aligned incorrectly and the overlay body is malformed
Good local references
evals/fixtures/broken-config-file-boundary.ymlevals/fixtures/broken-overlay-nesting.ymlevals/fixtures/broken-metadata-top-level.ymlevals/fixtures/broken-collection-shape.ymlevals/fixtures/broken-playlist-multi-builder.ymlevals/fixtures/broken-report-path-placement.ymlevals/fixtures/broken-operations-under-settings.ymlevals/fixtures/broken-operation-schedule-map.ymlevals/fixtures/broken-report-path-file-block.ymlevals/fixtures/broken-asset-workflow-no-item-scan.ymlevals/fixtures/broken-template-variable-conflict.ymlevals/fixtures/broken-template-file-boundary.ymlevals/fixtures/broken-smart-label-shape.ymlevals/fixtures/broken-default-ratings-no-variables.ymlevals/fixtures/broken-default-streaming-unsupported-region-toggle.ymlevals/fixtures/broken-default-resolution-4k-library.ymlevals/fixtures/broken-default-languages-human-names.ymlevals/fixtures/broken-default-network-custom-toggle.ymlevals/fixtures/broken-default-studio-custom-toggle.ymlevals/fixtures/broken-tmdb-watch-region.ymlevals/fixtures/broken-imdb-language-code.ymlevals/fixtures/broken-trakt-share-link.ymlevals/fixtures/broken-mdblist-comma-string.ymlevals/fixtures/broken-letterboxd-tv-assumption.ymlevals/fixtures/broken-mal-empty-search.ymlevals/fixtures/risky-overlay-bloat-config.ymlevals/fixtures/log-trakt-missing-config.logevals/fixtures/log-overlay-already-overlaid.logevals/fixtures/log-playlist-library-not-defined.logevals/fixtures/log-overlay-corrupt-original-poster.logevals/fixtures/log-plex-no-items-found.logreferences/cards/kometa--yaml.mdreferences/cards/logs--reading.mdreferences/cards/overlays--clean-art.mdreferences/cards/config--operations.mdreferences/cards/config--asset-workflow.mdreferences/cards/config--reports.mdreferences/cards/collections--smart-label.mdreferences/cards/templates--conditionals.mdreferences/cards/templates--reuse.md
Stopping condition
Finish when the user has a concrete diagnosis, the failure mode is classified clearly, and the smallest real fix is shown.
What ships with it: 1 file
337 B alongside SKILL.md
agents/
- openai.yaml337 B