7. Make a module with your AI agent

Let your own AI agent, like Claude Code or Codex, turn a game that is not in the list into a Saba-chan module.

7. Make a module with your AI agent

You can run a game that is not in the list. Have your AI agent make a module, the description that tells Saba-chan how to run one game server. Saba-chan gives your agent the procedure and the tools as the module maker.


What you need

  • Saba-chan, installed on this PC. The agent starts the server on this PC to test the module.
  • An AI agent that can run terminal commands, like Claude Code or Codex.
  • Git. The agent uses it to get the modules repository.

You do not need to install Python. The agent can use the Python that Saba-chan has.


1. Install the skill in your agent

In the app, open Saba Storage › Modules and scroll to the bottom, or open Add server and look under the game list. Click Make my own to copy the commands below. In a terminal, saba-chan-cli module maker shows the same steps and the paths on this PC.

AgentInstall
Claude Codegit clone https://github.com/WareAoba/saba-chan-modules, then open Claude Code in that folder. It finds the skill by itself
CodexAsk $skill-installer: "install the maker path of the WareAoba/saba-chan-modules repository"
Other agentsgit clone https://github.com/WareAoba/saba-chan-modules, then ask: "read maker/SKILL.md and follow it"

2. Ask your agent

Change the game name and paste it.

Use the saba-module-maker skill to make a Valheim server module. Research official sources and pass every pre-PR gate.

3. What the agent does

  1. Research: collects commands, settings, ports and console lines from official documents and from files the server makes. It records each source in a research table.
  2. Look at the real files: downloads the server and checks the folder layout and the encoding of the default settings file.
  3. Test run: starts the server and records the ready line, the help output and a clean stop.
  4. Write the module: writes module.toml, lifecycle.py and text in 10 languages. It writes the tests first.
  5. Gate check: runs the conformance checks, the permission audit and the version and translation checks at once.
  6. Test on this PC: runs the real daemon in the sandbox from install to reset and writes a report.

The agent asks you two things on the way: whether you accept the game's license (EULA), and whether it may start the server on this PC. Read the license yourself before you answer.


4. Use and share your module

  • On this PC: put it in the modules folder (saba-chan-cli module maker shows where). It appears at once. A module you make shows as unverified and runs in the sandbox.
  • Share it: send a PR to the modules repository. After review, it ships in the next release as verified for everyone.

Versions and updates

The module maker has its own version, apart from the Saba-chan app. The agent's check report shows the maker version at the top and tells you when a new one is out. To update, run git pull in the folder you cloned; in Codex, install it again the same way.