viceroy
Runs Fastly Compute WASM applications locally with Viceroy, specifically for Rust and Component Model projects.
Skill by fastlyOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fastly-viceroy
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, backend, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/viceroy
What's inside
- Skill name
viceroy- Description
- Runs Fastly Compute WASM applications locally with Viceroy, specifically for Rust and Component Model projects. Use when starting a local Fastly Compute dev server with Viceroy, configuring fastly.toml for local backend overrides and store definitions, running Rust unit tests with cargo-nextest against the Compute runtime, debugging Compute apps locally, adapting core WASM modules to the Component Model, or troubleshooting local Compute testing issues (connection refused, missing backends, store config). For non-Rust Compute work or understanding the Compute API, prefer the fastlike skill instead — its source code is easier to understand as a Fastly Compute API reference.
- License
- MIT
- Instructions
- 39 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- fastly-compute-adapt.md · references/
- fastly-compute-config.md · references/
- fastly-compute-serve.md · references/
- fastly-compute-test.md · references/
SKILL.md (first lines)
# Viceroy — Local Fastly Compute Runtime Viceroy is Fastly's official local testing environment for Compute applications. It emulates the Fastly Compute platform, allowing you to develop and test WASM services locally. **Viceroy documentation**: https://github.com/fastly/Viceroy ## Common Gotchas - **Dictionaries and ConfigStores are both supported** but configured differently in `fastly.toml`. Dictionaries go under `[local_server.dictionaries]` as inline key-value maps or JSON files. ConfigStores go under `[local_server.config_stores]`. - **`fastly.toml` must have a `[local_server]` section.** Without it, Viceroy won't know about your backends, stores, or other local overrides. Every backend your app calls must be listed under `[local_server.backends]`. - **Default port is 7676**, not 5000 (which is Fastlike's default). Access your app at `http://127.0.0.1:7676`. - **Backends should point to local servers** when developing locally. Avoid proxying to remote production origins to prevent accidentally leaking request data. ## Quick Start ```bash # Install Viceroy cargo install --locked viceroy # Build your Compute app fastly compute build # Start local server (default: 127.0.0.1:7676) viceroy -C fastly.toml bin/main.wasm # Or use the Fastly CLI wrapper fastly compute serve ``` ## References | Topic | File | Use when... | | ------ | --------------------------------------------------------------- | ------------------------------------------------------------------------------ | | Serve | [fastly-compute-serve.md](references/fastly-compute-serve.md) | Starting local dev server, profiling, advanced server options | | Config | [fastly-compute-config.md](references/fastly-compute-config.md) | Configuring fastly.toml backends, stores, geolocation, device detection, ACLs | | Test | [fastly-compute-test.md](references/fastly-compute-test.md) | Running Rust unit tests with cargo-nextest, writing tests for Compute services | | Adapt | [fastly-compute-adapt.md](references/fastly-compute-adapt.md) | Converting core WASM modules to Component Model, custom build pipelines |
From fastly/fastly-agent-toolkit, MIT.
More from fastly/fastly-agent-toolkit
- 0.757score
fastly
fastlyOfficial
Configures, manages, and debugs the Fastly CDN platform — covering service and backend setup, caching and VCL, security features like DDoS/WAF/NGWAF/rate…
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
falco
fastlyOfficial
Lints, tests, simulates, and formats Fastly VCL code using the falco tool.
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
fastlike
fastlyOfficial
Runs Fastly Compute WASM binaries locally and serves as the authoritative reference for Compute platform internals.
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
fastly-cli
fastlyOfficial
Executes Fastly CLI commands for managing CDN services, Compute deploys, and edge infrastructure.
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
fastly-fiddle
fastlyOfficial
Use when testing VCL against real Fastly edge infrastructure, writing assertion-based Fiddle tests, producing shareable fiddle URLs for bug reproductions…
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
fastly-ngwaf
fastlyOfficial
Performs an internal audit of Fastly Next-Gen WAF (NGWAF) workspaces to audit that critical templated protection rules are configured and enabled.
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
fastly-stats
fastlyOfficial
Fastly traffic numbers: cache hit ratio, bandwidth, request counts, status-code and error rates, edge vs origin traffic, real-time requests-per-second, origin…
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
xvcl
fastlyOfficial
Extends Fastly VCL with loops, functions, constants, macros, conditionals, and includes via XVCL — a VCL transpiler that compiles .xvcl files into standard VCL.
SkillAFreshness: A★ 36Claude Code +9 - 0.706score
fastly-reference-architectures
fastlyOfficial
Curated GitHub repositories demonstrating working reference architectures on the Fastly platform, from single Compute applications to systems combining…
SkillBFreshness: B★ 36Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 36
- Forks
- 7
- Open issues
- 0
- Last commit (this folder)
- Aug 31, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fastly/fastly-agent-toolkit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from fastly
- 0.757score
fastly
fastlyOfficial
Configures, manages, and debugs the Fastly CDN platform — covering service and backend setup, caching and VCL, security features like DDoS/WAF/NGWAF/rate…
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
falco
fastlyOfficial
Lints, tests, simulates, and formats Fastly VCL code using the falco tool.
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
fastlike
fastlyOfficial
Runs Fastly Compute WASM binaries locally and serves as the authoritative reference for Compute platform internals.
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
fastly-cli
fastlyOfficial
Executes Fastly CLI commands for managing CDN services, Compute deploys, and edge infrastructure.
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
fastly-fiddle
fastlyOfficial
Use when testing VCL against real Fastly edge infrastructure, writing assertion-based Fiddle tests, producing shareable fiddle URLs for bug reproductions…
SkillAFreshness: A★ 36Claude Code +9 - 0.757score
fastly-ngwaf
fastlyOfficial
Performs an internal audit of Fastly Next-Gen WAF (NGWAF) workspaces to audit that critical templated protection rules are configured and enabled.
SkillAFreshness: A★ 36Claude Code +9
Cite this page
viceroy skill. Agent Mart. https://agentmart.dev/skills/fastly-viceroy (last updated 2026-10-24)