Part 2: For modders · 6 sections · page built 2026-12-05 00:35 UTC

Release a mod with an agent

Do this by hand

Your agent builds the zip, runs the release check, confirms it is the build you tested, drafts the README and sets up patch-day upkeep. It never uploads.

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
Build the release zip for MyMod, run the release check with the creations profile, and explain every PROBLEM, REVIEW and WARNING line.
Ask your agent
Check that the zip I'm about to release is the build I tested.
Ask your agent
Draft the README for MyMod, including how to turn on Papyrus logging and credits for the authors whose work I used. I'll edit it.

What the agent runs

The starfield-agent skill release-check covers this task, and it is meant for the step before an upload to Nexus Mods or Bethesda Creations. The user uploads. Other agents follow sf-mod-check's, sf-mod-build's and sf-patch-day's AGENTS.md. The commands match the manual page.

Command Prompt
sf-mod-build build
Command Prompt
sf-mod-build check --require-check
Command Prompt
sf-mod-check release MyMod-1.0.0.zip --profile basic
Command Prompt
sf-mod-check release MyMod-1.0.0.zip --profile creations
Command Prompt
sf-test-plan check-build MyMod.testplan.md --built MyMod-1.0.0.zip --tested MyMod-0.9.0.zip

To compare two zips without a plan, the agent uses compare-builds. It exits 0 with an OK: line when the files match and 1 when any file differs (--pins names an exact pair of checksums you looked at and accept, shown as a warning).

Command Prompt
sf-test-plan compare-builds MyMod-0.9.0.zip MyMod-1.0.0.zip

To compare a zip with the zip you released before, a folder or the game's Data folder, the agent uses sf-mod-build's verify (version 0.7.0 and later). It compares by SHA-256 and prints ok, DIFFERS or MISSING for each file. Exit 0 means all match, exit 1 means a file differs or is missing, and exit 2 means it couldn't check. A build's dist folder lacks the files zip.files adds, so those show as MISSING there, and a freshly compiled Main.ba2 shows as DIFFERS.

Command Prompt
sf-mod-build verify MyMod-1.0.0.zip --against C:\Downloads\MyMod-1.0.0.zip

For a mod built for Creations with "xbox": true, the Creations check runs on the creations-out folder:

Command Prompt
sf-mod-check release creations-out --profile creations

For patch-day upkeep, the agent makes sure sf-pex-tools 0.1.0 sits in a folder named sf-pex-tools next to sf-patch-day (or adds --pex-tools <folder>). Without it, a mod that only adds its own records gets a mods file with nothing to watch, and snapshot exits 3.

Command Prompt
.\sf-patch-day.cmd drift init MyMod.esm -o mods.json
Command Prompt
.\sf-patch-day.cmd drift snapshot --mods mods.json -o baseline.json
Command Prompt
.\sf-patch-day.cmd drift check --mods mods.json --baseline baseline.json

If your mod depends on Creations, the agent can also run creations (sf-patch-day version 0.4.0 and later) after an update, to list the Creations that were added, removed or updated since the last run:

Command Prompt
.\sf-patch-day.cmd creations

What you check

  • The release lines and the exit code. Exit 0 is OK. PROBLEM must be zero. Ask the agent to explain each REVIEW and WARNING, and don't accept a finding you don't understand.
  • The gap check. sf-mod-build build prints BuildKit's gap check: result (0.4.2 and later). The agent should quote it and fix every ERROR, and say so if it reads NOT RUN.
  • The Creations folder. With "xbox": true, the Creations check belongs on creations-out. The PC zip has no Xbox archive. Without "xbox": true there is no creations-out folder, and the check exits 2 (CANNOT CHECK), which means nothing was checked.
  • check-build and compare-builds. Exit 0 means the zip has the same plugins, scripts and other loose files as the one you tested (since sf-test-plan 0.5.0; a document or picture in a folder the game reads, such as Interface or SFSE, counts too since 0.5.1). Each .ba2 is compared by what is inside it. The agent must say which file differs, not only that the zips differ.
  • verify. Exit 0 means every file matches by SHA-256. A fresh compile makes the Main.ba2 bytes differ, so the agent must not read DIFFERS on that archive as a broken build without check-build. Each zip also comes with a <zip>.files.sha256 file, and since sf-mod-build 0.7.0 its entry times follow the mod's last git commit, so the same files from the same commit give the same zip.
  • One plugin per zip. A second plugin goes in parts in sfmod.json, and since sf-mod-build version 0.5.0 build writes one zip per plugin (<ModName>-<Part>-<version>.zip) and checks each one. The agent should run sf-mod-build validate, show you which zips it will write, and never use an "Optional" folder.
  • Voice files. Since sf-mod-check version 0.18.0, release warns about a dialogue line with no voice file (rule voice-missing), and a mod with dialogue and no voice files at all gets one NOTE instead. The agent should name each line and the file it expected, and not call a silent line fine.
  • Platforms. sf-mod-build is tested on PC (Steam) and Xbox. PS5 is not tested, and that is a known limit. Since sf-mod-build 0.7.0, a build with "xbox": true also writes <plugin> - Main_ps.ba2, a PC-format copy for PlayStation 5, and PS5 reads PC-format files except audio, so a mod with voice files needs a PS5 audio test. The agent shouldn't claim a mod is ready for PlayStation 5.
  • The README. Check that the logging section, the credits and the permissions are true. The agent can't know what an author told you.
  • Drift. After a game update, the agent must run drift check, not snapshot --force. Look at any ACTION line yourself. An exit 3 with "masters" is empty means the mods file has nothing to watch, not that the mod is fine.

A real run

The release check on the tutorial quest mod's zip, with the creations profile (sf-mod-check 0.30.0, exit 0, shortened). The tutorial has no Xbox archive, so the check warns about it, as it would for your mod.

sf-mod-check 0.30.0 release (creations profile): PMTTutorialSecondWind-0.1.0.zip (4 files, 1 plugin, 1 archive)
WARNING  [creations-xbox] PMTTutorialSecondWind-0.1.0.zip:PMTTutorialSecondWind - Main.ba2: no PMTTutorialSecondWind - Main_xbox.ba2, so Xbox gets no archive (the Creation Kit warns "Creation for XBox that has no archives"); build the Xbox archive with Archive2's Xbox settings.
NOTE     [plugin-check] PMTTutorialSecondWind.esm: OK, 0 errors, 0 warnings (light master, 1 masters, 6 records, 0 overrides (0 ITM), 8 links)
NOTE     [creations-size] PMTTutorialSecondWind-0.1.0.zip: plugins and archives: 3.4 KB (a Creation may hold 2 GB).
RESULT: OK (0 problems, 0 to review, 1 warnings)

The NOTE lines for DMMDeps and the gap check are left out here.

What stays your decision

  • Whether the mod is ready, and which findings you accept.
  • The release text, the screenshots, the page and the version number.
  • Permission for any work you build on, and credit to its authors.
  • The upload to Nexus Mods and to Creations. The agent never uploads, and the Creation Kit does the Creations upload.
  • Whether to rebuild after drift check says ACTION.

For CK and xEdit authors

The agent can run release on your zip, draft the README and track patch-day drift. It can't open the CK or upload for you. You make the zip and the upload.

For code builders

The agent can run sf-mod-build build with the check required, list a second plugin in parts so it gets its own zip, and keep the Mutagen and BuildKit pins. It must never compile with -release, and it must never upload.

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

Do this by hand