OpenCLI AutoFix — Automatic Adapter Self-Repair
When an
opencli
command fails because a website changed its DOM, API, or response schema,
automatically diagnose, fix the adapter, and retry
— don't just report the error.
Safety Boundaries
Before starting any repair, check these hard stops:
AUTH_REQUIRED
(exit code 77) —
STOP.
Do not modify code. Tell the user to log into the site in Chrome.
BROWSER_CONNECT
(exit code 69) —
STOP.
Do not modify code. Tell the user to run
opencli doctor
.
CAPTCHA / rate limiting
—
STOP.
Not an adapter issue.
Scope constraint:
Only modify the file at
RepairContext.adapter.sourcePath
— this is the authoritative adapter location (may be
clis/
qiaomu-opencli-autofix
安装
npx skills add https://github.com/joeseesun/qiaomu-opencli-skills --skill qiaomu-opencli-autofix