Agent skill

Scenario Quality Gate

by scenario-labs in scenario-labs/skills

A skill your agent uses when a generated Scenario image needs a quality check or a brand-brief compliance verdict before it ships: pass/warn/fail scoring, on-brand review against a configured brief…

MITAuto-check passedTesting & QA

Install Scenario Quality Gate

skills CLI
$ npx skills add scenario-labs/skills --skill scenario-quality-gate -a claude-code

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

GitHub CLI
$ gh skill install scenario-labs/skills scenario-quality-gate --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/scenario-labs/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/scenario-quality-gate .claude/skills/scenario-quality-gate && 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
scenario-quality-gate
GitHub stars
946
Token cost
~2.4k tokens
SKILL.md length
1,264 words
Files
1
Skills in repo
146
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when a generated Scenario image needs a quality check or a brand-brief compliance verdict before it ships: pass/warn/fail scoring, on-brand review against a configured brief…

  • Works in 6 steps: Generate per scenario-image: model_run,… → scenario_tools_search with… → Score: scenario_tool_execute_write with… → …
  • A generated Scenario image needs a quality check
  • SKILL.md covers Overview, Quick reference: what a call…, Reading the verdict and Turning the verdict into a…, plus 3 more sections
  • Calls npx

What it does

Scenario Quality Gate is an agent skill from scenario-labs/skills. Use when a generated Scenario image needs a quality check or a brand-brief compliance verdict before it ships: pass/warn/fail scoring, on-brand review against a configured brief, QA gating a batch, pricing or refreshing a stored verdict, or iterating a generation until it clears the gate. Keywords: quality gate, quality check, QA, verdict, brief compliance, on-brand, brand brief, pass fail, score, review, assetqualitygaterun.

Its SKILL.md is about 2.4k 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 Testing & QA, covering Quality gates. The repository describes itself as: Get production-ready images, video, audio, and 3D from any AI agent: skills that pick the right model, price before spending, and keep characters and brands consistent through… The licence is MIT.

When your agent uses it

  • A generated Scenario image needs a quality check
  • A brand-brief compliance verdict before it ships: pass/warn/fail scoring
  • On-brand review against a configured brief
  • QA gating a batch

Example prompts

  • “/scenario-quality-gate”

Requirements

  • Node.js

Workflow steps

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

  1. Generate per scenario-image: model_run, jobs_wait, collect the asset id.
  2. scenario_tools_search with query="quality gate" once for the schema, then dry_run: true on the first asset to surface the per-analysis…
  3. Score: scenario_tool_execute_write with {name: "asset_quality_gate_run", parameters: {asset_id, team_id, project_id}}. It returns source…
  4. Fold both suggestions into the prompt, regenerate, and score the new asset with a plain call (no rerun).
  5. verdict: "pass": deliver, and file it (collections and tags per scenario-asset-analysis). Later reads of any scored asset are free stored…
  6. The brief changes next sprint: only then rerun: true on the assets that must be re-judged.

What it can do on your machine

Read from SKILL.md and the folder at commit f6f8ab7. 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

    Shell commands in SKILL.md call:

    • npx

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

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    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

Scenario Quality Gate loads about 2.4k tokens when it runs. Until then it costs about 114 tokens; SKILL.md has 1,264 words of instructions outside code blocks.

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

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 scenario-labs/skills at commit f6f8ab7, republished under its MIT licence (© scenario-labs). 1,264 words, ~2,406 tokens.

Download SKILL.mdSave it as .claude/skills/scenario-quality-gate/SKILL.md (or your agent's skills folder).
name
scenario-quality-gate
description
Use when a generated Scenario image needs a quality check or a brand-brief compliance verdict before it ships: pass/warn/fail scoring, on-brand review against a configured brief, QA gating a batch, pricing or refreshing a stored verdict, or iterating a generation until it clears the gate. Keywords: quality gate, quality check, QA, verdict, brief compliance, on-brand, brand brief, pass fail, score, review, asset_quality_gate_run.
license
MIT

Scenario Quality Gate

Overview

One tool, asset_quality_gate_run, scores a finished image asset and returns a pass/warn/fail verdict with 0 to 100 scores and per-dimension lists of reasons and suggestions: an AI-quality check always, plus brand-brief compliance when the team or project has a brief configured. Image assets only. Quality Gate is an Enterprise add-on: when it is not enabled for the team the call fails cleanly, so detect that, fall back to an asset_analyze review (see scenario-asset-analysis), and say so. Retrying never clears it.

The tool is catalog-only and write-class: get the schema with scenario_tools_search, then run it through scenario_tool_execute_write with {name: "asset_quality_gate_run", parameters: {...}}, scope ids inside parameters (the read executor rejects it by lane and names the right one). Or reconnect with ?toolsets=full. Connection and scope: see the scenario skill. If a sibling skill named here is missing from your available skills, ask the user to install it (npx skills add scenario-labs/skills --skill <name>); unattended, proceed from tool schemas and flag the gap.

Quick reference: what a call costs

CallWhat happensCost
Plain call, usable verdict storedReturns the stored verdict, source: "stored"Free (the response carries no creativeUnitsCost)
Plain call, no usable verdictRuns a new analysis and stores the verdict, source: "new_analysis"Billed; the response carries creativeUnitsCost (1 CU as of this writing)
rerun: trueNew analysis that replaces the stored verdictBilled
dry_run: trueNothing runs; returns the price of a new analysis as creativeUnitsCostFree

A plain call is a read only when a usable verdict already exists; otherwise the same call silently escalates to the billed analysis. "No usable verdict" covers both never-scored and a stored error result. When spend needs approval first, probe free: dry_run: true, or asset_get, whose qualityGate field carries the verdict and scores when one is stored (summary only; the stored reasons and suggestions come back through the tool, still free). sensitivity (low, medium, high; default is the team or project setting) shapes new analyses only and is ignored on stored reads. rerun: true is for after the brief or the sensitivity changed, nothing else: it re-bills and overwrites.

Reading the verdict

The response is source plus quality_gate: verdict, overallScore, aiQualityScore, briefComplianceScore, sensitivity, appliedBriefIds, and details. With no brief configured the compliance dimension is absent entirely (appliedBriefIds: [], overallScore equals aiQualityScore); with one, details.briefCompliance sits beside details.aiQuality, each carrying a score and lists of reasons and suggestions, usually several of each.

Turning the verdict into a better image

A verdict alone only sorts assets. The gate earns its cost when the feedback drives the next attempt:

  • reasons name concrete flaws ("elongated finger anatomy on the left hand", "background gradient off the brief's palette"). Use them to pick the fix path per flaw: a local defect on an otherwise approved image is a masked inpainting pass (scenario-image); a global one is a regeneration.
  • suggestions are written as edit instructions, often worded for manual retouching. Apply all that fit, not just the first: translate them into the next model_run prompt or parameters, or into the edit instruction.
  • A regenerated image is a new asset, so a plain call scores it. rerun is never part of the loop. It may even come back pre-scored for free: teams with auto-detect enabled (qualityGateAutoDetect: true on their teams_list row) score new generations automatically.
  • When a round repeats the same flaw classes at an unmoved score, rewording will not fix them: switch models (recommend again) or repair the flaw with a masked edit before spending another round.
  • Fix the exit bar and a round cap up front: verdict: "pass" by default, or a score target the user names (overallScore at or above 90, say; the named bar then outranks a bare pass), and three rounds unless told otherwise, since every round bills a generation plus an analysis. At the cap, or when a round stops moving the scores, stop: report the best asset with its remaining flaws and ask before spending more rounds; unattended, deliver that best asset and flag the miss.

scenario-refine-loop carries the loop discipline beyond the gate: one variable per round, regeneration from the approved baseline, and fix routing when the criteria go past the brief.

Show full SKILL.md (572 more words)Show less

What the verdict does not cover

The gate is an artifact detector. Measured on real assets, three limits to design around:

  • Artifacts, not plausibility. A panel whose car carried two different wheels, a whitewall on one only, and no wheel arch above the rear tire scored 92 and pass at sensitivity: "high", with reasons praising the chrome rims that were the defect. What is impossible rather than ugly needs a structural check of your own: counts and attachment (hands, fingers per hand, limbs, wheels, each attached to one body), part to whole (a wheel sits inside an arch, a guard sits on its own blade, a reflection sits under what casts it), and what carries the weight.
  • It has never seen your reference. briefCompliance needs a configured brief, and a brief is text, so no call can tell you this is not the same car or costume as the plate it was generated from. Compare the asset against its reference yourself, item by item.
  • A composite averages its parts. A 12-panel storyboard scored 88 and pass while one of its panels was physically impossible. Score the unit you are willing to reject: split a composite with model_scenario-image-slicer, score each part, repair only the failures, and recompose with model_scenario-compose-image.

The score is also a weak signal that a structural repair landed: a broken panel and its corrected replacement both scored 92, and only the reasons changed. Re-read the flaw list, do not watch the number.

Worked example: iterate a hero prop to pass

  1. Generate per scenario-image: model_run, jobs_wait, collect the asset id.
  2. scenario_tools_search with query="quality gate" once for the schema, then dry_run: true on the first asset to surface the per-analysis price.
  3. Score: scenario_tool_execute_write with {name: "asset_quality_gate_run", parameters: {asset_id, team_id, project_id}}. It returns source: "new_analysis" and a quality_gate carrying verdict: "warn", briefComplianceScore: 58, and details.briefCompliance.suggestions asking for the logo at the top left and a flatter background.
  4. Fold both suggestions into the prompt, regenerate, and score the new asset with a plain call (no rerun).
  5. verdict: "pass": deliver, and file it (collections and tags per scenario-asset-analysis). Later reads of any scored asset are free stored reads.
  6. The brief changes next sprint: only then rerun: true on the assets that must be re-judged.

Common mistakes

  • Treating a plain call as a free read: without a usable stored verdict it silently runs and bills the analysis. Probe with dry_run or asset_get first when the spend matters.
  • Passing rerun: true out of habit: it re-bills verdicts that were free to read. Its one job is refreshing after the brief or sensitivity changed.
  • Expecting briefComplianceScore with no brief configured: quality_gate carries it and details.briefCompliance only when appliedBriefIds is non-empty.
  • Applying one suggestion and rescoring each time: the lists usually carry several fixes, and one regeneration can absorb them all.
  • Running it through scenario_tool_execute_read: write-class, rejected by lane.
  • Scoring a video, 3D, or audio asset: image assets only.
  • Assuming a fresh upload has no verdict: uploads deduplicate by content, so identical bytes return the same long-lived asset id whatever the filename, and a re-upload of a file the team scored before carries its stored verdict.
  • Setting sensitivity on a call that returns a stored verdict: it applies to new analyses only; stricter scoring of an already-scored asset requires rerun: true.
  • Retrying the entitlement failure: Quality Gate is an Enterprise add-on. Degrade to the asset_analyze review in scenario-asset-analysis and tell the user why.

© scenario-labs, MIT. 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 skills/scenario-quality-gate of scenario-labs/skills.

Open the folder on GitHubat commit f6f8ab7

Compare with similar skills

Scenario Quality Gate 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.

Scenario Quality Gate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Scenario Quality Gate this skillscenario-labs/skills946—~2.4kAutomated safety check: PassMIT
Feature Plannerserendipity1004/cc-feature-implementer176—~2.4kAutomated safety check: PassNone
Ccg Workflowfengshao1227/ccg-workflow5.9k—~2.3kAutomated safety check: PassMIT
Conducty Checkpointrobertbarclayy/conducty176—~1.5kAutomated safety check: PassMIT
Mission Plannerjdforsythe/forge151—~3.5kAutomated safety check: PassMIT
Quality Gate0xNyk/lacp305—~382Automated safety check: PassMIT

Similar skills

  • Feature Planner

    serendipity1004/cc-feature-implementer

    Creates phase-based feature plans with quality gates and incremental delivery structure.

    176 GitHub stars~2.4k tokensUpdated 9 mo ago
    Testing & QAAuto-check passed
  • Ccg Workflow

    fengshao1227/ccg-workflow

    How to run a non-trivial change end to end with the CCG role tools (ccganalyze / ccgdesign / ccgbuild / ccgdebug / ccgoptimize / ccgreview / ccgtest) and the verify- quality gates.

    5.9k GitHub stars~2.3k tokensUpdated 25 days ago
    Testing & QAAuto-check passed
  • Conducty Checkpoint

    robertbarclayy/conducty

    Quality gate between parallelization groups. An agent skill from robertbarclayy/conducty.

    176 GitHub stars~1.5k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Mission Planner

    jdforsythe/forge

    Decomposes goals into team blueprints using evidence-based scaling laws, topology selection, and role design.

    151 GitHub stars~3.5k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Quality Gate

    0xNyk/lacp

    Production quality gate for agent sessions. An agent skill from 0xNyk/lacp.

    305 GitHub stars~382 tokensUpdated 19 days ago
    Testing & QAAuto-check passed
  • Deploy Workflow

    nwiizo/ccswarm

    Release deployment process for ccswarm. An agent skill from nwiizo/ccswarm.

    153 GitHub stars~582 tokensUpdated yesterday
    Testing & QAAuto-check passed

More from scenario-labs/skills

All 146 skills in this repo
  • Scenario Blender Grease Pencil

    scenario-labs/skills

    A skill your agent uses when drawing or animating with Grease Pencil in Blender 5.x from Python: 2D or 2.5D illustration, frame-by-frame animation, a cutout or part-based 2D character, strokes with…

    946 GitHub stars~4.5k tokensUpdated yesterday
    Auto-check passed
  • Scenario Blender Hair

    scenario-labs/skills

    A skill your agent uses when grooming hair or fur in Blender with hair curves, such as a character hairstyle, animal fur, procedural fur in geometry nodes, or hair cards and mesh hair for games.

    946 GitHub stars~4.7k tokensUpdated yesterday
    Auto-check passed
  • A skill your agent uses when lighting, rendering or compositing in Blender: light a character, product or hero shot, interior at dusk or night, three-point or motivated lighting, sun and sky, HDRI…

    946 GitHub stars~5k tokensUpdated yesterday
    Auto-check passed
  • Scenario Chatgpt Pet Create

    scenario-labs/skills

    A skill your agent uses when creating a ChatGPT pet or Codex pet with Scenario: hatching an animated companion from a text idea, a character, mascot or brand cue, or reference photos and art; making…

    946 GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • Scenario Godot Animation

    scenario-labs/skills

    A skill your agent uses when animating characters or scenes in Godot 4.7: AnimationPlayer clips and RESET, AnimationTree state machines and blend spaces built in code, Mixamo or glTF import, loop…

    946 GitHub stars~4.7k tokensUpdated yesterday
    Auto-check passed
  • Scenario Godot Audio

    scenario-labs/skills

    A skill your agent uses when adding or fixing sound in Godot 4.7: audio buses and effects, volume sliders, 'too many sounds', combat audio with hundreds of enemies, sounds clipping or distorting, 3D…

    946 GitHub stars~4.7k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Scenario Quality Gate

What does Scenario Quality Gate do?

A skill your agent uses when a generated Scenario image needs a quality check or a brand-brief compliance verdict before it ships: pass/warn/fail scoring, on-brand review against a configured brief…. Scenario Quality Gate is an agent skill from scenario-labs/skills. Use when a generated Scenario image needs a quality check or a brand-brief compliance verdict before it ships: pass/warn/fail scoring, on-brand review against a configured brief, QA gating a batch, pricing or refreshing a stored verdict, or iterating a generation until it clears the gate.

When should I use Scenario Quality Gate?

Scenario Quality Gate fits situations like: A generated Scenario image needs a quality check; A brand-brief compliance verdict before it ships: pass/warn/fail scoring; on-brand review against a configured brief; QA gating a batch.

How do I install Scenario Quality Gate in Claude Code?

Run `npx skills add scenario-labs/skills --skill scenario-quality-gate -a claude-code`. Or copy the skill folder (skills/scenario-quality-gate in scenario-labs/skills) into .claude/skills/scenario-quality-gate in your project. Claude Code loads it when a task matches its description.

How do I install Scenario Quality Gate in Codex?

Run `npx skills add scenario-labs/skills --skill scenario-quality-gate -a codex`. Or copy the skill folder (skills/scenario-quality-gate in scenario-labs/skills) into .agents/skills/scenario-quality-gate in your project. Codex loads it when a task matches its description.

Can I use Scenario Quality Gate 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 scenario-labs/skills --skill scenario-quality-gate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scenario-quality-gate, .gemini/skills/scenario-quality-gate, .github/skills/scenario-quality-gate and .opencode/skills/scenario-quality-gate in your project.

What does Scenario Quality Gate need to run?

Going by SKILL.md and its folder, Scenario Quality Gate needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Scenario Quality Gate access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Scenario Quality Gate 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 Scenario Quality Gate use?

Scenario Quality Gate is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Scenario Quality Gate use?

About 2.4k tokens (SKILL.md is roughly 9.6k 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 Scenario Quality Gate?

Skills that share tags, products or a category with Scenario Quality Gate: Feature Planner (serendipity1004/cc-feature-implementer, 176 stars), Ccg Workflow (fengshao1227/ccg-workflow, 5.9k stars), Conducty Checkpoint (robertbarclayy/conducty, 176 stars) and Mission Planner (jdforsythe/forge, 151 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Scenario Quality Gate?

scenario-labs (a GitHub organization) maintains it in scenario-labs/skills, which has 946 GitHub stars. The repository holds 146 skills in this directory. The repository was last updated on October 10, 2026.

Source: scenario-labs/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.