Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for prompt engineers

System Prompt Conflict Audit Agent

A system prompt where every known rule collision has one clear, steady winner

System Prompt Conflict Audit Agent: what goes in, what the agent does and what you get

What it does

A long system prompt grows by patches, and soon one line says be brief while another says always explain. This agent reads the whole prompt and lists every instruction as a short rule. It looks for pairs that could collide, such as tone, length, format, refusal and priority rules. For each pair it builds a test input where both rules apply and runs it several times, recording which rule wins and how steady that result is. Pairs that flip between runs are marked unstable. It then rewrites the prompt with clearer priorities or merged rules and reruns the same tests. It repeats until every collision gives the same winner across runs. The engineer approves the rewrite. Edge case: a safety rule and a formatting rule collide, and the agent keeps safety first.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueYes, continueApprovedNoNo 1 STARTS WHEN Engineer submits a system prompt for audit 2 USES A TOOL Read the prompt and list each instruction as a rule 3 DOES Find rule pairs that could collide and rank them byrisk 4 USES A TOOL Build and run a test input for each pair severaltimes 5 CHECKS THE RESULT Does one rule win steadily in each pair? If not: mark the pair unstable and note which runsdiffer. Back to step 3. 6 DOES Rewrite the prompt with clearer priorities or mergedrules 7 USES A TOOL Rerun every collision test on the rewrite 8 CHECKS THE RESULT Does the winner match the priority order in everypair? If not: adjust the wording again and retest the failingpairs. Back to step 6. 9 YOU APPROVE Engineer approves the rewritten prompt 10 RESULT Audit report with rule list, test results andrewrite
Read the steps as a list
  1. Engineer submits a system prompt for audit
  2. Read the prompt and list each instruction as a rule
  3. Find rule pairs that could collide and rank them by risk
  4. Build and run a test input for each pair several times
  5. Does one rule win steadily in each pair?If not: mark the pair unstable and note which runs differ. Back to step 3.
  6. Rewrite the prompt with clearer priorities or merged rules
  7. Rerun every collision test on the rewrite
  8. Does the winner match the priority order in every pair?If not: adjust the wording again and retest the failing pairs. Back to step 6.
  9. Engineer approves the rewritten promptThe agent waits here for your OK.
  10. Audit report with rule list, test results and rewrite

How it decides

A collision is settled when the same rule wins in at least 9 of 10 runs and it matches the stated priority order.

  • Count a collision as settled at 9 of 10 matching runs
  • Place safety rules above style and format rules
  • Merge two rules if they say the same thing
  • Run at least 10 repeats for each pair

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Priority order of rule types
  • Repeat count per test (default 10)
  • Number of pairs to test
  • Model used for tests

What keeps you in control

It always asks you first

  • Rewritten system prompt

Hard limits

  • Never edits the live prompt
  • Never removes a safety rule

It stops when

  • Done: all collisions settled and the engineer approves
  • Stop: no priority order is given for the rules

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensA bank's help bot prompt said always answer in two sentences and also list all fee details. The agent tested 10 runs and found the fee rule won 4 times and the length rule 6. It rewrote the rule so fees may use a short list after two sentences. In the retest, the fee rule held in 10 of 10 runs and the safety rules did not change.

More agents for prompt engineers