An r/codex post: web research inside Claude Code/Codex blocks the agent or dumps 10K tokens. Comet Skill delegates. This walks the setup.
Prerequisites
- Perplexity Pro subscription
- Comet desktop installed and signed in
- Claude Code or Codex CLI
- Scavio API key
Walkthrough
Step 1: Clone Comet Skill repo
github.com/ammarshah1n/comet-skill.
git clone https://github.com/ammarshah1n/comet-skill.git
cd comet-skillStep 2: Install per repo README
Small Node/Python install + CDP setup.
// Follow repo's install steps.Step 3: Verify Comet desktop is running with logged-in Pro session
CDP connects to the open browser instance.
// Open Comet, verify Pro account is signed in.Step 4: Attach Scavio MCP for fast typed lookups
Pair Comet (deep research) with Scavio (fast typed search).
claude mcp add scavio https://mcp.scavio.dev/mcp --header 'x-api-key: $SCAVIO_API_KEY'Step 5: System prompt routing rule
Explicit.
// CLAUDE.md: 'For fast typed lookups call scavio.search. For deep multi-step research call comet_research; do NOT block waiting.'Step 6: Test the flow
Trigger a deep research request.
// 'Research the current state of long-horizon agent infrastructure. Use comet_research; don't block.'Step 7: Verify agent stays unblocked
Comet returns a /search/<id> URL fast.
// Watch Claude's tool log: comet_research returns within seconds.Python Example
# Cost: $0 marginal API on deep research (uses Pro). Scavio $30/mo for fast lookups.JavaScript Example
// Same setup.Expected Output
Claude Code with two clearly-named research tools: scavio.search (fast typed JSON) and comet_research (delegated, returns URL).