Web Research
Researchweb-researchWeb Research is an Agent Skill for research published in the pollinations/pollinations repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Query Pollinations text API with web-search models (gemini-search, perplexity-fast, nomnom, etc.). Use when you need web search grounded answers via Pollinations.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/pollinations/pollinations/blob/HEAD/.claude/skills/web-research/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/web-research, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Web Research
Available Models
- gemini-search — Google Gemini with web search grounding (default)
- perplexity-fast — Perplexity AI, faster (default)
- perplexity — Perplexity AI
- nomnom — NomNom search model
By default, queries both gemini-search and perplexity-fast in parallel.
Requirements
curl
Authentication
Set an API key in an environment variable (preferred):
export POLLINATIONS_API_KEY="YOUR_KEY"
Or create a local .env file at .claude/skills/web-research/.env:
POLLINATIONS_API_KEY="YOUR_KEY"
If POLLINATIONS_API_KEY is not set, the script will prompt for a key (input hidden).
Quick usage
.claude/skills/web-research/scripts/web-research.sh "What is pollinations.ai?"
Choose a model:
.claude/skills/web-research/scripts/web-research.sh --model perplexity-fast "Fact-check this claim with sources"
Compare multiple models:
.claude/skills/web-research/scripts/web-research.sh --models gemini-search,perplexity-fast,nomnom "Compare answers"
Run multi-model in parallel:
.claude/skills/web-research/scripts/web-research.sh --models gemini-search,perplexity-fast --parallel "Compare answers"
Notes
- Uses
https://gen.pollinations.ai/v1/chat/completions - Sends
Authorization: Bearer <key>