apply-theory-of-constraints

apply-theory-of-constraints is a skill for Claude Code from jeffreytse/grimoire-core. It costs 51 tokens per session (1,729 once invoked), scanned A, original, MIT.

A method for improving a system by finding the one bottleneck that limits its overall output. A bottleneck is a step or resource that restricts how much work the whole system can complete.

In plain words
What is it for?
Finding and improving the main constraint in production lines, software delivery pipelines, service queues, hiring funnels, or similar workflows.
Why use it?
Improving other parts of a process does not increase total output when the true limiting step remains unchanged.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the grimoire-business plugin — 156 skills shipped together

Good fit Finding and improving the main constraint in production lines, software delivery pipelines, service queues, hiring funnels, or similar workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeffreytse/grimoire-core/apply-theory-of-constraints
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jeffreytse/grimoire-core --skill apply-theory-of-constraints
Clone the repo
git clone --depth 1 https://github.com/jeffreytse/grimoire-core

Made for: Claude Code.

Or install grimoire-business, the plugin that ships this one along with the rest of its 156 skills.

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 apply-theory-of-constraints

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffreytse/grimoire-core/apply-theory-of-constraints/github.svg)](https://agentmods.dev/skills/jeffreytse/grimoire-core/apply-theory-of-constraints)
Your own site
<a href="https://agentmods.dev/skills/jeffreytse/grimoire-core/apply-theory-of-constraints"><img src="https://agentmods.dev/badge/skills/jeffreytse/grimoire-core/apply-theory-of-constraints/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 apply-theory-of-constraints

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffreytse/grimoire-core/apply-theory-of-constraints"><img src="https://agentmods.dev/badge/skills/jeffreytse/grimoire-core/apply-theory-of-constraints.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,729 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.00051 $0.01729
Opus 5.5 $0.00020 $0.00692
Sonnet 5.5 $0.00010 $0.00346
Haiku 4.5 $0.00005 $0.00173

Measured 1mo ago against content hash 93867f49ed8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apply-theory-of-constraints 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 1mo ago.

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.

skills/business/operations/skills/apply-theory-of-constraints/SKILL.md · 54 lines

How it starts

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

Apply Theory of Constraints

Find the single resource that caps a system's throughput, subordinate everything else to it, then elevate it — instead of optimizing parts of the system that aren't the limiting factor.

Why This Is Best Practice

Adopted by: APICS/ASCM (constraint management is a core body-of-knowledge domain in CPIM certification), manufacturers worldwide via Drum-Buffer-Rope scheduling (Ford, Boeing suppliers, Amazon fulfillment network design documented case studies), the Theory of Constraints Institute's certified practitioner network, and widely taught in MBA operations curricula alongside Lean and Six Sigma. Impact: Goldratt Institute case-study compilations and independent TOC literature reviews (Mabin & Balderstone, 2003, "The performance of the theory of constraints methodology," meta-analysis of ~80 published TOC implementations) report median lead-time reductions of ~70%, inventory reductions of ~49%, and revenue/throughput increases of ~63% across manufacturing and project environments. Individual documented cases (e.g., GM's Powertrain Division, Boeing) report double-digit throughput gains within a single fiscal year of implementing the Five Focusing Steps. Why best: Most process-improvement effort defaults to optimizing whatever is easiest to see or measure — busy workers, idle machines, backlog size at any one step. TOC's core insight is that a chain's strength is set by its weakest link: improving any non-constraint resource does not increase system throughput and often just moves inventory or wait time to the real bottleneck. TOC forces improvement effort onto the one point that actually changes the system's output.

Sources: Goldratt & Cox, "The Goal" (1984); Goldratt, "It's Not Luck" (1994); Mabin & Balderstone (2003), International Journal of Operations & Production Management; APICS/ASCM CPIM Body of Knowledge

Steps

The Five Focusing Steps — run them in order, and treat step 5 as a loop back to step 1, not an end point.

Read the full file on GitHub · 54 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. 1mo ago First seen · 54 lines · 51 tokens per session scan A 93867f49ed8f

Subscribe to this mod's changes

apply-theory-of-constraints is a skill published in the GitHub repository jeffreytse/grimoire-core (5 stars, last pushed 5d ago), licensed MIT. It adds 51 tokens to every session and 1,729 once invoked, about $0.0002 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-03.