joeseesun avatar

Qiaomu Opencli Autofix

When an opencli adapter breaks because a website changed its DOM or API, this walks you through the repair loop: run the command with OPENCLI_DIAGNOSTIC=1 to get a snapshot, explore the live site with opencli browser to find what moved, patch the adapter source at the exact path it gives you, and retry. It has hard stops for auth and connectivity issues so you don't waste rounds fixing the wrong thing. The 3-retry budget and the "empty doesn't mean broken" section are smart touches. Most useful when you're maintaining adapters for sites that redesign frequently and you'd rather teach Claude to fix them than do it yourself every time.

skills.sh installs
994
GitHub stars
998
last updated
Aug 21, 2026

Install

$ npx -y skills add joeseesun/qiaomu-opencli-skills --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/qiaomu-opencli-skills
Categories
AI & Agent Building, Debugging
First seen
Jun 3, 2026

More from joeseesun/qiaomu-opencli-skills

All 6
1daymade avatargithub-contributordaymade/claude-code-skillsEnd-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, mini991skills.sh installs
2tencentcloudbase avatarcloudrun-developmenttencentcloudbase/skillsCloudBase Run backend development rules (Function mode/Container mode). Use this skill when deploying backend services that require long connections, multi-lang988skills.sh installs
3tencentcloudbase avatarhttp-api-cloudbasetencentcloudbase/skillsCloudBase official HTTP API client guide. This skill should be used when backends, scripts, or non-SDK clients must call CloudBase platform APIs over raw HTTP i982skills.sh installs
4guia-matthieu avatarwhisper-transcriptionguia-matthieu/clawfu-skillsTranscribe audio and video files to text using OpenAI Whisper. Use when: converting podcasts to blog posts; creating video subtitles; extracting quotes from int980skills.sh installs
5andreev-danila avatarreanimated-skia-performanceandreev-danila/skillsWrite and review high-performance React Native animations and 2D graphics using react-native-reanimated (v4+) and @shopify/react-native-skia (Canvas scenes, run974skills.sh installs
6mlflow avatarquerying-mlflow-metricsmlflow/skillsFetches aggregated trace metrics (token usage, latency, trace counts, quality evaluations) from MLflow tracking servers. Triggers on requests to show metrics, a959skills.sh installs