joeseesun avatar

Qiaomu Opencli Autofix

When an OpenCLI adapter breaks because a website changed its DOM or API, this walks you through diagnostic mode, shows you how to patch the specific adapter file, and retries the command. It enforces safety boundaries (stops on auth errors, never touches core source files, max 3 repair rounds) and helps you distinguish real breakage from normal "empty result" responses that look broken but aren't. The workflow is systematic: run with OPENCLI_DIAGNOSTIC=1 to get a JSON context dump, use opencli browser to explore what changed, edit the adapter at the exact path it gives you, verify. Useful if you're running OpenCLI commands in automation and want to self-heal adapter drift instead of waiting for upstream fixes.

skills.sh installs
500
GitHub stars
962
last updated
Jul 14, 2026

Install

$ npx -y skills add joeseesun/opencli-skill --skill qiaomu-opencli-autofix --agent claude-code

Installs into .claude/skills of the current project.

Files

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/<site>/ in repo or ~/.opencli/clis/<site>/ for npm installs)
  • Never modify src/, extension/, tests/, package.json, or tsconfig.json

Retry budget: Max 3 repair rounds per failure. If 3 rounds of diagnose → fix → retry don't resolve it, stop and report what was tried.

Prerequisites

opencli doctor    # Verify extension + daemon connectivity

When to Use This Skill

Sponsors

Details

Repository
github.com/joeseesun/opencli-skill
First seen
Jun 3, 2026

More from joeseesun/opencli-skill

All 7

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs