Skip to content
jackwener avatar

Opencli Autofix

opencli-autofix: diagnoses failing OpenCLI adapters from trace artifacts, patches them, and files upstream issues.

CCM score
74 of 100
skills.sh installs
18.2K
GitHub stars
31.4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers a four-stage repair loop: trace collection, failure analysis, live site exploration with opencli browser, and a targeted adapter patch
  • Enforces hard stops on AUTH_REQUIRED (exit 77) and BROWSER_CONNECT (exit 69), plus a cap of three repair rounds per failure
  • Restricts edits to the single adapter file at adapterSourcePath, never touching src/, extension/, tests/, or config files
  • Designed for agents that hit broken opencli commands on sites whose DOM, API, or response schema has changed

Install

$ npx -y skills add jackwener/opencli --skill opencli-autofix -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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 adapterSourcePath in the trace summary.md front matter — 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

Details

Repository
github.com/jackwener/opencli
Categories
Browser Automation & Scraping, CLI & Terminal
First seen
Apr 16, 2026

More from jackwener/opencli

All 7

Similar to Opencli Autofix

More Browser Automation & Scraping