opencli-adapter-author
Skill by jackwener
Builds or improves OpenCLI JavaScript adapters from observed site behavior, existing adapters and browser network evidence. It is for developers who write site commands for the OpenCLI CLI.
Install opencli-adapter-author
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jackwener/OpenCLI /tmp/OpenCLI && mkdir -p ~/.claude/skills && cp -r /tmp/OpenCLI/skills/opencli-adapter-author ~/.claude/skills/opencli-adapter-authorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jackwener/OpenCLI /tmp/OpenCLI && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/OpenCLI/skills/opencli-adapter-author ~/.gemini/antigravity-cli/skills/opencli-adapter-authorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install opencli-adapter-author in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through writing or improving an OpenCLI JS adapter. It starts by checking whether an existing site adapter already covers the task. It then uses browser captures, static script analysis and replayed read requests to find the right endpoint or page behavior, and compares business data with what the page shows.
The skill covers the adapter file layout, the cli({...}) interface, and the check and test commands. It also covers typed errors, access settings and fixtures. Repository changes should include focused tests, a typecheck and a build. It is aimed at developers who maintain OpenCLI site adapters.
Written from the project's SKILL.md and checked against it.
What it can do
- Find existing adaptersLists site commands and shows their help so the assistant can reuse an adapter that already fits.
- Investigate browser evidenceUses browser state, network captures and static analysis to find candidate requests and page data.
- Write JS adaptersCreates adapter files under the OpenCLI clis folder using the cli({...}) interface.
- Check and test adaptersRuns adapter check and adapter test, with optional fixture comparison and trace output.
- Guard write commandsAdvises against replaying writes with unknown outcomes and points to test accounts or dry runs.
What you need
- OpenCLI CLI with the opencli command
- Node.js for running adapters
Try asking
- Write an OpenCLI adapter for the search endpoint on this site
- Check and test my new example/search adapter
- Find out which network request loads the item list for this page
Good to know
- Write commands have real effects, including when run through adapter test
- Repository changes also need focused tests, a typecheck and a build
Security check
B- Allowed to use Edit, Write without limitsIn
SKILL.md
Checked automatically: skills/opencli-adapter-author/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(opencli:*)Bash(jsluice:*)ReadEditWriteGrep
-
SKILL.md4 KB -
references/adapter-template.md21 KB -
references/api-discovery.md17 KB -
references/coverage-matrix.md5 KB -
references/deep-recon.md10 KB
Show all 19 files
-
references/field-conventions.md5 KB -
references/field-decode-playbook.md7 KB -
references/jsdom-fixture-pattern.md8 KB -
references/output-design.md5 KB -
references/site-memory.md11 KB -
references/site-memory/bilibili.md4 KB -
references/site-memory/eastmoney.md4 KB -
references/site-memory/gmail.md3 KB -
references/site-memory/tonghuashun.md2 KB -
references/site-memory/xueqiu.md3 KB -
references/site-recon.md4 KB -
references/strategy-selection.md2 KB -
references/success-rate-pitfalls.md9 KB -
references/typed-errors.md13 KB
Alternatives to opencli-adapter-author
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
opencli-adapter-author: common questions
What does opencli-adapter-author do?
It helps an assistant build or improve OpenCLI JS adapters using observed site behavior, existing adapters and browser API evidence. The source says ad-hoc browser interaction belongs to opencli-browser instead.
Does it need a draft directory or memory file?
No. The source says adapters are ordinary files under the clis folder, and there is no draft directory, promotion step or required memory file.
How does it handle write commands?
The source warns that write commands have real effects, so it suggests a suitable test account or supported dry run. It also says not to replay a write with an unknown outcome before inspecting state.
How do I install opencli-adapter-author?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is opencli-adapter-author free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is opencli-adapter-author safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use edit, write without limits). Review the code before you install. How grades work.
What are alternatives to opencli-adapter-author?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
