К основному содержанию
плагин

fastly-agent-toolkit — плагин для Claude Code: скиллы Fastly

Набор скиллов для работы с платформой Fastly: сервисы, кэширование, VCL, WAF, статистика трафика и локальный запуск Compute.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin install fastly-agent-toolkit@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-community
/plugin install fastly-agent-toolkit@claude-community
/plugin marketplace add anthropics/claude-plugins-official
Открыть на GitHub

Что делает fastly-agent-toolkit

Плагин ставит в Claude десять скиллов: fastly про сервисы, кэширование, VCL, WAF, TLS и защиту от DDoS, fastly-cli про управление сервисами и Compute-приложениями из командной строки, fastly-fiddle для проверки VCL на реальной edge-инфраструктуре, fastly-stats про цифры трафика и правила агрегации, fastly-ngwaf для аудита правил Next-Gen WAF. Плюс скиллы про локальную разработку и инструменты вокруг VCL: falco, fastlike, viceroy, xvcl и fastly-reference-architectures с примерами рабочих архитектур на GitHub.

Каждый скилл лежит в skills/ с точкой входа SKILL.md и папкой references/ с подробными файлами по темам. Скиллы ссылаются на эти файлы, поэтому агенту нужно разрешить чтение из references/ — иначе он не подтянет контекст и ответит поверхностно. Установка плагина не ставит сами инструменты и не подключает аккаунт Fastly: аутентификацию настраивайте отдельно через интерактивный логин CLI или локальный конфиг.

Что понадобится заранее, зависит от сценария. Для CLI и статистики — Fastly CLI с настроенной аутентификацией, а для примеров через сырой API ещё curl и jq. Скрипту оценки NGWAF нужны Bash, curl, jq и локально заданный FASTLY_API_KEY с доступом к workspace. Линтинг и тесты VCL требуют Falco, а его установка — Homebrew или Go. Компиляция XVCL идёт через uv с uvx, для локальной разработки Compute нужен Fastlike или Viceroy со сборочными инструментами и WASM-таргетами приложения.

Какие задачи решает

  • разобрать конфигурацию кэширования и VCL в сервисе Fastly
  • проверить VCL на реальной edge-инфраструктуре до выката
  • посчитать статистику трафика и не ошибиться с единицами и окном агрегации
  • найти отключённые правила защиты в workspace Next-Gen WAF
  • запустить Compute-приложение локально и прогнать тесты

Примеры запросов агенту

  • Покажи, как настроить кэширование и purge для сервиса Fastly
  • Прогони линтер Falco по нашему VCL и объясни ошибки
  • Собери статистику трафика за неделю через Fastly CLI и проверь единицы

Как установить fastly-agent-toolkit

Через маркетплейс плагинов

/plugin install fastly-agent-toolkit@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-community
/plugin install fastly-agent-toolkit@claude-community
/plugin marketplace add anthropics/claude-plugins-official

По шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой

Вопросы о fastly-agent-toolkit

Как установить fastly-agent-toolkit в Claude Code?

Из официального маркетплейса: сначала /plugin marketplace add anthropics/claude-plugins-official, затем /plugin install fastly-agent-toolkit@claude-plugins-official. Есть и community-вариант: /plugin marketplace add anthropics/claude-plugins-community, потом /plugin install fastly-agent-toolkit@claude-community.

Что делает fastly-agent-toolkit?

Добавляет в Claude скиллы по платформе Fastly: сервисы и кэширование, VCL и WAF, статистика трафика, аудит Next-Gen WAF, локальный запуск Compute и работа с инструментами вроде Falco и Viceroy.

Нужен ли аккаунт Fastly для работы плагина?

Установка плагина аккаунт не подключает и инструменты не ставит. Аутентификацию настраивайте сами через интерактивный логин Fastly CLI или локальный конфиг, а для скрипта оценки NGWAF понадобится FASTLY_API_KEY с доступом к workspace.

Исходный текст

SKILL.md · MIT
# Fastly Agent Toolkit

A collection of skills for AI coding agents to work with the Fastly platform and edge computing tools.

- [Fastly Agent Toolkit](#fastly-agent-toolkit)
  - [Agent Plugins](#agent-plugins)
  - [Available skills](#available-skills)
  - [Runtime requirements](#runtime-requirements)
  - [Support and privacy](#support-and-privacy)
  - [Usage](#usage)
    - [Manual copy](#manual-copy)
    - [Claude Code](#claude-code)
    - [Codex](#codex)
    - [Perplexity](#perplexity)
    - [Swival](#swival)
    - [Qwen Code](#qwen-code)
    - [Gemini CLI](#gemini-cli)
    - [Using the `skills` CLI](#using-the-skills-cli)
  - [Skill format](#skill-format)
  - [Contributing new skills](#contributing-new-skills)

## Agent Plugins

This repository is a portable [Agent Plugin](https://agent-plugins.org/specification).
Clients load the root [`plugin.json`](plugin.json) manifest and discover the skills in `skills/`.

## Available skills

- `fastly`: Working with the Fastly platform, including services, caching, VCL, WAF, TLS, DDoS protection, purging, and API usage.
- `fastly-cli`: Using the [Fastly CLI](https://www.fastly.com/documentation/reference/cli/) to manage services, compute apps, logging, WAF, TLS, key-value stores, and stats.
- `fastly-fiddle`: Testing VCL against real Fastly edge infrastructure with [Fastly Fiddle](https://fiddle.fastly.dev/), covering assertion-based tests, the Fiddle HTTP API, shareable bug reproductions, and CI integration.
- `fastly-stats`: Fastly traffic numbers via the CLI or raw HTTP, covering the Historical Stats, Real-Time analytics, and Origin/Domain Inspector APIs, and owning the unit, window, and aggregation conventions that decide whether a reported figure is right.
- `fastly-ngwaf`: Auditing Next-Gen WAF workspaces for missing or disabled protection rules and checking whether attack traffic is being blocked.
- `fastly-reference-architectures`: Curated GitHub repositories demonstrating working reference architectures on Fastly, from single Compute applications to systems combining multiple Fastly products.
- `falco`: VCL development with [Falco](https://github.com/ysugimoto/falco), covering linting, testing, simulation, formatting, REPL, and Terraform integration.
- `fastlike`: Running Fastly Compute locally with [Fastlike](https://github.com/avidal/fastlike), covering backend configuration, builds, and testing.
- `viceroy`: Running Fastly Compute locally with [Viceroy](https://github.com/fastly/Viceroy), covering serving, configuration, testing, and SDK adaptation.
- `xvcl`: The [XVCL](https://dip-proto.github.io/xvcl/) VCL transpiler, covering syntax extensions, subroutines, header manipulation, and caching logic.

Each skill lives under `skills/` with a `SKILL.md` entrypoint and a `references/` directory containing detailed topic files.

**Important:** SKILL.md files reference companion files in their `references/` directory. Make sure your agent is allowed to read from these directories, otherwise it won't be able to follow the references and will miss important context.

## Runtime requirements

These skills are intended for coding environments that can read project files and run commands.
Install the tools for the workflows you use; installing the plugin does not install its developer tools or connect a Fastly account.

<details>
<summary>Workflow-specific requirements</summary>

| Workflow                                  | Requirements                                                                               |
| ----------------------------------------- | ------------------------------------------------------------------------------------------ |
| Fastly CLI and traffic statistics         | Fastly CLI and locally configured authentication; `curl` and `jq` for raw API examples     |
| NGWAF assessment script                   | Bash, `curl`, `jq`, and a locally configured `FASTLY_API_KEY` with access to the workspace |
| VCL linting, unit tests, and simulation   | Falco; installation requires Homebrew or Go                                                |
| XVCL compilation                          | uv with `uvx` and access to the XVCL package; Falco for the local checks                   |
| Local Compute development                 | Fastlike or Viceroy, plus the build tools and WASM targets required by the application     |
| Fastly Fiddle tests                       | Bash, `curl` 7.76 or newer, `jq`, and network access to Fastly Fiddle                      |
| Documentation and reference architectures | A browser or HTTP client; Git when cloning examples or tool sources                        |

Each skill describes its prerequisites and installation options.
Package installation and source builds may need network access.
Bundled scripts and examples are resolved from the installed skill directory, while your project files stay relative to your project's working directory.

</details>

Set up Fastly authentication yourself using the CLI's interactive login or local configuration.
Do not paste API keys into a conversation, include them in project files, or share command output that reveals them.
Choose credentials with only the permissions needed for the task.

## Support and privacy

For questions about these skills or to report a bug, open an issue in the [GitHub issue tracker](https://github.com/fastly/fastly-agent-toolkit/issues).
Report security issues privately through the process in [SECURITY.md](SECURITY.md).

Read [Privacy and data handling](PRIVACY.md) for details about local credentials, account data, and public Fiddle uploads.
Fastly's [privacy policy](https://www.fastly.com/privacy) and [terms of service](https://www.fastly.com/terms) describe the applicable Fastly policies and service terms.
The skills are available under the [MIT license](LICENSE).

## Usage

Pick the skills relevant to your project. You probably don't need all of them.

### Manual copy

If your agent supports the `.agents/skills/` convention, this is the most portable option. Agents that use this location include Amp, Cline, Codex, Cursor, Gemini CLI, GitHub Copilot, Kimi Code, OpenCode, Replit Agent, Swival, and Warp.

Install into the current project:

```bash
mkdir -p .agents/skills
cp -R ./skills/{falco,viceroy} .agents/skills/
```

Install globally (for agents that support `~/.agents/skills/`):

```bash
mkdir -p ~/.agents/skills
cp -R ./skills/{falco,viceroy} ~/.agents/skills/
```

If your agent doesn't support `.agents/skills/`, expand the agent-specific instructions below.

Agent-specific installation

### [Claude Code](https://code.claude.com/docs/en/overview)

Install the bundled skills as a plugin:

```bash
claude plugin install fastly-agent-toolkit@claude-plugins-official
claude plugin list
```

### [Codex](https://github.com/openai/codex)

Install the bundled skills as a plugin:

```bash
codex plugin marketplace add https://github.com/fastly/fastly-agent-toolkit.git
codex plugin add fastly-agent-toolkit@fastly-agent-toolkit
```

### Perplexity

In Perplexity Computer, open **Plugins → Add custom → Import plugin from GitHub** and paste `https://github.com/fastly/fastly-agent-toolkit`.
You need a plan that includes Computer and, for organization accounts, permission to import custom plugins.

To upload a ZIP instead, install the [validation dependencies](CONTRIBUTING.md#run-the-repository-checks) and run this from the repository root:

```bash
make package
```

Choose **Plugins → Add custom → Upload plugin** and select `tmp/fastly-agent-toolkit-<version>.zip`, using the version from `plugin.json`.
The generated archive puts `plugin.json` at its root and includes each skill's supporting files.
The package checks enforce Perplexity's limits of 32 skills, 1,000 files, and 20 MB uncompressed.
See Perplexity's [custom plugin instructions](https://www.perplexity.ai/help-center/en/articles/2026100802-create-or-upload-a-custom-plugin).

After either installation method, open the plugin on the **Installed** tab and confirm that every skill in [Available skills](#available-skills) is listed.
This is a skills-only plugin with no MCP connectors; tools and Fastly authentication still need the separate setup described in [Runtime requirements](#runtime-requirements).

### [Swival](https://swival.dev/)

Stage the collection in your library first, then add the skills you want:

```bash
swival skills add --global https://github.com/fastly/fastly-agent-toolkit  # stage into ~/.config/swival/library
swival skills add fastly-agent-toolkit                                     # install the collection into this project
swival skills add --global fastly-agent-toolkit                            # or activate it in every project
```

Prefer only a couple of skills? Activate them by name instead of the whole collection: `swival skills add falco`, `swival skills add viceroy`.

### [Qwen Code](https://qwenlm.github.io/qwen-code-docs/en/users/overview/)

Qwen Code requires the experimental skills feature. Enable it by adding to `.qwen/settings.json`:

```json
{
  "tools": {
    "experimental": {
      "skills": true
    }
  }
}
```

Then copy skills to the project directory:

```bash
mkdir -p .qwen/skills
cp -R ./skills/{falco,viceroy} .qwen/skills/
```

### [Gemini CLI](https://geminicli.com/)

Gemini CLI supports `.agents/skills/` as shown above. You can also link the whole repository using Gemini's extension workflow:

```bash
gemini extensions link .
```

Swap `{falco,viceroy}` for whatever combination you need. For VCL work, `falco` and `xvcl` are the most useful. For Fastly Compute, grab `fastly-cli` and either `viceroy` or `fastlike`.

### Using the `skills` CLI

The [`skills`](https://github.com/vercel-labs/skills) CLI installs skills into the standard `.agents/skills/` directory and automatically symlinks them into agent-specific directories. It supports most agents out of the box.

Install into the current project:

```bash
bunx skills add github:fastly/fastly-agent-toolkit --skill falco --skill viceroy
# or with node:
npx skills add github:fastly/fastly-agent-toolkit --skill falco --skill viceroy
```

Install globally (available across all projects via `~/.agents/skills/`):

```bash
bunx skills add -g github:fastly/fastly-agent-toolkit --skill falco --skill viceroy
```

## Skill format

Each skill lives in its own directory as a `SKILL.md` file with YAML frontmatter following the [Agent Skills spec](https://agentskills.io/specification).
The skills are validated with [`skillscheck`](https://github.com/Swival/skillscheck).

## Contributing new skills

See [CONTRIBUTING.md](CONTRIBUTING.md).

© fastly · MIT · fastly/fastly-agent-toolkit

Похожие плагины

Все плагины по теме «DevOps и инфраструктура» →
next-ai-drawio DayuanJiang Собирает диаграммы draw.io по описанию на обычном языке и показывает их в браузере сразу, по ходу работы Claude. ★ 36 398звёзд репо terraform официальный HashiCorp Подключает к Claude MCP-сервер Terraform: агент работает с экосистемой Terraform и помогает писать конфигурации Infrastructure as Code. ★ 44 635звёзд репо mcp-tunnels официальный Anthropic Соединяет Claude с MCP-сервером внутри вашей сети через туннель Anthropic: без входящих портов и публичного доступа. ★ 44 635звёзд репо gitlab официальный GitLab Подключает GitLab к Claude Code: агент работает с репозиториями, мерж-реквестами, пайплайнами, задачами и вики прямо из чата. ★ 44 635звёзд репо google-cloud-developer официальный Google LLC Плагин помогает агенту настраивать Google Cloud, выбирать учётные данные и проверять команды gcloud. MCP-сервер подключает актуальную документацию Google. CX Codex ★ 21 578звёзд репо desktop-commander Desktop Commander Связывает Claude Code с локальным MCP-сервером для работы в терминале, управления процессами, чтения офисных документов и настройки заметок. ★ 10 107звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой