quality-gates

quality-gates is a skill for Claude Code from yonatangross/orchestkit. It costs 46 tokens per session (2,850 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: agent in frontmatter; 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 — 106 skills, 35 commands, 36 agents, 32 hooks shipped together

Good fit Use it to assess new or complex tasks, decide when to ask…

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 106 skills, 35 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,850 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.00046 $0.02850
Opus 5 $0.00023 $0.01425
Sonnet 5 $0.00009 $0.00570
Haiku 4.5 $0.00005 $0.00285

Measured yesterday against content hash 6034cb220924, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 yesterday.

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 · 310 lines

How it starts

The opening of the file, as written. The whole thing — 310 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 · 310 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. yesterday 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 (229 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 2,850 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

reducing-entropy

Minimize total codebase size through ruthless simplification. Measure success by final code amount, not effort. Bias toward deletion.

wpank/ai · 30 tokens

test-patterns

Applies proven testing patterns — Arrange-Act-Assert (AAA), Given-When-Then, Test Data Builders, Object Mother, parameterized tests, fixtures, spies, and test doubles — to help write maintainable, reliable, and readable test suites. Use when the user asks about writing unit tests, integration tests, or end-to-end…

rohitg00/skillkit · 138 tokens

apply-5s-methodology

Use when a physical workspace, shared digital environment, or shop floor has accumulated clutter, unclear organization, or inconsistent upkeep that slows work down or hides problems — apply the five sequential steps (sort, set in order, shine, standardize, sustain) in order, because skipping ahead to standardization…

jeffreytse/grimoire-core · 86 tokens

linkedin-engine

Daily interactive LinkedIn session: feed posts, DM outreach, prospect research, engagement tracking, and performance review. Human-in-the-loop. Designed for daily /loop.

systempromptio/systemprompt-marketplace · 36 tokens

reddit-reply

Daily follow-up on Reddit engagement. Reads recent reddit-monitor reports, checks each URL for replies to our comments, and drafts follow-up responses. Designed for daily /loop. Load identity and brand-voice first.

systempromptio/systemprompt-marketplace · 46 tokens

social-media-guide

Entry point for social-media — routes to LinkedIn, Reddit, X/Twitter, and the daily social brief.

systempromptio/systemprompt-marketplace · 26 tokens