CORS & Proxy Gov
CommunityNavigate Gov networks: resolve CORS with proxies.
System Documentation
What problem does it solve?
Government networks and enterprise firewalls often block direct browser requests to external APIs, making MVPs or front-end apps unable to fetch data from services like Dados Abertos, PNCP, ViaCEP, and BrasilAPI. This skill provides a layered strategy to overcome CORS and network restrictions in public sector environments, including testing without a proxy, using public proxies for prototyping, and deploying lightweight self-hosted proxies or Nginx configurations for production use.
Core Features & Use Cases
- Direct access first: Validate whether the target API allows CORS from the browser without any intermediary.
- Public proxy for prototyping: Quick, disposable proxy options to unblock development when production proxies are not yet in place (not recommended for production data).
- Self-hosted proxy options: Lightweight Node.js proxy (Coolify/Easypanel) to add a controlled CORS layer, plus guidance for an Nginx reverse proxy for more robust deployments.
- Operational guidance: Clear layering, origin whitelisting, timeouts, and security considerations for deployments in gov networks.
Quick Start
Start by testing direct browser access to the external API and, if blocked, deploy a lightweight proxy on your hosting platform and update your frontend to route API calls through it.
Dependency Matrix
Required Modules
None requiredComponents
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: CORS & Proxy Gov Download link: https://github.com/joabeoliveira/skills/archive/main.zip#cors-proxy-gov Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.