Agent skill
cost-of-quality-analyzer
Cost of Quality analysis skill with prevention, appraisal, internal failure, and external failure cost tracking
Install this agent skill to your Project
npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/domains/business/operations/skills/cost-of-quality-analyzer
Metadata
Additional technical details for this skill
- domain
- business
- category
- quality-management
- specialization
- operations
SKILL.md
Cost of Quality Analyzer
Overview
The Cost of Quality Analyzer skill provides comprehensive capabilities for analyzing and tracking quality costs. It supports PAF (Prevention, Appraisal, Failure) model analysis, hidden factory cost identification, and quality investment ROI calculation.
Capabilities
- Prevention cost identification
- Appraisal cost tracking
- Internal failure cost calculation
- External failure cost estimation
- COQ ratio analysis
- Hidden factory costs
- Quality investment ROI
- Improvement prioritization
Used By Processes
- QMS-004: Cost of Quality Analysis
- QMS-002: TQM Program Development
- CI-001: Operational Excellence Program Design
Tools and Libraries
- Cost accounting systems
- Quality cost databases
- Financial analysis tools
- Reporting dashboards
Usage
skill: cost-of-quality-analyzer
inputs:
period: "2025-Q4"
revenue: 10000000
cost_data:
prevention:
- category: "Training"
amount: 50000
- category: "Quality planning"
amount: 30000
- category: "Process control"
amount: 40000
appraisal:
- category: "Inspection"
amount: 80000
- category: "Testing"
amount: 60000
- category: "Audits"
amount: 20000
internal_failure:
- category: "Scrap"
amount: 100000
- category: "Rework"
amount: 75000
- category: "Downtime"
amount: 50000
external_failure:
- category: "Warranty"
amount: 120000
- category: "Returns"
amount: 40000
- category: "Complaints"
amount: 25000
outputs:
- coq_summary
- coq_ratios
- trend_analysis
- pareto_analysis
- improvement_opportunities
- roi_projections
Cost of Quality Categories
Prevention Costs (Investing to prevent defects)
- Quality planning
- Training and education
- Process control
- Supplier evaluation
- Design reviews
- Preventive maintenance
Appraisal Costs (Detecting defects)
- Incoming inspection
- In-process inspection
- Final inspection
- Testing and calibration
- Quality audits
- Supplier monitoring
Internal Failure Costs (Defects found before shipping)
- Scrap
- Rework
- Re-inspection
- Downtime
- Failure analysis
- Yield losses
External Failure Costs (Defects found by customers)
- Warranty claims
- Returns and replacements
- Complaint handling
- Product liability
- Recalls
- Lost sales/reputation
COQ Benchmarks
| Metric | World Class | Average | Poor |
|---|---|---|---|
| COQ as % of Revenue | 2-4% | 10-15% | 20-25% |
| Prevention % of COQ | 20-30% | 10-15% | < 5% |
| Failure % of COQ | 30-40% | 60-70% | > 80% |
Optimal COQ Model
Total COQ = Prevention + Appraisal + Failure
As Prevention increases:
- Appraisal stays relatively flat
- Failure costs decrease significantly
- Total COQ decreases until optimal point
Hidden Factory Costs
Often unmeasured costs:
- Expediting
- Sorting
- Engineering changes
- Excess inventory
- Extended cycle times
- Customer service escalations
Integration Points
- ERP financial modules
- Quality Management Systems
- Cost accounting systems
- Business intelligence tools
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-tools
Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).
model-profile-resolution
Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.
verification-suite
Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.
state-management
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
git-integration
Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.
frontmatter-parsing
YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.
Didn't find tool you were looking for?