Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 92
  • 31k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity 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-author

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install opencli-adapter-author in Claude Code

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 →

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.

opencli-adapter-author Install

Add to stack

Loading.