← Back to Tools

XIALEI TOOLBOX · PUBLIC BETA · RELEASED 1 DECEMBER 2026

Describe the issue.
Approve the fix.

AutoFix turns a plain-language request such as “printer stuck” or “disk full” into a diagnosis, a clearly stated fix and a re-check. Nothing changes until you type YES, and every step is written to a local log.

Download AutoFix · ZIP

Free · No signup · Python 3.8+ · Windows, macOS, Linux

How a request is handled

  1. RequestType the problem in English or Chinese.
  2. DiagnoseA read-only check confirms whether the problem exists.
  3. ApproveThe exact command is shown. Type YES to apply.
  4. Re-check & logThe check runs again and the result is logged.

Installs itself, then checks everything

Open the launcher once. AutoFix installs itself in your user folder, adds an autofix command, and runs a read-only check of this computer’s security and network connection. It saves a report, then offers a fix for each problem it can repair — one YES at a time.

It checks this computer and its connection only — it does not scan other devices on your network. Findings it cannot fix safely, such as encryption or updates, come with clear advice. Run as administrator for the most complete results.

Supported issues

DNS

Websites will not load

Flushes the DNS cache, then checks name lookup again.

NETWORK

No internet / cloud connection

Checks direct and proxy connections. Windows renews the IP address, macOS renews DHCP, Linux restarts NetworkManager. Refused inside SSH or Remote Desktop.

DISK

Disk is full

Removes your own temporary files older than seven days. Files in use are skipped.

TIME

Clock wrong / certificate errors

Resynchronises the system clock with the operating system’s time service.

PRINT

Printer queue stuck

Windows: restarts the print spooler. macOS/Linux: cancels your queued jobs.

FIREWALL

Firewall is off

Turns the firewall on: Windows Firewall, the macOS firewall, or firewalld/ufw on Linux. Refused inside SSH or Remote Desktop.

Connect to the cloud — only after it is verified

API

Link an AI service

Link any OpenAI-compatible service, or a local model. AutoFix sends a test request and saves the link only if it succeeds. Then, when your description matches no keyword, the AI picks one of the six fixes. It can never supply its own commands.

autofix.py --link-api https://api.openai.com/v1 --model gpt-4o-mini

MCP

Let an AI assistant call it

Add AutoFix to an MCP-capable assistant such as Claude Desktop or an IDE agent. The assistant can list issues, run diagnoses and the security check. It can apply fixes only if you start AutoFix with --allow-fixes, and the administrator-rights and remote-session checks still apply.

{"command": "python3", "args": ["/path/autofix.py", "--mcp"]}

Use --status to see the link and proxy, --verify to test it again, --unlink to remove it, and --offline to never contact the cloud. The key is stored only in your user folder.

Run it

  1. Windows. Extract the ZIP and double-click Start AutoFix.bat. It also runs from a network share, and it uses your office proxy and Windows certificates automatically. For network, time, printer and firewall fixes, right-click it and choose Run as administrator.
  2. Mac. Open Start AutoFix.command. DNS, network, time and firewall fixes need sudo autofix in Terminal.
  3. Linux. Run sh start-autofix.sh, then sudo autofix for DNS, time and firewall fixes. The network fix uses NetworkManager. Use --dry-run to check without changing anything.
Read the complete source code →
What this beta does — and does not do

AutoFix covers six common causes with fixed, reviewed commands and runs a read-only security check. It is not a monitoring agent, does not run in the background and does not scan other devices. It has been tested on Linux, including the install, the security check with simulated system tools, the API link against a stand-in service and an MCP session; Windows, macOS, real cloud providers and specific AI assistants have not been verified yet. Try it on one machine before using it across a fleet.