Part 2: For players · 4 sections · page built 2026-12-05 00:35 UTC

Find conflicts and build a patch with an agent

Do this by hand

Your agent runs the conflict report, explains it in plain words and proposes which mod should win each important record. It can build the patch, which merges quests and dialogue since sf-mod-check version 0.19.0, but you choose the winners.

Richard is modding

What's new

  • 2026-12-03. The page now has a Richard is modding panel that links to Richard's mods at Creations and Nexus Mods, and to Help Richard Help You.
  • 2026-11-29. This page has a new look, the same as the other Richard Presents pages, with a menu that lights the section you are reading, a short summary at the top and this What's new box.

What to ask

Ask your agent
Run the conflict report for my load order and explain the conflicts that matter most.
Ask your agent
Two of my mods change the same item. Show me both versions and suggest which one should win, but let me decide.
Ask your agent
Build a conflict patch with the winners I chose, then tell me exactly how to load it last.

What the agent runs

No starfield-agent skill covers this task. The agent follows sf-mod-check's AGENTS.md and sf-load-order's AGENTS.md, and so do other agents. The commands match the manual page.

Command Prompt
sf-mod-check conflict

Under MO2, the agent adds your instance (conflict, patch and find take --mo2 <instance folder> and --profile <name> in sf-mod-check 0.16.0 and later):

Command Prompt
sf-mod-check conflict --mo2 "<instance folder>" --profile "<profile name>"

To look at one record in your load order:

Command Prompt
sf-mod-check find <EditorID>

To list the records that two or more mods change, before anything is installed (sf-mod-check 0.26.0 and later), the agent gives --plugin once for each download. It takes .zip, .7z and .rar files, unpacked to a temporary folder that is deleted afterward. --type, --min and --records <file> narrow the list.

Command Prompt
sf-mod-check overrides --plugin A-1.0.zip --plugin B-1.0.zip

For the installed load order, it runs overrides with no options:

Command Prompt
sf-mod-check overrides
Command Prompt
.\sf-load-order.cmd
Command Prompt
sf-mod-check patch

With a limited list of plugins, and with your chosen winners:

Command Prompt
sf-mod-check patch --only MyMod.esm,OtherMod.esm
Command Prompt
sf-mod-check patch --pick 064F3C:Starfield.esm=OtherMod.esm

Since sf-mod-check 0.30.0, patch refuses a --name that is another mod's name (and the default ConflictPatch.esm when another mod has it): it exits 2 with RESULT: CANNOT BUILD (--name <name> is another mod in the load order) and writes nothing, so the agent must pick another name and never overwrite a mod. An older patch made by sf-mod-check of that name is still replaced. Each --pick is a FormKey, an equals sign and the plugin that should win, and patch-report.md prints ready-made lines to copy. The plugins named with --only and --pick must be active in your load order, or the run stops with exit 2. The patch goes into the folder sf-mod-check-patch unless the agent gives --out.

After any mod changes, on the installed patch:

Command Prompt
sf-mod-check patch check "<path to>\ConflictPatch.esm"

What you check

  • The report. Open report.html and look at the records the agent calls important. Ask it to point to each one.
  • The winners. The agent proposes --pick choices. Check each pick names the plugin you want.
  • Patch check. RESULT: REBUILD means the patch is out of date. If the agent says the patch is fine, confirm it with the RESULT: line from patch check. RESULT: NOT CHECKED (...) (sf-mod-check version 0.18.0 and later) means the patch isn't active, so nothing was checked. Since version 0.29.0 that run exits 2 ("could not check"); earlier versions exit 0 for it. Older versions printed UP TO DATE with (the patch isn't in the load order; nothing was checked) for the same case.
  • MO2. Under Mod Organizer 2, the agent must pass --mo2 (and --profile) to conflict, patch and find. Without it the report sees only the real Data folder. MO2 support was tested on made-up MO2 folders, so ask the agent to quote the report's load-order line (MO2 profile <name> (<folder>), <n> active entries) and its load-order problems the first time. With --mo2, the patch report says to add the patch in MO2 with Create empty mod, which you do yourself. sf-load-order under MO2 hands the instance and profile to sf-mod-check conflict --mo2 itself (since sf-load-order version 0.3.2), so the agent doesn't need --conflicts for its rating.
  • Overrides. overrides exits 0 when it listed records, 1 when it found none and 2 when it couldn't run. With two or more --plugin inputs, a download whose master is missing is left out with a note, so ask the agent which inputs it left out. With one --plugin, a missing master stops the run with exit 2, and the agent should add --masters-dir, unless the input is one archive with several plugins: then only the plugin whose master is missing is left out, with a note, and if every plugin in that archive is missing a master, the run still stops with exit 2. Two mods that change one record are not always a conflict, so the agent should point to the conflict report before it calls anything a problem.
  • Quests, dialogue and scenes. Since sf-mod-check version 0.19.0, the patch merges quests by their parts (stages and objectives by Index, aliases by alias ID, script properties one by one) and builds dialogue topics and lines. It still doesn't build scenes or dialogue branches, or a dialogue line in two topics, a topic in two quests, or one whose parent no plugin holds. Ask the agent to quote the report's "Not built" list and its Notes, and to list those records for xEdit rather than claim they are fixed. When both mods changed the same alias, the patch keeps the winner's under Choices, which you check like any other pick.

A real run

These lines come from real runs of sf-mod-check 0.30.0 on a made-up load order: the official plugins and the two tutorial mods (paths shortened). The two tutorial mods change nothing in common, so no conflict is found, and the report has nothing to patch.

conflict and overrides:

sf-mod-check 0.30.0 conflict: 20 plugins (18 official, 2 mods), 0 records overridden by mods
RESULT: OK, 0 lost-change entries (0 official, 0 mod vs mod), 0 benign entries shown apart, 0 ITMs, 0 load-order problems (report: C:\Example\sf-mod-check-conflict\report.html; 3 s)
sf-mod-check 0.30.0 overrides: records held by 2 or more non-official plugins, in 20 plugins (Plugins.txt (C:\Example\Plugins.txt), 2 active entries)
RESULT: no record is held by 2 or more non-official plugins

patch with nothing to patch (exit 0), and patch check on a patch that isn't active (exit 2):

0 records overridden by mods
RESULT: OK, nothing to patch: 0 forwardable fields, 0 records not built (report: C:\Example\patch-out\patch-report.md; 1 s)
NOTE [patch-off] ConflictPatch.esm isn't in the load order (it isn't active in Plugins.txt), so nothing else was checked.
RESULT: NOT CHECKED (the patch isn't in the load order; nothing was checked)

find Health (the 22 s run time depends on your PC). The field list is cut to two fields, and Flags is the raw number the plugin holds:

sf-mod-check 0.30.0 find: Health in 18 plugins (Plugins.txt (C:\Example\Plugins-official.txt), 0 active entries)

Health [0002D4:Starfield.esm] AVIF "Health"
  defined in: Starfield.esm (base game)
  winner: Starfield.esm (base game)
  fields:
    Abbreviation: "HP"
    Flags: 2550235184
RESULT: FOUND 1 record (22 s)

A real conflict between two other authors' mods can't be shown from public files, so the example on the manual page is a made-up case.

What stays your decision

  • Which mod wins each conflict. The agent suggests, and you choose.
  • Installing ConflictPatch.esm and placing it last in your load order.
  • Keeping the patch private. It holds other authors' data, so the agent must never publish, share or upload it, and you shouldn't either.
  • Whether to use xEdit for the scenes, dialogue branches and other records the patch doesn't build, and doing that work, since an agent can't drive xEdit's window.

Read the guardrails before you let an agent act on your files.

Do this by hand