A command-line interface for Football Manager 27, built with CLI-Anything. It lets you, or an AI agent such as Claude Code or Codex, read saves (manager, club, in-game date, squad snapshot), verify and back them up, look inside the game's archives, list recorded matches, launch the game through Steam and drive the running game window.
It never writes to the game's install or save folders. The only things it writes are backups, extracts and its own small session file.
You need Windows, Football Manager 27 on Steam and Python 3.10 or newer.
git clone https://github.com/mattboostkit/cli-anything-fm27.git
cd cli-anything-fm27
pip install -e .\agent-harness # or: uv tool install --editable .\agent-harness
cli-anything-fm27 game info
cli-anything-fm27 saves list --detailsThe game and your saves folder are found automatically through Steam. If
yours are somewhere unusual, set FM27_GAME_DIR, FM27_USER_DIR or
STEAM_PATH (see the full guide).
Point your agent at skills/cli-anything-fm27/SKILL.md.
For Claude Code, copy the skills/cli-anything-fm27 folder into
~/.claude/skills/. The skill lists every command and how to use them safely.
- Full usage guide:
agent-harness/cli_anything/fm27/README.md - How the file formats were worked out, and scope decisions:
agent-harness/FM27.md - Tests:
agent-harness/cli_anything/fm27/tests/TEST.md
The save and archive formats were reverse-engineered from real files on one English-language Steam install. A game patch or a different setup could break parsing. If something looks wrong, run the tests (below): the end-to-end tests check every save and archive on your machine, so they show quickly what broke.
This is an unofficial fan tool. It is not affiliated with or endorsed by Sports Interactive or SEGA. It contains no game files or game data. Back up your saves before experimenting.
Issues and pull requests are welcome. To set up and run the tests:
pip install -e ".\agent-harness[dev]"
cd agent-harness
python -m pytest cli_anything/fm27/tests -vUnit tests use synthetic archives. End-to-end tests read your own FM27 install
and saves and skip when the game is not installed. Please run both before
opening a pull request, and update tests/TEST.md if you add tests.