Session Persistence
Medium
- Category
- Rogue Agent
- Content
--- name: opencli-autofix description: Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent. allowed-tools: Bash(opencli:*), Bash(gh:*), Read, Edit, Write --- # OpenCLI AutoFix — Automatic Adapter Self-Repair
- Confidence
- 83% confidence
- Finding
- The skill is granted Edit and Write capabilities and instructs the agent to automatically patch adapter code, including files under user-local paths such as ~/.opencli/clis/<site>/. Even though the text tries to constrain edits to adapterSourcePath, that path is derived from trace content and the workflow still enables persistent modification of executable code without an explicit user approval gate before each change, creating risk of unintended or adversarial persistence.
