envoy

Envoy expert. Envoy is a high-performance C++ proxy designed for cloud-native applications. Help teams configure Envoy as an API gateway, service-mesh sidecar, and load balancer, leveraging its L4/L7 routing, circuit breaking, rate limiting, TLS termination, gRPC support, and observability features to power Istio, AWS App Mesh, and most modern service mesh implementations.

Last repository push
GitHub Stars
219
Forks
38
Issues / PRs
7

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "envoy" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-07426c90976d11fb1a1af94fbc86439f64c39f5b61e1837a0dfb6f45d547caa5. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Envoy expert. Envoy is a high-performance C++ proxy designed for cloud-native applications. Help teams configure Envoy as an API gateway, service-mesh sidecar, and load balancer, leveraging its L4/L7 routing, circuit breaking, rate limiting, TLS termination, gRPC support, and observability features to power Istio, AWS App Mesh, and most modern service mesh implementations.

0 Downloads

Introduction source: third_party · TerminalSkills · 1.0.0 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: envoy
description: >-
  You are an expert in Envoy, the high-performance C++ proxy designed for
  cloud-native applications. You help teams configure Envoy as an API gateway,
  service mesh sidecar, and load balancer using its L4/L7 routing, circuit
  breaking, rate limiting, TLS termination, gRPC support, and observability
  features — powering Istio, AWS App Mesh, and most modern service mesh
  implementations.
license: Apache-2.0
compatibility: ''
metadata:
  author: terminal-skills
  version: 1.0.0
  category: Infrastructure & DevOps
  tags:
    - proxy
    - service-mesh
    - load-balancer
    - api-gateway
    - observability
    - cloud-native

Envoy Proxy — Cloud-Native Edge and Service Proxy

You are an expert in Envoy, the high-performance C++ proxy designed for cloud-native applications. You help teams configure Envoy as an API gateway, service mesh sidecar, and load balancer using its L4/L7 routing, circuit breaking, rate limiting, TLS termination, gRPC support, and observability features — powering Istio, AWS App Mesh, and most modern service mesh implementations.

Core Capabilities

Static Configuration

# envoy.yaml — API gateway configuration
static_resources:
  listeners:
    - name: http_listener
      address:
        socket_address:
          address: 0.0.0.0
          port_value: 8080
      filter_chains:
        - filters:
            - name: envoy.filters.network.http_connection_manager
              typed_config:
                "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
                stat_prefix: ingress_http
                codec_type: AUTO
                route_config:
                  name: local_routes
                  virtual_hosts:
                    - name: api
                      domains: ["api.example.com"]
                      routes:
                        - match:
                            prefix: "/api/users"
                          route:
                            cluster: users_service
                            timeout: 5s
                            retry_policy:
                              retry_on: "5xx,reset,connect-failure"
                              num_retries: 3
                        - match:
                            prefix: "/api/orders"
                          route:
                            cluster: orders_service
                            timeout: 10s
                        - match:
                            prefix: "/"
                          route:
                            cluster: frontend

                http_filters:
                  - name: envoy.filters.http.cors
                  - name: envoy.filters.http.local_ratelimit
                    typed_config:
                      "@type": type.googleapis.com/envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit
                      stat_prefix: http_local_rate_limiter
                      token_bucket:
                        max_tokens: 100
                        tokens_per_fill: 100
                        fill_interval: 60s
                  - name: envoy.filters.http.router

  clusters:
    - name: users_service
      type: STRICT_DNS
      lb_policy: ROUND_ROBIN
      circuit_breakers:
        thresholds:
          - max_connections: 100
            max_pending_requests: 50
            max_requests: 200
            max_retries: 3
      health_checks:
        - timeout: 2s
          interval: 10s
          healthy_threshold: 2
          unhealthy_threshold: 3
          http_health_check:
            path: /health
      load_assignment:
        cluster_name: users_service
        endpoints:
          - lb_endpoints:
              - endpoint:
                  address:
                    socket_address:
                      address: users-svc
                      port_value: 3000

    - name: orders_service
      type: STRICT_DNS
      lb_policy: LEAST_REQUEST
      load_assignment:
        cluster_name: orders_service
        endpoints:
          - lb_endpoints:
              - endpoint:
                  address:
                    socket_address:
                      address: orders-svc
                      port_value: 3000

admin:
  address:
    socket_address:
      address: 0.0.0.0
      port_value: 9901

Key Features

## Load Balancing
- Round Robin, Least Request, Random, Ring Hash, Maglev
- Zone-aware routing (prefer same-zone backends)
- Weighted clusters for canary deployments

## Circuit Breaking
- Max connections, pending requests, active retries
- Outlier detection: eject unhealthy backends automatically
- Configurable per-cluster thresholds

## Observability
- Built-in Prometheus metrics (/stats/prometheus)
- Distributed tracing (Jaeger, Zipkin, Datadog)
- Access logs (JSON, text, gRPC)
- Admin dashboard (/clusters, /config_dump, /stats)

## TLS
- Automatic TLS termination and origination
- mTLS for service-to-service communication
- SDS (Secret Discovery Service) for dynamic certificate rotation

Installation

# Docker
docker run -d --name envoy -p 8080:8080 -p 9901:9901 \
  -v $(pwd)/envoy.yaml:/etc/envoy/envoy.yaml \
  envoyproxy/envoy:v1.30-latest

# Kubernetes (as sidecar via Istio)
istioctl install
kubectl label namespace default istio-injection=enabled

Best Practices

  1. Circuit breakers — Set per-cluster limits; prevent cascading failures when a downstream service is slow
  2. Health checks — Configure active health checks; Envoy removes unhealthy backends automatically
  3. Retry policies — Retry on 5xx and connection failures; set max_retries and retry budgets to prevent thundering herd
  4. Rate limiting — Use local rate limiting for simple cases; external rate limit service for distributed limiting
  5. Observability — Enable Prometheus stats, access logs, and tracing headers; Envoy provides more metrics than most apps emit
  6. xDS for dynamic config — Use control plane (Istio, custom) for dynamic configuration; avoid static config in production
  7. mTLS everywhere — Enable mutual TLS between services; Envoy handles certificate rotation via SDS
  8. Admin interface — Expose admin on internal port only; /clusters shows backend health, /config_dump for debugging

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供完整的 Envoy 静态配置模板,涵盖 API 网关核心功能
  • 包含负载均衡、熔断、限流、TLS 等生产级特性配置
  • 适用于 Istio、AWS App Mesh 等主流服务网格平台
Trigger Precision90/100

Highlights

  • description 清晰定义 Envoy 专家角色及适用场景
  • 覆盖 L4/L7 路由、gRPC、可观测性等关键技术点
  • 提及主流云平台集成,边界明确
Structure and Standards95/100

Highlights

  • 文档结构清晰,分 Core Capabilities、Key Features、Installation、Best Practices 四大模块
  • frontmatter 完整,包含作者、版本、分类、标签等元数据
  • 提供端到端 YAML 配置示例,可直接用于生产环境
Execution Reliability90/100

Highlights

  • 配置使用标准 Envoy v3 API,语法正确
  • 提供 Docker 和 Kubernetes 两种部署方案
  • 包含健康检查、熔断、重试等容错机制配置
  • 给出管理接口安全最佳实践
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.