Spoon94/skill-vault / opencli
opencli
VerifiedOpenCLI 全能助手 - 把任意网站/Electron 应用变成 `opencli <site> <command>` 的统一操作面。当 agent 要读写已登录网站、驱动真实浏览器、抓取页面、填表点击、修复失效适配器、给新站点写适配器、或把搜索/查询路由到最佳数据源时,都用这个 skill。这是合并了 5 个官方 opencli 子技能(usage/browser/adapter-author/autofix/smart-search)的统一入口,按任务类型路由到对应章节或 reference。
references/adapter/strategy-selection.md
View on GitHub# Choosing an adapter strategy
Use the site's available contract and the task's needs to choose an implementation.
This reference is optional; no strategy note or classification artifact is required.
| Source | Useful when | Check |
| --- | --- | --- |
| Public API | A documented endpoint covers the task | Inputs, authentication, pagination and error semantics |
| Cookie-authenticated API | The endpoint works with the current account | Cookie/CSRF scope and real returned identity |
| Page state / SSR | The page already contains the required data | Field meaning, completeness and hydration timing |
| Semantic UI | The visible controls express the operation reliably | Stable selectors, target identity and observable result |
| Browser fetch | The request needs page origin or runtime context | Actual request parameters and response meaning |
| Network interception | The page produces a request that is difficult to reproduce | The captured response belongs to the intended action and input |
There is no universal API-over-DOM rule. A stable visible control can be easier to
maintain than an undocumented internal endpoint. Reuse an existing adapter or
shared helper when it already models the same operation.
## Gather facts as needed
```sh
opencli browser state --diagnostics --session research
opencli browser network --static --session research
opencli browser network --detail RequestKey --session research
```
Read `data` from the success envelope. Page diagnostics expose title, URL and
initial-state globals. Network evidence provides captured request keys, response
shapes and static source locations. `static` is a candidate; `network+static`
means both sources support the route. Neither proves business correctness.
The CLI does not assign a strategy score or prescribe the next action.
Check representative values against the visible page. For lists, distinguish a
true end of pagination from a failed or partial response. For writes, bind the
operation to the requested target and inspect its result; do not replay an action
whose previous outcome is unknown.
If an endpoint needs a runtime-generated signature, consider observing the page's
own request or using semantic UI. Use `references/api-discovery.md` for techniques
and `references/deep-recon.md` when the protocol requires further investigation.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |