Web Fetch
With a URL in hand:
- Static page text:
./ax <url>; run ./ax agent-context for the full agent-facing guide
- X/Twitter, Bluesky, YouTube posts/transcripts:
./tgrab <url>; ./tgrab --help carries the agent contract
Searching, in this order:
exa — semantic search with filters, plus extraction in the same call. Default choice: one HTTP round trip, and it returns sources to judge rather than a conclusion to trust. references/exa.md
grok -p "<prompt>" — tweet search; it has the native X index. Feed the URLs it returns to ./tgrab when full content is needed.
codex — escalation, not a first stop: use the environment-appropriate Codex path when the question needs multi-step digging or synthesis across sources, when exa's results are ambiguous and an independent reading helps, or when the 1Password key exa needs is unavailable. references/codex.md
If ax or tgrab fails, fall back to the host's web fetch/search tool or curl.
A browser is the last resort, only for a page the tools above cannot read — JavaScript rendering, a login, or interaction. Which browser to reach for, in order: references/browser.md.
Delegate the reading, not only the fetching: hand the whole task to the
environment-appropriate path in the ask-codex skill. Inside Codex Desktop or
Codex CLI, use a native subagent; outside Codex, use codex exec. Either path
searches on the Codex subscription and returns a digest, so whole pages and JSON
payloads never enter this context. Two things stay here: exa, whose 1Password
key no sandbox mode reaches, and anything wanted verbatim, such as the exa docs
pages above, where a digest rewrites the exact names you came for.
1---2name: web-fetch3description: Fetches and searches web content with ax, tgrab, grok, codex, and exa. Use for text from a URL, web/tweet/semantic search, or social/video content.4---56# Web Fetch78With a URL in hand:910- Static page text: `./ax <url>`; run `./ax agent-context` for the full agent-facing guide11- X/Twitter, Bluesky, YouTube posts/transcripts: `./tgrab <url>`; `./tgrab --help` carries the agent contract1213Searching, in this order:14151. `exa` — semantic search with filters, plus extraction in the same call. Default choice: one HTTP round trip, and it returns sources to judge rather than a conclusion to trust. [references/exa.md](references/exa.md)162. `grok -p "<prompt>"` — tweet search; it has the native X index. Feed the URLs it returns to `./tgrab` when full content is needed.173. `codex` — escalation, not a first stop: use the environment-appropriate Codex path when the question needs multi-step digging or synthesis across sources, when exa's results are ambiguous and an independent reading helps, or when the 1Password key exa needs is unavailable. [references/codex.md](references/codex.md)1819If `ax` or `tgrab` fails, fall back to the host's web fetch/search tool or `curl`.2021A browser is the last resort, only for a page the tools above cannot read — JavaScript rendering, a login, or interaction. Which browser to reach for, in order: [references/browser.md](references/browser.md).2223Delegate the reading, not only the fetching: hand the whole task to the24environment-appropriate path in the `ask-codex` skill. Inside Codex Desktop or25Codex CLI, use a native subagent; outside Codex, use `codex exec`. Either path26searches on the Codex subscription and returns a digest, so whole pages and JSON27payloads never enter this context. Two things stay here: `exa`, whose 1Password28key no sandbox mode reaches, and anything wanted verbatim, such as the exa docs29pages above, where a digest rewrites the exact names you came for.