docs(skills): restore and rewrite opencli-usage as orientation skill#1128
Merged
docs(skills): restore and rewrite opencli-usage as orientation skill#1128
Conversation
The original opencli-usage skill was deleted in PR #1094 as part of the skill consolidation, but its role (top-level orientation to what opencli is, how to discover adapters, what flags/env/formats are universal, and which specialized skill to load next) was not covered elsewhere. Restore it, but deliberately NOT as a verbatim copy: - Drop the hand-maintained 100-adapter table. There are 100+ adapters and the list moves every week — `opencli list -f json` is the source of truth agents should call at the start of a task. - Replace it with the meta-structure agents actually need: the three pillars (adapters / browser driving / external CLI passthrough), the strategy tags (PUBLIC | COOKIE | HEADER | INTERCEPT | UI | LOCAL) and what each implies for prerequisites, universal flags (-f, -v), output formats, env vars, self-repair hook, adapter authoring paths, plugins, external CLI passthrough. - Explicitly list the commands PR #1094 removed (`explore`, `record`, `web` / `desktop` top-level groups) so agents don't attempt them. - Cross-link to the four post-consolidation skills: opencli-browser (ad-hoc driving), opencli-adapter-author (writing adapters), opencli-autofix (repair flow), smart-search (search routing). Adapter-author description updated to stop claiming it replaces opencli-usage.
- validate: describe as registry-level semantic check (description, domain, pipeline step names, func|pipeline|_lazy presence, arg duplicates), not YAML/TS syntax check — matches src/validate.ts - doctor: narrow to browser-bridge diagnostic; PUBLIC/LOCAL adapters, list, validate, verify, plugins, and external-CLI passthrough do not need it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skills/opencli-usage/SKILL.md, deleted in refactor: consolidate 6 skills into 3, remove mechanical commands #1094. Its role — top-level orientation to what opencli is, how to discover adapters, what flags/env/formats are universal, and which specialized skill to load next — was not covered by any of the 3 post-consolidation skills. Per @WAWQAQ's follow-up to docs(skills): restore and upgrade opencli-browser skill #1119, this was an unintended removal.opencli list -f jsonas the source of truth, instead of hardcoding a table.PUBLIC | COOKIE | HEADER | INTERCEPT | UI | LOCAL) and what each implies for prerequisites, universal flags (-f,-v), output formats, env vars, self-repair hook, adapter authoring paths, plugins, external CLI passthrough.explore,record,web/desktoptop-level groups) so agents don't try to invoke them.opencli-browser,opencli-adapter-author,opencli-autofix,smart-search.opencli-adapter-authordescription to stop claiming it replacesopencli-usage.167 lines vs. the old 247 — smaller, and every claim is cross-checked against
src/cli.ts,src/external.ts,src/output.ts,src/electron-apps.ts,src/doctor.ts,src/discovery.ts. Sibling PR for reference: #1119 (opencli-browser restore).Test plan
name/description/allowed-tools).opencli-adapter-authordescription aligned.