jackwener avatar

Opencli Adapter Author

Guide for writing OpenCLI JS adapters from site recon through field decoding, coding, and verification.

skills.sh installs
16.6K
GitHub stars
31.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers recon with browser state and network captures, static script analysis, and replaying read requests against page data
  • Includes adapter init, adapter check, and adapter test commands plus optional references for templates, API discovery, and field decoding
  • Enforces access: 'read'|'write' accuracy and typed errors with hints, and warns against replaying writes with unknown outcomes
  • Designed for developers adding a new site or command to OpenCLI rather than driving the browser ad hoc

Install

$ npx -y skills add jackwener/opencli --skill opencli-adapter-author -y

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

Files

Adapter authoring

Choose the simplest implementation that reliably performs the requested task. Use an existing site adapter when it already covers the capability:

opencli list search --site example
opencli example search --help -f json

list returns {ok:true,data:{commands,total,nextOffset?}}; use --offset to continue, --limit to adjust page size. Detailed arguments belong in command help.

Evidence available to you

opencli browser open https://example.com --session research
opencli browser state --diagnostics --session research
opencli browser network --session research
opencli browser network --static --session research
opencli browser network --detail RequestKey --session research

Network captures describe observed requests. Static analysis adds candidates from loaded scripts without executing them. Inspect source locations, unresolved expressions and capture provenance. Replay read requests when useful and compare business data with the page. Write commands have real effects, including when run through adapter test; use a suitable test account or a supported dry-run.

Details

Repository
github.com/jackwener/opencli
Categories
Skill & Plugin Building, Browser Automation & Scraping
First seen
May 16, 2026

More from jackwener/opencli

All 7

Similar to Opencli Adapter Author

More Skill & Plugin Building