Agent skill

Fastly Domain V1 Activation

by divinevideo in divinevideo/divine-mobile

Fix "Fastly error: unknown domain" 500 errors when custom domains return "Domain Not Found" despite being created with domain-v1 CLI.

MPL-2.0Auto-check passed

Install Fastly Domain V1 Activation

skills CLI
$ npx skills add divinevideo/divine-mobile --skill fastly-domain-v1-activation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install divinevideo/divine-mobile fastly-domain-v1-activation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/fastly-domain-v1-activation .claude/skills/fastly-domain-v1-activation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fastly-domain-v1-activation
GitHub stars
266
Token cost
~1.3k tokens
SKILL.md length
341 words
Files
1
Skills in repo
103
Repo updated
First seen
Licence
MPL-2.0

At a glance

Fix "Fastly error: unknown domain" 500 errors when custom domains return "Domain Not Found" despite being created with domain-v1 CLI.

  • Works in 6 steps: Create the domain (if not already done) → Create TLS subscription for HTTPS → Get DNS configuration requirements → …
  • Fastly domain-v1 create succeeds but domain returns 500
  • SKILL.md covers Problem, Context / Trigger Conditions, Solution and Verification, plus 3 more sections
  • Calls curl and jq; reaches api.fastly.com

What it does

Fastly Domain V1 Activation is an agent skill from divinevideo/divine-mobile. Fix "Fastly error: unknown domain" 500 errors when custom domains return "Domain Not Found" despite being created with domain-v1 CLI. Use when: (1) fastly domain-v1 create succeeds but domain returns 500, (2) Domain shows activated:false in API response, (3) Classic domain API returns "deprecated" error, (4) Custom domain works on edgecompute.app but not on your domain. Covers Fastly Compute domain setup post-September 2025.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is MPL-2.0.

When your agent uses it

  • Fastly domain-v1 create succeeds but domain returns 500
  • Domain shows activated:false in API response
  • Classic domain API returns deprecated error
  • Custom domain works on edgecompute.app but not on your domain

Example prompts

  • “Fastly error: unknown domain”
  • “Domain Not Found”
  • “deprecated”
  • “/fastly-domain-v1-activation”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Create the domain (if not already done)
  2. Create TLS subscription for HTTPS
  3. Get DNS configuration requirements
  4. Configure DNS
  5. Wait for automatic activation
  6. Verify activation status

What it can do on your machine

Read from SKILL.md and the folder at commit c3d6f7e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.fastly.com

    Also links to:

    • fastly.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fastly Domain V1 Activation loads about 1.3k tokens when it runs. Until then it costs about 114 tokens; SKILL.md has 341 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~114
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from divinevideo/divine-mobile at commit c3d6f7e, republished under its MPL-2.0 licence (© divinevideo). 341 words, ~1,271 tokens.

Download SKILL.mdSave it as .claude/skills/fastly-domain-v1-activation/SKILL.md (or your agent's skills folder).
name
fastly-domain-v1-activation
description
Fix "Fastly error: unknown domain" 500 errors when custom domains return "Domain Not Found" despite being created with domain-v1 CLI. Use when: (1) fastly domain-v1 create succeeds but domain returns 500, (2) Domain shows activated:false in API response, (3) Classic domain API returns "deprecated" error, (4) Custom domain works on edgecompute.app but not on your domain. Covers Fastly Compute domain setup post-September 2025.
author
Claude Code
version
1.0.0
date
2026-02-01

Fastly Domain-v1 Activation for Compute Services

Problem

After creating a custom domain with fastly domain-v1 create --fqdn example.com --service-id XXX, the domain returns a 500 error: "Fastly error: unknown domain: example.com. Please check that this domain has been added to a service." The edgecompute.app URL works fine.

Context / Trigger Conditions

  • Classic domain API returns: "The classic domains APIs are deprecated. Please use the domain management API"
  • fastly domain-v1 create succeeds with domain-id and service-id
  • HTTP request to custom domain returns 500 "Domain Not Found"
  • Checking domain via API shows "activated": false, "verified": false
  • The auto-generated edgecompute.app domain works correctly

Solution

Step 1: Create the domain (if not already done)
bash
fastly domain-v1 create --fqdn example.com --service-id YOUR_SERVICE_ID
Step 2: Create TLS subscription for HTTPS
bash
fastly tls-subscription create --domain example.com
Step 3: Get DNS configuration requirements
bash
curl -s -H "Fastly-Key: $(fastly profile token)" \
  "https://api.fastly.com/tls/subscriptions/SUBSCRIPTION_ID?include=tls_authorizations" | jq

Look for the challenges array in the response. You'll see options like:

  • managed-http-a: A records pointing to Fastly IPs (use for apex domains)
  • managed-http-cname: CNAME to x.sni.global.fastly.net (use for subdomains)
  • managed-dns: ACME challenge CNAME for _acme-challenge.example.com
Step 4: Configure DNS

For apex domains, add A records:

example.com → 151.101.1.242
example.com → 151.101.65.242
example.com → 151.101.129.242
example.com → 151.101.193.242

For subdomains, use CNAME:

www.example.com → x.sni.global.fastly.net
Step 5: Wait for automatic activation

Once DNS propagates, Fastly automatically:

  1. Verifies domain ownership via HTTP challenge
  2. Sets verified: true
  3. Sets activated: true
  4. Issues TLS certificate (state changes from "pending" to "issued")

This typically happens within 1-5 minutes after DNS propagation.

Step 6: Verify activation status
bash
# Check domain status
curl -s -H "Fastly-Key: $(fastly profile token)" \
  "https://api.fastly.com/domain-management/v1/domains/DOMAIN_ID" | jq

# Should show:
# "activated": true,
# "verified": true

# Check TLS status
fastly tls-subscription describe --id SUBSCRIPTION_ID
# State should be "issued"

Verification

bash
# Test HTTP (should redirect to HTTPS)
curl -I http://example.com
# Expected: 308 Permanent Redirect to https://

# Test HTTPS
curl -s https://example.com | head -20
# Expected: Your site content

Example

bash
# 1. Create KV store and link to service
fastly kv-store create --name my-content
fastly resource-link create --resource-id KV_STORE_ID --service-id SERVICE_ID --version latest --autoclone

# 2. Build and deploy
fastly compute publish

# 3. Add custom domain
fastly domain-v1 create --fqdn mysite.com --service-id SERVICE_ID
# Output: Created domain 'mysite.com' (domain-id: ABC123, service-id: XYZ789)

# 4. Set up TLS
fastly tls-subscription create --domain mysite.com
# Output: Created TLS Subscription 'SUB123' (Authority: certainly, Common Name: mysite.com)

# 5. Configure DNS with A records (apex) or CNAME (subdomain)
# 6. Wait ~2-5 minutes for verification
# 7. Site is live at https://mysite.com

Notes

  • Post-September 2025: The fastly domain create command (classic API) is deprecated. Use fastly domain-v1 instead.
  • No manual activation: Unlike classic domains, domain-v1 domains activate automatically after DNS verification. There's no explicit "activate" API call.
  • Service version independence: Domain-v1 creates "versionless domains" that aren't tied to a specific service version. You don't need to clone/activate versions to add domains.
  • TLS is separate: Domain creation and TLS certificate management are separate operations. You can have a domain without TLS (HTTP only) but most setups want both.
  • Fastly IPs are global: The A record IPs (151.101.x.242) are Fastly's anycast addresses and route to the nearest edge node.

References

© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/fastly-domain-v1-activation of divinevideo/divine-mobile.

Open the folder on GitHubat commit c3d6f7e

Compare with similar skills

Fastly Domain V1 Activation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fastly Domain V1 Activation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fastly Domain V1 Activation this skilldivinevideo/divine-mobile266—~1.3kAutomated safety check: PassMPL-2.0
Domain Modeling and Glossarywindmill-labs/windmill18k—~622Automated safety check: PassCustom licence
Sitemap Domainthedaviddias/Front-End-Checklist74k—~531Automated safety check: PassMIT
Domain Driven Designdavila7/claude-code-templates33k5 repos~623Automated safety check: PassMIT
Modeling Activation MetricsPostHog/posthog40k—~1.4kAutomated safety check: PassCustom licence
Codebase Domain Flow ExtractorEgonex-AI/Understand-Anything86k—~2.4kAutomated safety check: PassMIT

Similar skills

  • Domain Modeling and Glossary

    windmill-labs/windmill

    Actively challenges vague or conflicting terminology as you design, and keeps a living domain glossary file up to date in real time.

    18k GitHub stars~622 tokensUpdated today
    DevelopmentAuto-check passed
  • Sitemap Domain

    thedaviddias/Front-End-Checklist

    A skill your agent uses when applies to sites that have recently migrated from HTTP to HTTPS, changed domain name, or have www/non-www redirect configurations.

    74k GitHub stars~531 tokensUpdated 4 days ago
    Marketing & SEOAuto-check passed
  • Domain Driven Design

    davila7/claude-code-templates

    Plan and route Domain-Driven Design work from strategic modeling to tactical implementation and evented architecture patterns.

    33k GitHub starsUsed in 5 repos~623 tokens
    DevelopmentAuto-check passed
  • Official

    Build reusable activation models — an activation-rate metric and a per-user/per-account activated flag — on either PostHog data-warehouse views (HogQL) or an external dbt project.

    40k GitHub stars~1.4k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Codebase Domain Flow Extractor

    Egonex-AI/Understand-Anything

    Extracts business domains, flows and process steps from a codebase and produces an interactive horizontal flow graph, reusing an existing knowledge graph when one exists.

    86k GitHub stars~2.4k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Railway Domain

    davila7/claude-code-templates

    Add, view, or remove domains for Railway services. An agent skill from davila7/claude-code-templates.

    33k GitHub stars~744 tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from divinevideo/divine-mobile

All 103 skills in this repo
  • Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".

    266 GitHub stars~931 tokensUpdated today
    Auto-check passed
  • Art Direct

    divinevideo/divine-mobile

    Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.

    266 GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Async Await Null Race Condition

    divinevideo/divine-mobile

    Fix "Null check operator used on a null value" errors when an object is set to null during an async await.

    266 GitHub stars~881 tokensUpdated today
    Auto-check passed
  • AWS V4 Signing Custom Headers Gcs

    divinevideo/divine-mobile

    Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.

    266 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Bash Herestring Newline Secrets

    divinevideo/divine-mobile

    Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.

    266 GitHub stars~791 tokensUpdated today
    Auto-check passed
  • Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).

    266 GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Questions about Fastly Domain V1 Activation

What does Fastly Domain V1 Activation do?

Fix "Fastly error: unknown domain" 500 errors when custom domains return "Domain Not Found" despite being created with domain-v1 CLI. Fastly Domain V1 Activation is an agent skill from divinevideo/divine-mobile. Fix "Fastly error: unknown domain" 500 errors when custom domains return "Domain Not Found" despite being created with domain-v1 CLI.

When should I use Fastly Domain V1 Activation?

Fastly Domain V1 Activation fits situations like: fastly domain-v1 create succeeds but domain returns 500; domain shows activated:false in API response; classic domain API returns deprecated error; custom domain works on edgecompute.app but not on your domain.

How do I install Fastly Domain V1 Activation in Claude Code?

Run `npx skills add divinevideo/divine-mobile --skill fastly-domain-v1-activation -a claude-code`. Or copy the skill folder (.agents/skills/fastly-domain-v1-activation in divinevideo/divine-mobile) into .claude/skills/fastly-domain-v1-activation in your project. Claude Code loads it when a task matches its description.

How do I install Fastly Domain V1 Activation in Codex?

Run `npx skills add divinevideo/divine-mobile --skill fastly-domain-v1-activation -a codex`. Or copy the skill folder (.agents/skills/fastly-domain-v1-activation in divinevideo/divine-mobile) into .agents/skills/fastly-domain-v1-activation in your project. Codex loads it when a task matches its description.

Can I use Fastly Domain V1 Activation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill fastly-domain-v1-activation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fastly-domain-v1-activation, .gemini/skills/fastly-domain-v1-activation, .github/skills/fastly-domain-v1-activation and .opencode/skills/fastly-domain-v1-activation in your project.

What does Fastly Domain V1 Activation need to run?

Going by SKILL.md and its folder, Fastly Domain V1 Activation needs the command-line tools its instructions call (curl and jq).

Does Fastly Domain V1 Activation access the network?

SKILL.md names 2 domains. In commands or code: api.fastly.com; the agent is likely to contact it when it follows the instructions. As links in the text: fastly.com. This is read from the text; nothing was executed.

Is Fastly Domain V1 Activation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fastly Domain V1 Activation use?

Fastly Domain V1 Activation is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fastly Domain V1 Activation use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Fastly Domain V1 Activation?

Skills that share tags, products or a category with Fastly Domain V1 Activation: Domain Modeling and Glossary (windmill-labs/windmill, 18k stars), Sitemap Domain (thedaviddias/Front-End-Checklist, 74k stars), Domain Driven Design (davila7/claude-code-templates, 33k stars) and Modeling Activation Metrics (PostHog/posthog, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fastly Domain V1 Activation?

divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 10, 2026.

Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.