Agent capability

refactor

Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

MIT Compatible agent runtimes 3 files 18,463 bytes

Runtime provisioning

Provision this capability

The provisioning flow resolves the versioned manifest, verifies every SHA-256 digest, and applies the package atomically.

Shared Agent Skills

User scope: ~/.agents/skills/refactor

curl -fsSLo /tmp/mm-skills-install.sh __MM_RUNTIME_ORIGIN__/install.sh && bash /tmp/mm-skills-install.sh refactor --client agents --scope user --registry __MM_RUNTIME_ORIGIN__

Codex

User scope: ~/.agents/skills/refactor

curl -fsSLo /tmp/mm-skills-install.sh __MM_RUNTIME_ORIGIN__/install.sh && bash /tmp/mm-skills-install.sh refactor --client codex --scope user --registry __MM_RUNTIME_ORIGIN__

OpenCode

User scope: ~/.config/opencode/skills/refactor

curl -fsSLo /tmp/mm-skills-install.sh __MM_RUNTIME_ORIGIN__/install.sh && bash /tmp/mm-skills-install.sh refactor --client opencode --scope user --registry __MM_RUNTIME_ORIGIN__

Antigravity

User scope: ~/.gemini/config/skills/refactor

curl -fsSLo /tmp/mm-skills-install.sh __MM_RUNTIME_ORIGIN__/install.sh && bash /tmp/mm-skills-install.sh refactor --client antigravity --scope user --registry __MM_RUNTIME_ORIGIN__
Windows PowerShell
$installer = Join-Path $env:TEMP 'mm-skills-install.ps1'; Invoke-WebRequest '__MM_RUNTIME_ORIGIN__/install.ps1' -OutFile $installer; & $installer -Skill 'refactor' -Client 'agents' -Scope 'user' -Registry '__MM_RUNTIME_ORIGIN__'

Artifact integrity

Versioned package contents

Inspect manifest
PathBytesSHA-256
LICENSE.txt 1,059 e32449d23085399a…
SKILL.md 16,843 58a38edd230cdcdd…
SOURCE.md 561 8ba79ce0c75275f0…