Defect Rate — Paste Counts, Get DPMO and a Sigma Level

    1

    Paste inspection counts and receive observed defect rate, DPMO, a convention-based sigma estimate, and a ranked table with formulas. The offline tool uses supplied counts and reports incomplete data instead of guessing.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Defect Rate — Paste Counts, Get DPMO and a Sigma Level

    Example session with this skill installed

    Calculate the defect metrics for these processes from examples/processes.csv: Assembly A (1200 units, 8 defects, 5 opportunities per unit), Packaging (850 units, 10 defects, 4 per unit), Inspection (500 units, 0 defects, 3 per unit).

    • Read your context and instructions
    • Compiled the defect rate

    Defect Rate Results

    RankProcessUnitsDefectsOpportunitiesDefect rateDPMOSigma estimate
    1Packaging8501034001.1765%2941.184.254
    2Assembly A1200860000.6667%1333.334.504
    3Inspection500015000.0000%0.00not estimable

    Displayed rows combined: 18 defects / 2550 units / 10900 opportunities; rate 0.7059%; DPMO 1651.38.

    Calculation

    • Defect rate = defects / units.
    • DPMO = defects / (units × opportunities per unit) × 1,000,000.
    • Sigma estimate = inverse standard-normal yield + 1.5; zero defects is shown as not estimable.
    • Rows are ranked by observed DPMO, highest first. Only the submitted counts are used.
    • Sigma is a conventional approximation, not a process capability conclusion; no confidence interval or external benchmark is added.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    You send a CSV of process names, inspected units, observed defects, and defect opportunities per unit. You get observed defect rate, DPMO, a conventional approximate sigma estimate, a ranked process table, and the formulas used.

    This offline Python tool calculates only from the counts you provide. It does not add external benchmarks, infer missing counts, or claim statistical process capability.

    Input columns: process, units, defects, opportunities_per_unit. One row is one process or time period. Counts must be non-negative whole numbers; a row with missing counts is rejected as insufficient.

    Options: output as markdown, json, csv or text; a declared sigma shift (default 1.5); a row limit; and --output to a new file only (it never overwrites).

    Limits: the sigma value is a conventional approximation. The tool does not calculate uncertainty, control limits, capability indices, or a pass/fail judgment. With zero observed defects, a finite sigma value is not estimated.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.

    Does not support statistical inference, control charts, or missing data. Zero defects are marked as not estimable. Requires Python 3.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Software
    python3 (standard library only)

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed8 days ago
    Updated4 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the calculation of DPMO and Sigma levels from CSV data, eliminating the common arithmetic hallucinations and formula errors that occur when using generic LLM prompts for quality metrics.

    The skill requires a UTF-8 CSV or raw text input with headers for process names, total units, observed defects, and opportunities per unit to ensure accurate processing.

    Yes, because the skill uses the 'defect_rate.py' tool to process data locally within the agent's environment, your sensitive manufacturing data is not sent to external APIs for calculation.

    The package includes the 'defect_rate.py' execution script, a set of standardized quality-control prompts, and documentation on how to structure your CSV headers for immediate use.

    While it excels at calculating DPMO and Sigma levels, it does not currently generate control charts (SPC), confidence intervals, or process capability indices (Cp/Cpk).

    This skill is designed for any AI agent framework that supports Python 3 execution and file system access for processing CSV exports.

    New in Data & Databases