k-mechanic
Installation
SKILL.md
Mechanic Development Hub
Mechanic combines a desktop tool and two in-game addons. Agents use it through MCP; people also use the CLI and the web dashboard.
Architecture
Mechanic Desktop (desktop/) commands.list = the single registry
MCP server (mech mcp) CLI (mech) Dashboard (/dashboard/, same commands via /api/execute)
| reads !Mechanic.lua (SavedVariables holding MechanicDB, one file per account)
| writes MechanicQueue.lua (Lua / API test queue) into the !Mechanic addon folder
!Mechanic (bootstrap, loads first) owns MechanicDB, MechanicLib-1.0, queue execution
Mechanic (main addon, /mech) Console, Errors, Tests, Inspect, Performance, Tools, API
SavedVariables are written by the game on /reload or logout, so desktop reads are only fresh after a confirmed reload (using-mechanic).