jakevin
|
bb137ce901
|
feat: add opencli operate — browser control commands for Claude Code skill (#614)
Add `opencli operate` subcommand group with 15+ commands for
step-by-step browser control, designed as a Claude Code skill.
No LLM API key needed — Claude Code IS the LLM.
Commands:
Navigation: open, back, scroll
Inspect: state, screenshot, get (title/url/text/value/html/attributes)
Interact: click, type, select, keys
Wait: wait selector/text/time
Extract: eval (execute JS in page context)
API Discovery: network (auto-captured since last open, --detail N)
Sedimentation: init (generate adapter scaffold), verify (test adapter)
Session: close
Infrastructure:
- CDP passthrough with 22-method allowlist
- Two-layer retry for extension interference (aggressive for operate:*)
- Network interceptor auto-injected on operate open
- node_modules symlink for user TS adapter imports
Skill: skills/opencli-operate/SKILL.md
- Complete command reference
- Sedimentation workflow guide (explore → network → init → verify)
- Adapter strategy guide (PUBLIC/COOKIE/UI)
- Dual quickstart (AI Agent 1 step / Human 3 steps)
|
2026-04-02 19:30:35 +08:00 |
|