ffsshhttiikk/opencode-agents-skills/cdn

Claude Code and agent skill by ffsshhttiikk/opencode-agents-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Content delivery network optimization

Install

npx vskill@latest install ffsshhttiikk/opencode-agents-skills/cdn

SKILL.md

The same SKILL.md was published earlier as ffsshhttiikk/opencode-agents-skills/cdn.

What I do

  • Design and implement CDN architectures for global content delivery
  • Optimize cache strategies and invalidation policies
  • Configure origin shielding and multi-CDN setups
  • Implement edge computing logic at CDN locations
  • Secure CDN endpoints against attacks
  • Analyze CDN performance and optimize delivery

When to use me

  • When serving static assets to global audiences
  • When reducing latency for geographically distributed users
  • When protecting origin servers from traffic spikes
  • When implementing DDoS protection and WAF
  • When you need video streaming or large file delivery
  • When optimizing costs for high-traffic applications

Key Concepts

Cache Configuration
nginx
# Nginx CDN configuration
location /static/ {
# Cache for 1 year for versioned assets
expires 1y;
add_header Cache-Control "public, immutable";
# Enable CDN caching
proxy_cache_valid 200 60m;
proxy_cache_use_stale error timeout http_500;
# Set cache key
proxy_cache_key "$scheme$request_method$host$request_uri";
}
location /api/ {
# Don't cache API responses by default
proxy_cache_bypass $http_cache_control;
add_header Cache-Control "no-store";
}
CDN Provider Comparison
ProviderStrengthsUse Cases
CloudFlareDDoS protection, WorkersSecurity-focused, edge compute
AWS CloudFrontAWS integration, Lambda@EdgeAWS ecosystems
FastlyReal-time purging, VCLCustom caching, streaming
AkamaiGlobal reach, enterpriseLarge-scale, video
Google Cloud CDNGCP integrationGCP ecosystems
Cache Invalidation
bash
# CloudFront invalidation
aws cloudfront create-invalidation \
--distribution-id $DIST_ID \
--paths "/static/*" "/images/*"
# CloudFlare purge
curl -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE/purge_cache" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
--data '{"purge_everything": true}'
Edge Computing
javascript
// Cloudflare Worker example
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
const url = new URL(request.url)
// A/B testing at the edge
const variant = Math.random() < 0.5 ? 'a' : 'b'
const response = await fetch(request)
// Add variant header
const newResponse = new Response(response.body, response)
newResponse.headers.set('X-Variant', variant)
return newResponse
}
Performance Optimization
  • Enable HTTP/2 or HTTP/3 for multiplexing
  • Use compression (gzip, brotli)
  • Implement image optimization at edge
  • Enable HTTP secure headers
  • Configure proper cache-control headers
  • Use signed URLs for private content

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
Repository forks
2
7-day trend score
10

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ffsshhttiikk/opencode-agents-skills/cdn/badge)](https://verified-skill.com/skills/ffsshhttiikk/opencode-agents-skills/cdn)

Something wrong with this skill or its page? Tell us.