A Codex-first adaptation of
insane-searchfor stubborn web access, public endpoint discovery, and browser fallback.
Codex Insane Search packages a practical search-and-fetch workflow for Codex:
- try lightweight public access first
- use platform-specific public endpoints when they are better than scraping
- fall back to a real browser only when the cheap paths fail
- stay honest about login walls, paywalls, and blocked content
This repo ships both:
- a Codex plugin at
plugins/insane-search - a local install script for immediate personal use on Windows
flowchart TD
A["User asks Codex to fetch blocked content"] --> B["Phase 0: Known public endpoints"]
B --> C["Phase 1: Lightweight fetches"]
C --> D["Jina Reader / direct page / metadata"]
D --> E{"Still blocked?"}
E -- "Yes" --> F["Phase 2: Alternate URLs / RSS / archive / public APIs"]
E -- "No" --> Z["Return structured result"]
F --> G{"Still blocked or JS-heavy?"}
G -- "Yes" --> H["Phase 3: Playwright browser fallback"]
G -- "No" --> Z
H --> I{"Login or paywall?"}
I -- "Yes" --> J["Report authentication required"]
I -- "No" --> Z
The original insane-search repo is a strong idea, but it is shaped around Claude-specific plugin semantics and shell assumptions.
This Codex version fixes the parts that matter for real use:
- consistent 4-phase model instead of mixed 4/5-phase wording
- corrected Jina Reader rate-limit guidance
- Windows-friendly local install path for Codex
- PowerShell-first examples instead of bash-only assumptions
- Codex tool guidance for
web, Playwright, and shell workflows
| Path | Purpose |
|---|---|
plugins/insane-search/.codex-plugin/plugin.json |
Plugin manifest |
plugins/insane-search/skills/insane-search/SKILL.md |
Main Codex skill |
plugins/insane-search/skills/insane-search/references/ |
Search strategy reference docs |
scripts/install-local.ps1 |
Local install for your Codex environment |
scripts/uninstall-local.ps1 |
Local uninstall |
scripts/validate.ps1 |
Smoke-check for manifests and file layout |
.agents/plugins/marketplace.json |
Repo-local marketplace entry |
git clone https://github.com/sinmb79/codex-insane-search.git
cd codex-insane-search
powershell -ExecutionPolicy Bypass -File .\scripts\install-local.ps1What the installer does:
- Creates a junction from your local repo plugin to
~/plugins/insane-search - Adds or updates the plugin entry in
~/.agents/plugins/marketplace.json - Leaves your repo as the source of truth, so local edits stay live
After installation, restart Codex and ask naturally:
Summarize this Medium articlePull the latest tweets from @openaiRead this Naver blog postGet the top Hacker News stories with scoresExtract metadata from this blocked product page
- This plugin does not defeat authentication. If a site requires login, Codex should say so.
- Browser fallback is expensive. The skill is designed to prefer cheap methods first.
- Public endpoint stability changes over time. The references are intentionally pragmatic, not theoretical.
Run:
powershell -ExecutionPolicy Bypass -File .\scripts\validate.ps1- Original inspiration: fivetaku/insane-search
- Jina Reader docs: jina.ai/reader
- Official Hacker News API: github.com/HackerNews/API
This repository is an original Codex-oriented rewrite, but it was informed by a small set of public GitHub references:
fivetaku/insane-search: the main product and workflow inspiration for the blocked-web access ideaHackerNews/API: the official reference for Hacker News public endpoint behavior used in the docs
No external repository code is vendored here. The implementation, manifest shape, PowerShell install flow, and Codex skill packaging were rebuilt for the Codex plugin workflow.