An AI-powered CLI utility that analyzes project routes to suggest and generate code for high-probability data and page prefetching.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install prefetch-gen
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install prefetch-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Prefetch Suggester is a performance-focused tool designed to eliminate navigation latency by predicting user behavior. By scanning project directories, it identifies the most likely next steps in a user journey and suggests exactly what data and pages to prefetch for a seamless, instant experience. As a core part of the Openclaw Skills ecosystem, it bridges the gap between static code analysis and intelligent user experience optimization.
This tool is particularly effective for modern web applications where manual optimization of every possible route is impractical. It provides ready-to-use implementation code, ensuring that your application feels instant to the end-user while carefully managing bandwidth by focusing only on high-priority navigation paths.
To use this tool, ensure you have Node.js 18+ installed. You must have an OPENAI_API_KEY environment variable configured for the AI analysis to function. There is no permanent installation required as it runs via npx.
# Set your API key
export OPENAI_API_KEY='your_api_key_here'
# Run the tool against your pages or routes directory
npx ai-prefetch ./src/pages/
The Prefetch Suggester processes your directory structure and source code to generate a performance report. The output typically includes:
| Attribute | Description |
|---|---|
| Target Route | The specific application path identified for optimization. |
| Probability Score | The AI-calculated likelihood of a user navigating to this path next. |
| Prefetch Method | Recommended implementation (e.g., hover-based, intersection observer, or immediate). |
| Code Snippet | Copy-pasteable logic for prefetching data or assets. |
| Resource Type | Identifies if the recommendation is for a page chunk, JSON data, or static assets. |
Loading
An AI-powered CLI tool that analyzes git diffs to automatically generate comprehensive pull request titles and descriptions.

A cross-platform CLI tool to terminate processes running on specific ports without complex shell commands.

A command-line utility that transforms startup ideas into comprehensive, investor-ready pitch deck content using AI.

Generate professional, structured startup pitch deck content instantly using AI.

An AI-powered CLI tool that analyzes application routes to suggest and implement intelligent prefetching for instant page transitions.

Prefetch Advisor leverages AI to analyze application routing and user flows, recommending specific data and routes to prefetch for instantaneous navigation.








































