Toolverse
All skills

vpn-rotate-skill

by openclaw

Bypass API rate limits by rotating VPN servers. Works with any OpenVPN-compatible VPN (ProtonVPN, NordVPN, Mullvad, etc.). Automatically rotates to new server every N requests for fresh IPs. Use for high-volume scraping, government APIs, geo-restricted data.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
Backend

About this skill

Bypass API rate limits by rotating VPN servers. Works with any OpenVPN-compatible VPN (ProtonVPN, NordVPN, Mullvad, etc.). Automatically rotates to new server every N requests for fresh IPs. Use for high-volume scraping, government APIs, geo-restricted data.

How to use

  1. Zainstaluj OpenVPN na swoim systemie (na Linuksie: sudo apt install openvpn). Pobierz pliki konfiguracyjne .ovpn od swojego dostawcy VPN i umieść je w katalogu ~/.vpn/servers/.

  2. Utwórz plik z danymi logowania: echo "twoja_nazwa_użytkownika" > ~/.vpn/creds.txt, a następnie echo "twoje_hasło" >> ~/.vpn/creds.txt. Ustaw uprawnienia: chmod 600 ~/.vpn/creds.txt.

  3. Skonfiguruj dostęp bez hasła dla OpenVPN, uruchamiając: echo "$USER ALL=(ALL) NOPASSWD: /usr/sbin/openvpn, /usr/bin/killall" | sudo tee /etc/sudoers.d/openvpn. Alternatywnie uruchom skrypt setup.sh, który przeprowadzi Cię przez całą konfigurację.

  4. W swoim kodzie Python użyj dekoratora @with_vpn_rotation(rotate_every=10, delay=1.0) nad funkcją, którą chcesz chronić. Skill automatycznie będzie rotować VPN co 10 żądań i uzyskiwać nowe adresy IP.

  5. Możesz też bezpośrednio używać klasy VPN: utwórz instancję vpn = VPN(), połącz się vpn.connect(), sprawdź IP vpn.get_ip(), a następnie rotuj vpn.rotate() przed każdym żądaniem.

  6. Dla bardziej zaawansowanego użytku zastosuj menedżer kontekstu: with vpn.session(): połączenie jest aktywne, a vpn.before_request() obsługuje rotację automatycznie. Po wyjściu z bloku połączenie zostaje zamknięte.

Related skills

supabase-developer

by daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

Backend
78170

using-superpowers

by obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

Backend
65167

context-optimizer

by openclaw

Advanced context management with auto-compaction and dynamic context optimization for DeepSeek's 64k context window. Features intelligent compaction (merging, summarizing, extracting), query-aware relevance scoring, and hierarchical memory system with context archive. Logs

Backend
2964

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582

seedream-image-gen

by openclaw

Generate images via Seedream API (doubao-seedream models). Synchronous generation.

Backend
6235

pdf-to-markdown

by aliceisjustplaying

Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions \

Backend
355664