Kometa router
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-routerAssembled 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 for Kometa help, especially if they want YAML generated, a config reviewed, a file type identified, defaults customized, overlays built, collections built, metadata edited, playlists created, or dynamic collections explained. This skill decides which Kometa file type is involved and routes to the correct domain skill before any YAML is produced.
SKILL.md
5.5 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Kometa Router
Use this skill first for broad or ambiguous Kometa requests.
Goal
- Identify the target Kometa file type before writing YAML.
- Route to the smallest correct domain skill.
- Prevent the most common mistake: putting valid YAML in the wrong file.
Output contract
Always start with:
Target file type: <config.yml | collection file | overlay file | metadata file | playlist file>
Chosen skill: <skill-name>
Then either:
- produce YAML plus short rationale and caveats, or
- produce a review with sections
valid,wrong file type,wrong nesting,missing dependency, andunsafe assumption
Routing table
- review, repair,
meta.log, log excerpts, "why failing", unknown errors- route to
kometa-debug-review
- route to
config.yml- top-level connectors like
plex,tmdb,trakt,radarr,sonarr - root
settings,playlist_files - library wiring such as
collection_files,metadata_files,overlay_files operations,asset_directory,prioritize_assets,report_path,save_report,show_missing,schedule_overlays- route to
kometa-config-core
- top-level connectors like
- default files and
template_variables- route to
kometa-defaults
- route to
metadata:item edits,match:, season/episode hierarchy- route to
kometa-metadata-files
- route to
playlists:files and cross-library playlist behavior- route to
kometa-playlists
- route to
dynamic_collections:blocks- route to
kometa-dynamic-collections
- route to
- custom overlays, poster placement, text or image overlays, queues
- route to
kometa-custom-overlays
- route to
- custom collections, builders, filters, templates, collection operations
- route to
kometa-custom-collections
- route to
Routing priority
When signals conflict, use this order:
- log or review request beats generation
config.ymlwiring beats collection or overlay detailsdefault:beats custom collections or overlays- explicit top-level keys win:
metadata:-> metadata skillplaylists:-> playlist skilldynamic_collections:-> dynamic skilloverlays:-> overlay skillcollections:-> collection skill
Conflict rules
remove Overlay label,item_label.remove: Overlay, or clean-art repair collections- route to
kometa-custom-collections, not overlays
- route to
asset_directory,report_path,operations,save_report, orshow_missing- route to
kometa-config-coreeven if the user mentions overlays or collections
- route to
- default overlay or default collection packs with
template_variables- route to
kometa-defaultsunless the user explicitly wants rawoverlays:orcollections:
- route to
- "read this log", "meta.log", or pasted error output
- route to
kometa-debug-revieweven if the underlying fix will be in another file
- route to
File boundary rules
config.ymldoes not directly holdcollections:,overlays:, ormetadata:bodies.- playlist files are referenced at root
playlist_files, not under a library. - collection files may contain
collections,dynamic_collections,templates,external_templates. - overlay files may contain
overlays,queues,templates,external_templates. - metadata files are for
metadata:edits, not for collection builders.
Reference loading
Load only what matches the request:
- config:
references/cards/config--overview.md,config--file-blocks.md,config--libraries-deep.md - defaults:
references/cards/defaults--core.mdplus the pack-specific card if needed - collections:
references/cards/collections--core.md,collections--ordering.md, then only the provider card that matches the source - overlays:
references/cards/files--overlays.md,overlays--core.md,overlays--clean-art.md - metadata:
references/cards/metadata--matching.md,metadata--hierarchy.md - playlists:
references/cards/files--playlists.md,playlists--core.md - dynamic:
references/cards/dynamic--core.md,dynamic--types.md - templates:
references/cards/templates--core.mdonly when templates orexternal_templatesare involved - examples: start with one
examples/gold/*snippet; useexamples/community/curated/*only if the user needs a bigger real-world pattern
Review checklist
When reviewing a snippet:
- Name the file type it appears to target.
- Check top-level key validity.
- Check indentation and list/dictionary shape.
- Check whether required upstream config exists, such as
traktinconfig.ymlfor a Trakt builder. - Check whether the answer should be a patch to an existing file or a standalone file.
Example routing
Request: "Build a Movies config with Plex and TMDb and wire in collection files."
- Target file type:
config.yml - Chosen skill:
kometa-config-core
Request: "Make a corner ribbon for new releases."
- Target file type:
overlay file - Chosen skill:
kometa-custom-overlays
Request: "Why is this collections: block in my config.yml failing?"
- Target file type:
config.ymlreview - Chosen skill:
kometa-debug-review
Stopping condition
Finish when the correct Kometa file type is explicit and the request has been handed to the smallest correct domain skill.
What ships with it: 1 file
310 B alongside SKILL.md
agents/
- openai.yaml310 B