by G4brym
A serverless, AI-powered deep research agent built with Cloudflare Workers and Google Gemini 2.5
# Add to your Claude Code skills
git clone https://github.com/G4brym/workers-researchGuides for using ai agents skills like workers-research.
Last scanned: 5/30/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@cloudflare/vitest-pool-workers: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "basic-ftp: Basic FTP has Path Traversal Vulnerability in its downloadToDir() method",
"severity": "critical"
},
{
"type": "npm-audit",
"message": "defu: defu: Prototype pollution via `__proto__` key in defaults argument",
"severity": "high"
},
{
"type": "npm-audit",
"message": "hono: Hono vulnerable to XSS through ErrorBoundary component ",
"severity": "high"
},
{
"type": "npm-audit",
"message": "ip-address: ip-address has XSS in Address6 HTML-emitting methods",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "miniflare: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "picomatch: Picomatch: Method Injection in POSIX Character Classes causes incorrect Glob Matching",
"severity": "high"
},
{
"type": "npm-audit",
"message": "postcss: PostCSS has XSS via Unescaped </style> in its CSS Stringify Output",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "undici: Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client",
"severity": "high"
},
{
"type": "npm-audit",
"message": "vite: Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling",
"severity": "high"
},
{
"type": "npm-audit",
"message": "wrangler: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "ws: ws: Uninitialized memory disclosure",
"severity": "medium"
}
],
"status": "FAILED",
"scannedAt": "2026-05-30T16:59:07.074Z",
"npmAuditRan": true,
"pipAuditRan": true
}workers-research is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by G4brym. A serverless, AI-powered deep research agent built with Cloudflare Workers and Google Gemini 2.5. It has 104 GitHub stars.
workers-research failed SkillsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.
Clone the repository with "git clone https://github.com/G4brym/workers-research" and add it to your Claude Code skills directory (see the Installation section above).
workers-research is primarily written in TypeScript. It is open-source under G4brym on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh workers-research against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
A serverless, Cloudflare Workers-based Deep Research Agent powered by Google Gemini 2.5.
autorag_id is provided with the research request.Inspired by dzhng's deep-research. Thank you to dzhng for the original concept. workers-research adapts this for the Cloudflare ecosystem.
graph TD
B{Cloudflare Worker} -- API Calls --> D[Cloudflare Workflows];
B -- Fetches Status/Data --> F[Cloudflare D1 Database];
D -- Triggers --> E[Gemini 2.5 API];
D -- Stores/Retrieves Research --> F;
D -- If Crawling Needed --> G[Browser Rendering API];
E -- Report Chunks/Results --> D;
subgraph "Cloudflare Ecosystem (Backend)"
B
D
F
G
end
subgraph "External Services"
E
end
style B fill:#ccf,stroke:#333,stroke-width:2px;
style D fill:#ccf,stroke:#333,stroke-width:2px;
style E fill:#fca,stroke:#333,stroke-width:2px;
style F fill:#ccf,stroke:#333,stroke-width:2px;
style G fill:#ccf,stroke:#333,stroke-width:2px;
The following diagram illustrates the detailed workflow of the research agent when processing a request:
graph TD
A["User Input: Query, Parameters"] --> B["System: Prepare Full Query & Setup"];
B --> C["Start Iterative Research Cycle"];
C --> C1["Generate Search Tasks/Queries based on current goal & learnings"];
C1 --> C2["Gather Information (Web Search & Content Extraction)"];
C2 --> C3["Process Information: Extract Key Learnings & Identify Follow-up Needs"];
C3 --> C4["Further Research Iterations Needed? (based on depth/breadth)"];
C4 -- Yes --> C1;
C4 -- No --> D["Compile All Learnings & Generate Final Report"];
D --> E["Store Report & Update Status in Database"];
E --> F["Research Complete / Report Available"];
Follow these steps to set up and run workers-research on your Cloudflare account:
Clone the Repository:
git clone git@github.com:G4brym/workers-research.git
Install Dependencies:
npm install
Cloudflare Login: Authenticate with your Cloudflare account using Wrangler:
wrangler login
Create a Cloudflare D1 Database: Create a D1 database in your Cloudflare dashboard or using Wrangler:
wrangler d1 create workers-research
Important: Replace "replace-me" in your wrangler.toml file with the database_id output from the command above.
Database migrations are applied automatically.
Deploy to Cloudflare Workers: Deploy your worker to Cloudflare:
wrangler deploy
This will deploy your worker to workers-research.{your-user}.workers.dev (or your custom domain if configured).
Set up API Keys:
npx wrangler secret put GOOGLE_API_KEY
(Optional) Configure Cloudflare AI Gateway:
npx wrangler secret put AI_GATEWAY_NAME
npx wrangler secret put AI_GATEWAY_ACCOUNT_ID
npx wrangler secret put AI_GATEWAY_API_KEY
Access the Dashboard:
Open your deployed worker URL (e.g., https://workers-research.{your-user}.workers.dev) in your browser to access the research dashboard.
Create a New Research:
Answer Follow-up Questions:
Monitor Research Status:
Read Research Reports:
Ask Follow-up Questions:
Re-run Researches:
Home page

New Research

Follow up questions

Reading a report

This project is licensed under the MIT License - see the LICENSE file for details.