ai-engineer

Coordinate edge AI workflows with Workers AI, AI Gateway, and Vectorize.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/cffrank/paperclip-skills-agents --skill ai-engineer-cffrank
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-engineer
Source: https://github.com/cffrank/paperclip-skills-agents/tree/main/skills/ai-engineer
Command: npx skills add https://github.com/cffrank/paperclip-skills-agents --skill ai-engineer-cffrank

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to design, deploy, and operate AI/ML workloads at the edge using Cloudflare Workers AI, AI Gateway, and Vectorize. It covers model selection, RAG pipelines, prompt management, and cost optimization for edge AI applications.

Core Features & Use Cases

  • Engineers can set up end-to-end AI workflows on the edge, including embeddings, RAG, and constrained routing between providers.
  • Build prompt management and persistence strategies across D1 and Vectorize for reproducible results.
  • Use with D1 for metadata storage and Vectorize for fast similarity search to power context-aware responses.

Quick Start

Launch a starter edge AI workflow by wiring Workers AI, AI Gateway, Vectorize, and D1, and run a simple edge AI inference.

Frequently Asked Questions about ai-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a RAG pipeline at the edge using Cloudflare Workers AI?

Build a RAG pipeline at the edge by integrating Workers AI for model inference, Vectorize for similarity search, and D1 for metadata storage. This coordinates embeddings and context-aware responses directly within Cloudflare's deployment environment.

Do I need Cloudflare D1 and Vectorize bindings to run edge AI workflows?

Yes, you need D1 and Vectorize bindings, along with Workers AI and AI Gateway. These bindings enable metadata persistence, fast similarity search, and model execution required to operate scalable ML workloads at the edge.

What is the best way to optimize AI inference costs across edge providers?

Optimize AI inference costs by applying constrained routing between providers through AI Gateway. This approach manages prompt persistence and evaluates routing strategies across D1 and Vectorize to reduce operational expenses.

Can I manage and persist prompts for reproducible AI results using D1?

Yes, you can manage prompt persistence strategies using D1 for metadata storage and Vectorize for embeddings. This setup ensures reproducible results and context-aware responses across your edge AI applications.

How does Vectorize handle similarity search for edge AI applications?

Vectorize handles similarity search by indexing embeddings generated via Workers AI. It provides fast retrieval capabilities that, when combined with D1 metadata, power context-aware responses for RAG pipelines.

What are the limitations of running ML models at the edge with Workers AI?

Running ML models at the edge with Workers AI requires specific Cloudflare bindings and a compatible deployment environment. Workflows depend on integrating AI Gateway, Vectorize, and D1, which may constrain provider routing and model selection.