Cloudflare Workers Ai
ListedHelps with Cloudflare, AI as part of deploying and managing cloud infrastructure workflows.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add jackspace/claudeskillz --skill cloudflare-workers-ai -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
jackspace
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: api.cloudflare.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
api.cloudflare.comundeclaredWhat it found
- skills/cloudflare-workers-ai/SKILL.json:16contacts api.cloudflare.com
"OpenAI Compatibility": "Workers AI supports OpenAI-compatible endpoints.\r\n\r\n**Using OpenAI SDK:**\r\n```typescript\r\nimport OpenAI from 'openai';\r\n\r\n…
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned jackspace/claudeskillz at aef4e299d1.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- aef4e299d1
- Scanned
- 3 files, 794 lines
About this skill
What it does
This skill allows AI agents to execute JavaScript code within Cloudflare Workers, enabling them to interact with and leverage Cloudflare's edge computing platform. It facilitates tasks like fetching data from external APIs via Worker routes, manipulating requests and responses, and integrating with other Cloudflare services. The agent can define and deploy simple worker scripts directly through prompts.
When to use it
- Data Retrieval: Fetch real-time data from a website or API that requires edge processing for speed or security.
- Request Modification: Modify HTTP requests before they reach a backend server, such as adding headers or transforming payloads.
- Simple API Endpoints: Create lightweight API endpoints on the Cloudflare edge network to serve content or perform simple calculations.
- Content Transformation: Transform and optimize website assets (images, scripts) at the edge for improved performance.
Key capabilities
- Define and deploy JavaScript code as Cloudflare Workers.
- Create HTTP routes within Workers.
- Interact with external APIs from Worker code.
- Modify HTTP requests and responses.
- Leverage Cloudflare's edge network for low latency execution.
Example prompts
- "Write a worker that fetches the current weather in London and returns it as JSON."
- "Create a route that redirects all traffic from example.com to www.example.com."
- "Write a worker function to add 10% tax to any purchase amount passed to it."
Tips & gotchas
- Requires familiarity with JavaScript and basic Cloudflare Workers concepts.
- Worker code is executed on the edge, so be mindful of resource limitations and potential cold starts.