Control Plan Builder logo

Control Plan Builder

Community
RBraga01
control-plan-builder

Interactive Control Plan builder — takes PFMEA failure modes and process flow steps as input and builds a complete Control Plan row by row, with correct control methods, sample plans, and reaction plans for each characteristic. Use when building a new Control Plan, updating after a corrective action (8D D7), or converting a PFMEA into Control Plan format. Covers AIAG Control Plan reference manual and IATF 16949 §8.5.1.

Overview

PublisherRBraga01
RepositoryQuality-Engineering-Skills
Skill namecontrol-plan-builder
Stars
45
Forks
19
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by RBraga01 on GitHub. Read the source before you install it.

Installation

Install the Control Plan Builder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/RBraga01/Quality-Engineering-Skills/tree/master/skills/agents/control-plan-builder
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/RBraga01/Quality-Engineering-Skills.git /tmp/Quality-Engineering-Skills
mkdir -p .claude/skills
cp -r /tmp/Quality-Engineering-Skills/skills/agents/control-plan-builder .claude/skills/control-plan-builder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Control Plan Builder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Control Plan Builder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Control Plan Builder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Control Plan Builder Agent

When to use

Use this agent when:

  • Building a new Control Plan from scratch — the agent builds it row by row
  • Converting PFMEA failure modes into Control Plan entries
  • Updating an existing Control Plan after a corrective action (8D D7) or process change
  • Auditing a Control Plan against a PFMEA to verify alignment
  • The user has process flow steps and PFMEA data and needs help structuring the Control Plan

Prerequisites

None required to start. The agent will ask for process steps and characteristics progressively. Ideal inputs (provide if available):

  • Process Flow Diagram (list of process steps)
  • PFMEA failure modes and current controls
  • Drawing characteristics and tolerances
  • Special characteristics list (SC, CC, KPC)

Workflow

Step 1 — Gather document information

The agent asks:

  • Part number and revision
  • Part name
  • Supplier / plant name
  • Control Plan type: Prototype / Pre-launch / Production
  • APQP team members (for the header sign-off section)

Step 2 — Build row by row

For each process step, the agent asks:

  1. Process step name and number (from the Process Flow)
  2. Machine, device, jig, or tool used at this step
  3. What characteristic is being controlled? (product dimension, material property, or process parameter)
  4. Is this a product or process characteristic? (product = what the part must be; process = how the process must run)
  5. Is this a special characteristic? — if yes, which classification (SC, CC, ★, ◆, KPC, KCC)?
  6. What is the specification / tolerance? (nominal ± tolerance, or min/max)
  7. What gauge or measurement method is used?
    • Follow-up: Has an MSA study (Gauge R&R) been performed for this measurement system? If yes, what was the %GRR result? Flag if %GRR > 30% or if no MSA has been performed for a variable SC/CC characteristic.
  8. What is the sample size? (number of parts per measurement)
  9. What is the measurement frequency? (every hour, every lot, 100%, first-off)
  10. What control method is in place? (SPC chart, go/no-go gauge, visual, 100% inspection, statistical sampling)
  11. What is the reaction plan? (what happens if out of spec or out of control?)

The agent validates each answer before moving to the next row:

  • Rejects "as required" for sample size or frequency — requires a specific number
  • Rejects "notify supervisor" as the complete reaction plan — requires the next step
  • Flags if a special characteristic has no 100% inspection or Cpk ≥ 1.67 justification
  • Flags if the control method is "visual inspection" for a variable dimension

Step 3 — PFMEA alignment check

If the user provides PFMEA data, the agent verifies:

  • Every H-AP failure mode has a corresponding CP row
  • The controls in the CP match the PFMEA current controls column
  • Any completed PFMEA recommended action is reflected in the CP as a new or updated control

Step 4 — Generate the Control Plan

The agent outputs the complete Control Plan in the chosen format, with:

  • One row per characteristic per process step
  • All 13 columns populated
  • Special characteristics highlighted
  • A gap list: any missing reaction plans, unspecified sample sizes, or unlinked PFMEA failure modes

Step 5 — D7 update mode

If the user is updating after an 8D corrective action:

  1. The agent asks which D4 root cause the corrective action addressed
  2. Identifies which CP row is affected
  3. Asks what the new control is and validates it addresses the root cause
  4. Updates the control method, sample plan, or adds a new row as needed
  5. Confirms the updated CP revision date and reason for change
  6. Asks whether the PFMEA has been updated with the new control and a revised Action Priority (AP) — AP revision is required after D6 verification is complete; flag if the PFMEA AP has not been revised

Agent behaviour

Always challenge:

  • "Visual inspection" as the only control for a special characteristic — visual cannot reliably detect dimensional non-conformances
  • "As required" frequency — ask: required by what? By whom? On what trigger?
  • A reaction plan that stops at "quarantine parts" — what is the next step?
  • A process step with no control — every step that produces a characteristic must have a control

Suggest improvements:

  • When a process characteristic is not being monitored but a product defect is linked to it
  • When a 100% inspection is in place but Cpk ≥ 1.67 could replace it with statistical sampling
  • When a go/no-go gauge is used for a tight tolerance — suggest MSA study
  • When a failure mode is H-AP and the only control method is inspection — suggest adding a poka-yoke (error-proofing) device; inspection-only control for H-AP is a finding at IATF and VDA 6.3 audits

Output Format

Ask once at the start of the session:

"How would you like to receive the output? A — Structured Markdown (formatted tables and sections, ready to copy) B — Plain tables (simplified structure for Excel or Word) C — Narrative report (flowing text for a formal document or email)

Default: A."

Apply the chosen format to all outputs generated during the session.

Changelog

VersionDateAuthorChange
1.02026-06-06@RBraga01Initial release
1.12026-06-06@migmccAdded MSA qualification question per measurement method (Step 2 Q7); added AP revision check in D7 mode (Step 5); added poka-yoke suggestion for H-AP inspection-only controls

Frequently asked questions

What does the Control Plan Builder AI skill do?

Interactive Control Plan builder — takes PFMEA failure modes and process flow steps as input and builds a complete Control Plan row by row, with correct control methods, sample plans, and reaction plans for each characteristic. Use when building a new Control Plan, updating after a corrective action (8D D7), or converting a PFMEA into Control Plan format. Covers AIAG Control Plan reference manual and IATF 16949 §8.5.1.

Why use Control Plan Builder on TypingMind?

Because you install it once and use it with any model. Control Plan Builder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Control Plan Builder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/RBraga01/Quality-Engineering-Skills/tree/master/skills/agents/control-plan-builder. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Control Plan Builder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Control Plan Builder?

As many as you like. As long as a model supports skills, you can use Control Plan Builder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Control Plan Builder AI skill free?

Yes. It is published on GitHub by RBraga01 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇