eg-extension

Create EnvoyExtensionPolicy resources to attach ExtProc, Wasm, or Lua extensions to Gateway, HTTPRoute, or Backend targets.

3|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/missBerg/envoy-skills --skill eg-extension
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eg-extension
Source: https://github.com/missBerg/envoy-skills/tree/main/gateway/adopters/skills/eg-extension
Command: npx skills add https://github.com/missBerg/envoy-skills --skill eg-extension

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extend Envoy Gateway data plane with ExtProc, Wasm, or Lua extensions via EnvoyExtensionPolicy to customize request/response handling and observability.

Core Features & Use Cases

  • Create EnvoyExtensionPolicy to attach ExtProc, Wasm, or Lua extensions to Gateway, HTTPRoute, or Backend targets.
  • Supports ExtProc (out-of-process gRPC), Wasm (in-process or OCI+HTTP), and Lua inline or ConfigMap scripting for lightweight transforms.
  • Use cases include custom authentication, header manipulation, request/response transformation, and model routing/observability integration with Envoy AI Gateway.

Quick Start

Define your extension type and target, then apply the policy to enable the extension.

Frequently Asked Questions about eg-extension

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extend Envoy Gateway with custom Lua scripts?

To extend Envoy Gateway with Lua, you create an EnvoyExtensionPolicy resource that references a Gateway, HTTPRoute, or Backend target and configures inline or ConfigMap Lua scripts for lightweight request and response transformations.

Can I use ExtProc to inject external processing into Envoy Gateway?

Yes, you can use ExtProc to inject external processing by defining an EnvoyExtensionPolicy with a targetRefs entry and an extProc configuration that points to a deployed gRPC service for out-of-process request handling.

What is the best way to attach a Wasm filter to an HTTPRoute in Envoy Gateway?

The best way to attach a Wasm filter is by applying an EnvoyExtensionPolicy to the HTTPRoute target, specifying a wasm configuration that loads your in-process or OCI and HTTP fetched Wasm module into the data plane.

Does Envoy Gateway support EnvoyExtensionPolicy for custom authentication and header manipulation?

Yes, Envoy Gateway supports EnvoyExtensionPolicy for custom authentication and header manipulation by allowing you to attach ExtProc, Wasm, or Lua extensions to Gateway, HTTPRoute, or Backend targets.

How do I configure an EnvoyExtensionPolicy for model routing observability in Envoy AI Gateway?

You configure an EnvoyExtensionPolicy for model routing observability by setting a targetRefs entry and applying ExtProc, Wasm, or Lua extension configurations to inject custom metrics and routing logic into the Envoy AI Gateway data plane.