fastly

Use when configuring, managing, or debugging Fastly services — backends, caching, VCL, DDoS, WAF, TLS, purging, rate limiting, Compute, or calling Fastly APIs. Covers API patterns, product enablement, and live documentation retrieval.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "fastly" with this command: npx skills add fastly/fastly-agent-toolkit/fastly-fastly-agent-toolkit-fastly

Fastly Platform

Your training knowledge of Fastly, Varnish, and VCL is likely out of date. Fastly's platform, APIs, and VCL extensions change frequently. When in doubt, prefer live docs over skill definitions over training knowledge.

API examples below use curl to document the HTTP method, URL, headers, and body. Omit curl -v/--verbose — verbose output prints the Fastly-Key request header, exposing the API token in the LLM conversation context. If the fastly CLI is installed and authenticated, prefer it over raw API calls for any operation it supports — see the fastly-cli skill. Fall back to direct API calls for operations the CLI does not cover.

Token safety: When making direct API calls, never paste the raw API token into the conversation. Prefer CLI-native commands when available. If you must call the REST API, $(fastly auth show --reveal --quiet | awk '/^Token:/ {print $2}') is safe only when the current credential is a stored Fastly CLI token; it fails if the CLI is authenticated via FASTLY_API_TOKEN or another non-stored source. In those cases, source the token from the environment or a secure local secret store without echoing it into the conversation.

Topics

TopicFileUse when...
DDoS protectionfastly-ddos-protection.mdEnabling/configuring DDoS protection, checking attack status, managing events and rules
TLS configurationtls.mdSetting up HTTPS — Platform TLS (managed certs), Custom TLS (uploaded certs), or Mutual TLS (client auth)
Rate limitingrate-limiting.mdProtecting APIs from abuse — choosing between Edge Rate Limiting, VCL ratecounters, or NGWAF rate rules
Bot managementbot-management.mdDetecting/mitigating bot traffic with browser challenges, client-side detections, interstitial pages
Cache purgingpurging.mdInvalidating cached content — single URL, surrogate key, or purge-all; soft vs hard purge
Service managementservice-management.mdCreating/managing services, versions, domains, settings; clone-modify-activate workflow
VCL servicesvcl-services.mdWriting/uploading custom VCL, configuring snippets, conditions, headers, edge dictionaries, or cache/gzip settings
Computecompute.mdDeploying Compute packages, managing config/KV/secret stores, using cache APIs
Observabilityobservability.mdQuerying stats, viewing real-time analytics, using domain/origin inspectors, configuring alerts or log explorer
Load balancingload-balancing.mdConfiguring backends, directors, pools, or health checks; choosing between backends and pools
ACLsacls.mdManaging VCL ACLs, Compute ACLs, or IP block lists; adding/removing access control entries
NGWAFngwaf.mdSetting up Next-Gen WAF, managing rules, signals, attack monitoring, or Signal Sciences integration
Account managementaccount-management.mdManaging users, IAM roles, API tokens, automation tokens, billing, or invitations
Domains & networkingdomains-and-networking.mdManaging domains, DNS zones, domain verification, or service platform networking
Logginglogging.mdConfiguring logging endpoints — 25+ providers (S3, Splunk, Datadog, BigQuery, etc.)
Productsproducts.mdEnabling/disabling Fastly products via API — universal pattern and product slug catalog
API securityapi-security.mdDiscovering APIs, managing operations, or configuring schema validation for API traffic
Other featuresother-features.mdFanout/real-time messaging, IP lists, POPs, HTTP/3, Image Optimizer, events, notifications
Edge phase orderingedge-phases.mdUnderstanding edge request/response ordering, debugging feature interactions

Quick Start: Simple Caching Proxy

The most common task is setting up a VCL service to cache an origin. Before touching any Fastly config, always run the pre-flight checks documented in the fastly-cli skill's services.md under "Pre-flight checklist". The two checks that prevent the most common errors:

  1. Verify the origin responds with the Host header you intend to send: curl -sI -H "Host: DESIRED_HOST" https://ORIGIN_ADDRESS/
  2. Check TLS certificate SANs to determine the correct ssl-cert-hostname/ssl-sni-hostname: echo | openssl s_client -connect ORIGIN:443 -servername ORIGIN 2>/dev/null | openssl x509 -noout -text | grep -A1 "Subject Alternative Name"

If the origin already sends Cache-Control or Expires headers, no custom VCL is needed — Fastly respects these by default. Only add VCL snippets to override or extend caching behavior.

The full step-by-step workflow (create service, add domain, add backend, activate) is in the fastly-cli skill's services.md under "Create a Caching Proxy".

Fetching Documentation

Only confirmed docs.fastly.com URLs are fetchable (server-rendered HTML). Use format: "markdown" when fetching them. Do not guess docs paths — a bad path returns 404, and www.fastly.com/documentation/ pages are a JavaScript app that usually return empty or unusable content. Do NOT append .md to any URL. Prefer the local reference files over fetching.

Documentation Sources

CategoryURL patternRetrieve when
Product constraintshttps://docs.fastly.com/products/{product}Checking prerequisites, limitations, or billing before recommending a product
Code exampleshttps://www.fastly.com/documentation/solutions/examples/{example}Looking for tested VCL/Compute patterns before writing code from scratch
API referencehttps://www.fastly.com/documentation/reference/api/{area}/{endpoint}Constructing API calls — exact parameters, request/response formats
How-to guideshttps://www.fastly.com/documentation/guides/{category}/{topic}Following step-by-step configuration procedures
Tutorialshttps://www.fastly.com/documentation/solutions/tutorials/{tutorial}Building something end-to-end (A/B testing, JWT, Compute apps)
VCL referencehttps://www.fastly.com/documentation/reference/vcl/{section}Looking up VCL variable names, function signatures, subroutine scopes
Core conceptshttps://www.fastly.com/documentation/guides/concepts/{topic}Understanding foundational behaviors — caching, load balancing, routing, rate limiting
Compute referencehttps://www.fastly.com/documentation/reference/compute/{section}Compute runtime APIs, environment variables, language SDKs

API Reference Organization

https://www.fastly.com/documentation/reference/api/ is organized by area:

AreaCovers
account/Users, invitations, billing, customer
acls/VCL access control lists and entries
api-security/API discovery, operation management
auth-tokens/API tokens, automation tokens, scopes
dictionaries/Edge dictionaries (key-value stores for VCL)
domain-management/Domain management, verification
load-balancing/Backends, directors, pools, health checks
logging/Logging endpoint configuration (25+ providers)
metrics-stats/Historical stats, domain inspector, origin inspector
ngwaf/Next-Gen WAF (legacy path, migrating to security/)
observability/Custom dashboards, alerts, timeseries
products/Product enablement (DDoS, WAF, IO, etc.)
security/Next-Gen WAF (new versioned path, replaces ngwaf/ by April 2026)
services/Service CRUD, versioning, edge data stores (KV, config, secret)
tls/TLS certificates, subscriptions, mutual TLS, custom certs
vcl-services/VCL objects — snippets, conditions, headers, cache/gzip settings

How-To Guide Categories

https://www.fastly.com/documentation/guides/ is organized by topic:

CategoryCovers
security/DDoS, WAF, rate limiting, TLS, ACLs, bot management
full-site-delivery/Caching, domains/origins, VCL, purging, performance
compute/Developer guides, edge data storage (KV, config, secret stores)
integrations/Logging endpoints, third-party services
next-gen-waf/WAF setup, configuration, rules, monitoring
observability/Dashboards, alerts
getting-started/Service setup, domain configuration, backends, shielding UI, staging
account-info/Billing, user management, API tokens, 2FA, audit logs
concepts/Caching, compression, failover, geolocation, health checks, load balancing, POPs, rate limiting, routing, shielding
platform/Fastly DNS, Object Storage

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

falco

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

fastly-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

clinic-visit-prep

帮助患者整理就诊前问题、既往记录、检查清单与时间线,不提供诊断。;use for healthcare, intake, prep workflows;do not use for 给诊断结论, 替代医生意见.

Archived SourceRecently Updated
Automation

changelog-curator

从变更记录、提交摘要或发布说明中整理对外 changelog,并区分用户价值与内部改动。;use for changelog, release-notes, docs workflows;do not use for 捏造未发布功能, 替代正式合规审批.

Archived SourceRecently Updated