CommunityCoding & Developmentgithub.com

jackwener/smart-search

An intelligent search router based on the opencli command. Use this skill whenever the user wants to search, query, look up, or research information using OpenCLI, CLI, or API, especially when it involves specific websites, social media, technical resources, news, shopping, travel, job hunting, finance, or Chinese content.

What is smart-search?

The jackwener/smart-search skill is designed for AI agents (such as Claude Code, Cursor, or Codex) to act as an intelligent search router. It leverages the opencli command to handle complex search and query tasks across diverse domains and platforms. This skill is particularly useful when the user needs to search or research information from specified websites, social media, technical documentation, news, shopping platforms, travel sites, job listings, financial data, or Chinese-language content. By routing the query through opencli, it dynamically identifies the relevant source and executes targeted searches, making it a versatile tool for developers and power users who need to access a wide range of online information directly from their command-line or AI agent environment.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jackwener/opencli/tree/main/skills/smart-search

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does smart-search do?

An intelligent search router based on the opencli command. Use this skill whenever the user wants to search, query, look up, or research information using OpenCLI, CLI, or API, especially when it involves specific websites, social media, technical resources, news, shopping, travel, job hunting, finance, or Chinese content.

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

jackwener/opencli-adapter-author

Use when writing an OpenCLI adapter for a new site or adding a new command to an existing site. Guides end-to-end from first recon through field decoding, adapter coding, and verify. Replaces opencli-oneshot / opencli-explorer. For ad-hoc browser driving (no adapter), see opencli-browser instead; for a top-level orientation to opencli, see opencli-usage.

jackwener/opencli-autofix

Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.

jackwener/opencli-browser

Use when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers the selector-first target contract, compound form fields, stale-ref handling, network capture, and the agent-native envelopes the CLI returns. Not for writing adapters — see opencli-adapter-author for that.

jackwener/opencli-explorer

Use when creating a new OpenCLI adapter from scratch, adding support for a new website or platform, exploring a site's API endpoints via browser DevTools, or when a user asks to automatically generate a CLI for a website (e.g. "帮我生成 xxx.com 的 cli"). Covers automated generation, API discovery workflow, authentication strategy selection, TS adapter writing, and testing.

jackwener/opencli-oneshot

Use when quickly generating a single OpenCLI command from a specific URL and goal description. 4-step process — open page, capture API, write TS adapter, test. For full site exploration, use opencli-explorer instead.

jackwener/opencli-operate

Make websites accessible for AI agents. Navigate, click, type, extract, wait — using Chrome with existing login sessions. No LLM API key needed.

jackwener/opencli-usage

Use at the start of any OpenCLI session — this is the top-level map of what `opencli` can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can opencli do?" or "how do I find the right command?".

Related Skills