grandamenium/cortextos/opencli

Claude Code and agent skill by grandamenium/cortextos

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Turn any website into a CLI command by driving Chrome's live session. Use when you need structured data from a site that has no API or where the API is inadequate — reads the browser's actual session (logged-in state, cookies) to extract data. Requires Chrome + Browser Bridge extension setup (one-time).

Install

npx vskill@latest install grandamenium/cortextos/opencli

SKILL.md

The same SKILL.md was published earlier as grandamenium/cortextos/opencli.

OpenCLI — Turn Websites Into CLI Commands

Converts any website into a deterministic CLI by driving Chrome's live session. No credentials stored — reuses whatever Chrome is already logged into.

Prerequisites (One-Time Setup)

OpenCLI requires a Chrome extension to bridge between the CLI and the browser.

1. Install the Browser Bridge extension
bash
# Check if already set up
opencli doctor

If not connected:

  1. Download the extension from: https://github.com/jackwener/opencli/releases (look for browser-bridge-extension.zip)
  2. Open Chrome → chrome://extensions → enable Developer Mode
  3. Click Load unpacked → select the extracted extension folder
  4. Run opencli doctor — should show [OK] Extension: connected
2. Log into target sites in Chrome

OpenCLI uses Chrome's existing session. Navigate to the target site in Chrome and log in before running any command.

3. Verify
bash
opencli doctor
# Expected:
# [OK] Daemon: running on port 19825
# [OK] Extension: connected
# [OK] Connectivity: ok

Core Commands

CommandWhat it does
opencli doctorDiagnose extension connectivity
opencli explore <url>Discover APIs, data stores, and recommended strategies
opencli generate <url>One-shot: explore → synthesize → verify → register adapter
opencli cascade <url>Probe public endpoints before committing to session-based approach
opencli browserDirect page control — navigate, click, type, extract
opencli record <url>Capture API calls from live session → generate YAML candidates
opencli listList all available adapters (87+ built-in)

Adapter Generation Workflow

Use this to build a new adapter for any site:

bash
# Step 1: Explore — discover what the site exposes
opencli explore https://app.example.com \
--goal "read maintenance work orders and their comments"
# Step 2: Generate — build and register the adapter
opencli generate https://app.example.com \
--goal "list open work orders with latest comment"
# Step 3: Use it
opencli <adapter-name> list-orders
opencli <adapter-name> get-comments --meld-id 12345
Record-then-synthesize (alternative for complex auth flows)
bash
# Record API calls from your live session
opencli record https://app.example.com
# Perform the actions manually in Chrome while recording
# Stop recording — synthesize converts captured calls to adapter
opencli synthesize propertymeld

Property Meld Adapter Blueprint

Goal: Read meld comments (replacing pm-get-comments.py Playwright script)

Status: Blueprint ready. Requires Chrome extension setup + PropertyMeld login in Chrome to complete.

When extension is connected, run:
bash
# Explore what PropertyMeld exposes
opencli explore https://app.propertymeld.com \
--goal "read meld work orders and associated comments/notes"
# Generate the adapter
opencli generate https://app.propertymeld.com \
--goal "list open melds with latest comment for triage"
Expected adapter commands (once generated):
bash
# List open melds
opencli propertymeld list-melds --status open
# Get comments on a specific meld
opencli propertymeld get-comments --meld-id 12345
# Triage summary (all open melds with latest comment)
opencli propertymeld triage --format json
PropertyMeld API endpoints to target during recording

Based on existing Playwright scripts, these endpoints carry the relevant data:

EndpointData
/api/v2/melds/Work order list, status, assignee, property
/api/v2/melds/{id}/comments/Meld comments and notes
/api/v2/melds/{id}/Single meld detail

Tip: Use opencli record while navigating the Melds page and opening a meld — it captures the actual API calls Chrome makes, which is more reliable than guessing endpoints.


Browser Control (no adapter needed)

For one-off browser interactions without building an adapter:

bash
# Open a session
opencli browser
# Navigate
> navigate https://app.propertymeld.com/melds/
# Extract text from current page
> extract .meld-list-item
# Click a button
> click "View Details"
# Wait for element
> wait .comments-panel
# Get structured data
> extract table --format json

Using Built-In Adapters

87+ adapters ship out of the box:

bash
opencli list # see all
opencli gh pr list # GitHub (wraps gh CLI)
opencli obsidian list # Obsidian vault

Output Formats

All commands support structured output:

bash
opencli propertymeld list-melds --format json
opencli propertymeld list-melds --format csv
opencli propertymeld list-melds --format table # default

Notes

  • Session-backed: if Chrome logs out, commands return empty data
  • Zero LLM cost at runtime — adapters are pre-compiled YAML + JS
  • Additive: does not replace existing Playwright scripts; use alongside them
  • opencli cascade first if unsure whether the site has public API endpoints (no extension needed for public routes)

OpenCLI v1.7.3. Daemon runs on port 19825. `opencli doctor` is the first debugging step for any connectivity issue.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
78
Repository forks
96
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 15 Jul 2026, 4 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/grandamenium/cortextos/opencli/badge)](https://verified-skill.com/skills/grandamenium/cortextos/opencli)

Something wrong with this skill or its page? Tell us.