jackwener avatar

Opencli Adapter Author

If you need to write a new OpenCLI adapter or add commands to an existing one, this skill walks you through the full loop: recon, API discovery, field decoding, adapter coding, and verify. It replaces opencli-oneshot and opencli-explorer with a 30-minute end-to-end workflow using existing opencli browser commands. The runbook is meticulous, covering five site patterns (A through E), auth strategies from PUBLIC to INTERCEPT, field decoding playbooks for cryptic API keys, and a decision tree that routes you through endpoint verification, fixture validation, and site memory updates. The降级 paths table is genuinely useful when you hit 401s or empty network logs. It's opinionated about trace flags and strongly encourages eyeball verification against the actual webpage, not just passing verify.

skills.sh installs
16.5K
GitHub stars
31K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/jackwener/opencli
Categories
Documentation, Automation & Workflows
First seen
May 16, 2026

More from jackwener/opencli

All 11
1antfu avatarunocssantfu/skillsUnoCSS instant atomic CSS engine, superset of Tailwind CSS. Use when configuring UnoCSS, writing utility rules, shortcuts, or working with presets like Wind, Ic16.3Kskills.sh installs
2yuan1z0825 avatarnature-datayuan1z0825/nature-skillsPrepare, audit, or revise Nature-ready Data Availability statements, data repository plans, dataset citations, and FAIR metadata checklists for manuscripts. Use16.2Kskills.sh installs
3wshobson avatarsolidity-securitywshobson/agentsMaster smart contract security best practices to prevent common vulnerabilities and implement secure Solidity patterns. Use when writing smart contracts, auditi15.8Kskills.sh installs
4github avatarjavascript-typescript-jestgithub/awesome-copilotBest practices for writing JavaScript/TypeScript tests using Jest, including mocking strategies, test structure, and common patterns.14.5Kskills.sh installs
5wshobson avatarbash-defensive-patternswshobson/agentsMaster defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring14.1Kskills.sh installs
6wshobson avatarprotocol-reverse-engineeringwshobson/agentsMaster network protocol reverse engineering including packet analysis, protocol dissection, and custom protocol documentation. Use when analyzing network traffi13.5Kskills.sh installs