bootstrap-client-ip

Official

Resolve real client IP behind proxies.

Authoragoodway
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you fix incorrect client IP detection in a Phoenix app running behind reverse proxies by deriving the real originating IP from standard proxy headers.

Core Features & Use Cases

  • Client IP resolution with trusted proxies: Extracts the real IP from Fly.io, Cloudflare, and typical X-Forwarded-For / X-Real-Ip headers while skipping trusted proxy CIDRs to reduce spoofing risk.
  • Phoenix plug integration: Creates a plug that assigns :client_ip and :client_ip_string onto conn.assigns for downstream controllers and LiveViews.
  • Config-first setup: Adds default header priority and trusted proxy configuration in config/config.exs, with optional runtime overrides.

Quick Start

Ask your agent to bootstrap client IP handling in your Phoenix 1.8 project by running the bootstrap-client-ip skill and wiring its plug into the browser (and optionally API) pipelines.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bootstrap-client-ip
Download link: https://github.com/agoodway/GoodSkills/archive/main.zip#bootstrap-client-ip

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.