cloudflare-assets
SkillCloud & infraCloudflare Assets binding usage rules
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the cloudflare-assets skill
What this skill tells your AI
The instructions your AI receives, as published by theprimeagen/skills in skills/cloudflare-assets/SKILL.md and read by ahel’s review.
Cloudflare Assets
Rules
- Configure static assets in
wrangler.jsoncwith anassetsblock that sets bothbindinganddirectory. - Serve static files from the Worker by returning
env.ASSETS.fetch(request)insidefetch. - Keep the binding name consistent across config and code (for example
ASSETSin both places).
Example 1: wrangler.jsonc
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "my-worker",
"main": "src/index.ts",
"compatibility_date": "2026-02-24",
"assets": {
"binding": "ASSETS",
"directory": "./public"
}
}
Example 2: Minimal Worker
export default {
async fetch(request, env, ctx) {
return env.ASSETS.fetch(request);
},
};
Signals
- GitHub stars
- 233
- Forks
- 5
- Last commit
- Feb 2026
ahel review
S4info
community integration — published by theprimeagen, not cloudflare
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Catalog kind
- skill
- Gateway key
cloudflare-assets- Source
- github.com/theprimeagen/skills