quality-gates

quality-gates is a skill for Claude Code from yonatangross/orchestkit. It costs 32 tokens per session (2,819 once invoked), scanned A, original, MIT.

A process for judging task complexity, checking whether requirements are complete, and applying quality gates before or during implementation. It includes a five-level complexity score and escalation steps when work is blocked or repeatedly fails.

In plain words
What is it for?
Use it to assess new or complex tasks, decide when to ask for clarification, plan multi-step work, and review implementation quality.
Why use it?
It helps prevent wasted work caused by unclear requirements, hidden dependencies, or continuing after repeated failed attempts.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ork plugin — 83 skills, 39 commands, 36 agents, 32 hooks shipped together

Good fit Use it to assess new or complex tasks, decide when to ask for clarification, plan multi-step work, and review implementation quality.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yonatangross/orchestkit
Claude Code
/plugin install ork

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 83 skills, 39 commands, 36 agents, 32 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quality-gates

README.md
[![agentmods](https://agentmods.dev/badge/skills/yonatangross/orchestkit/quality-gates/github.svg)](https://agentmods.dev/skills/yonatangross/orchestkit/quality-gates)
Your own site
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/quality-gates"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/quality-gates/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for quality-gates

Your own site · 80×15
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/quality-gates"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/quality-gates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.02819
Opus 5.5 $0.00013 $0.01128
Sonnet 5.5 $0.00006 $0.00564
Haiku 4.5 $0.00003 $0.00282

Measured 27d ago against content hash e48fc31ce127, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quality-gates scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/analyze-codebase.sh, scripts/count-dependencies.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ork/skills/quality-gates/SKILL.md · 305 lines

How it starts

The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Quality Gates

This skill teaches agents how to assess task complexity, enforce quality gates, and prevent wasted work on incomplete or poorly-defined tasks.

Key Principle: Stop and clarify before proceeding with incomplete information. Better to ask questions than to waste cycles on the wrong solution.


Overview

Auto-Activate Triggers

  • Receiving a new task assignment
  • Starting a complex feature implementation
  • Before allocating work in Squad mode
  • When requirements seem unclear or incomplete
  • After 3 failed attempts at the same task
  • When blocked by dependencies

Manual Activation

  • User asks for complexity assessment
  • Planning a multi-step project
  • Before committing to a timeline

Core Concepts

Complexity Scoring (1-5 Scale)

Level Files Lines Time Characteristics
1 - Trivial 1 < 50 < 30 min No deps, no unknowns
2 - Simple 1-3 50-200 30 min - 2 hr 0-1 deps, minimal unknowns
3 - Moderate 3-10 200-500 2-8 hr 2-3 deps, some unknowns
4 - Complex 10-25 500-1500 8-24 hr 4-6 deps, significant unknowns
5 - Very Complex 25+ 1500+ 24+ hr 7+ deps, many unknowns

The table above is the canonical rubric. Score with max(file_count, LOC, dependency_count, unknowns), not an average: one Level 5 axis makes the task Level 5. Run scripts/assess-complexity.md or scripts/analyze-codebase.sh <target> to measure the inputs.

Blocking Thresholds

Condition Threshold Action
YAGNI Gate Justified ratio > 2.0 BLOCK with simpler alternatives
YAGNI Warning Justified ratio 1.5-2.0 WARN with simpler alternatives
Critical Questions > 3 unanswered BLOCK
Missing Dependencies Any blocking BLOCK
Failed Attempts >= 3 BLOCK & ESCALATE
Evidence Failure 2 fix attempts BLOCK
Complexity Overflow Level 4-5 no plan BLOCK

WARNING Conditions (proceed with caution):

  • Level 3 complexity
  • 1-2 unanswered questions
  • 1-2 failed attempts

Read the full file on GitHub · 305 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 27d ago Changed · -14 tokens per session e48fc31ce127
  2. 1mo ago Changed · -1 lines dc3d2304fea4
  3. 1mo ago Changed · +2 lines 2ce52e8886ff
  4. 2mo ago Changed · -5 lines 1d028135c325
  5. 2mo ago Changed · -1 lines 8b014952b851
  6. 2mo ago Changed 8f3737030e73
  7. 2mo ago Changed 222a20cc7416
  8. 2mo ago First seen · 310 lines · 46 tokens per session scan A 6034cb220924

Subscribe to this mod's changes

quality-gates is a skill published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 2,819 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

quality-gates compared with skills from other repositories

quality-gates next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quality-gatesyonatangross/orchestkitSkill312todayMITA32Claude Code
wisdom-forgetSnowflake-Labs/cocoplusSkill72924d agoMITA34Claude Code
markedit-toolssammcj/agentic-codingSkill174todayApache-2.0A16Claude Code, Codex
deferred-task-executionsammcj/agentic-codingSkill174todayApache-2.0A54Claude Code
screenpipe-workflow-maintenancescreenpipe/screenpipeSkill23ktodaynoneA22Claude Code, Codex
computer-useshibing624/agenticaSkill368yesterdayApache-2.0A35Claude Code, Codex
screenpipe-process-guidescreenpipe/screenpipeSkill23ktodaynoneA22Claude Code, Codex