AI agent skill · by @ryoppippi
Web Fetch
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.
Archived 2026-10-23 · Source updated 2026-09-19 · License: MIT. Check the original repository for the latest version.
SKILL.md instructions
# 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: 1. `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) 2. `grok -p "<prompt>"` — tweet search; it has the native X index. Feed the URLs it returns to `./tgrab` when full content is needed. 3. `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) 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](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.