Agent skill
cloudflare
For CloudFlare development, deployment, e.g. Python CloudFlare Workers
Install this agent skill to your Project
npx add-skill https://github.com/sanand0/scripts/tree/main/agents/cloudflare
SKILL.md
General
- Modifying code while
wrangler devis running slows it down. Stop, edit, then restart.
Python Cloudflare Workers
Sample wrangler.toml:
name = "..."
main = "..."
compatibility_date = "..."
compatibility_flags = ["python_workers"]
[observability]
enabled = true
Sample entry.py:
from workers import Response, WorkerEntrypoint
class Default(WorkerEntrypoint):
async def fetch(self, request, env) -> Response:
return Response('{"x": 1}', headers={"content-type": "application/json"})
To integrate a FastAPI app:
from workers import WorkerEntrypoint
from my_fastapi_app import app
import asgi
class Default(WorkerEntrypoint):
async def fetch(self, request):
return await asgi.fetch(app, request.js_object, self.env)
Usage notes:
- Ensure there's a
pyproject.tomlwith dependencies. - Prep env:
uv add --dev workers-py workers-runtime-sdk - Vendor deps (if any):
uv run pywrangler sync(usespython_modules). - Dev:
uv run pywrangler devthen hit http://localhost:8787. - Deploy:
uv run pywrangler deploy. - Verify:
curl https://<worker-name>.<account>.workers.dev.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
llm
Call LLM via CLI for transcription, vision, speech/image generation, piping prompts, sub-agents, ...
data-story
Write data findings as a compelling narrative story, Malcolm Gladwell prose, NYT graphics-team visuals, engaging & memorable even for a non-technical audience.
design
ALWAYS follow this design guide for any front-end work
demos
Use when creating demos or POCs
uv-uvx
Tips on using uv and uvx (Python build tools) effectively with GitHub, Torch, etc.
openai-docs
Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations, help choosing the latest model for a use case, or explicit GPT-5.4 upgrade and prompt-upgrade guidance; prioritize OpenAI docs MCP tools, use bundled references only as helper context, and restrict any fallback browsing to official OpenAI domains.
Didn't find tool you were looking for?