howdeploy/zapret2agent/zapret-config
Claude Code and agent skill by howdeploy/zapret2agent
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install howdeploy/zapret2agent/zapret-configSKILL.md
Skill: zapret-config
Select the optimal DPI bypass strategy by running blockcheck2, then apply it.
When to invoke
- After fresh install (no strategy configured yet)
- When current config doesn't work (sites still blocked)
- When ISP changes their DPI (strategy that worked before stopped working)
- User says "ютуб не открывается" / "телега не работает"
CRITICAL: Check for DNS hijacking first
If detect-state.ps1 shows dns_hijacked: true:
"Провайдер подменяет DNS для заблокированных сайтов. Zapret работает на уровне пакетов и не обходит DNS. Нужно сначала исправить DNS — поменять на 8.8.8.8 или включить DoH."
Fix DNS before running blockcheck:
After setting DNS, verify: Resolve-DnsName youtube.com should return valid IPs.
CRITICAL: blockcheck must run WITHOUT VPN/proxy
Tell user before running blockcheck:
"Важно: если у тебя включён VPN, прокси (NekoBox, Outline, WireGuard) — выключи их перед запуском blockcheck. Иначе результаты будут бесполезны — blockcheck протестирует зарубежный сервер, а не твоего провайдера."
If user cannot disable VPN (loses connection to Claude), explain:
"Понял. Тогда запусти blockcheck самостоятельно: выключи VPN, дважды кликни C:\zapret\blockcheck\blockcheck2.cmd, дожди пока окно само закроется (~10 мин), потом включи VPN и скажи мне — я прочитаю результаты."
Steps
1. Pre-flight
Run detect-state.ps1. Verify:
zapret_installed: trueis_admin: trueservice_status: runningorstopped(notabsent)dns_hijacked: false(fix DNS first if true)vpn_detected: false(disable VPN before blockcheck)
2. Explain blockcheck to user
"Сейчас запущу blockcheck — он автоматически тестирует разные способы обхода блокировок и выбирает лучший для твоей сети. Займёт 5-10 минут. Откроется окно — это нормально, не закрывай его."
3. Backup current config
4. Run blockcheck
Output: { log_path, finished, exit_code }
Log is written to: C:\zapret\blockcheck\blockcheck2.log
Blockcheck takes 5-10 minutes. Window opens and closes automatically. Tell user to wait.
5. Parse results
Output: { strategies[], best_strategy, http_count, tls_count, quic_count, dns_hijack_warning, errors[] }
If `dns_hijack_warning: true`: DNS fix is needed — see CRITICAL section above.
If `tls_count: 0` and `http_count > 0`: Only HTTP strategies found. This is common — most blockcheck runs find more HTTP strategies. The config builder will apply the HTTP strategy to TLS connections as well (usually works).
Present to user:
"Blockcheck нашёл X HTTP-стратегий и Y TLS-стратегий. Лучшая стратегия: [lua_desync value]. Применить?"
6. Apply strategy
This writes to C:\zapret\config\zapret.conf and recreates the service.
7. Deploy rollback timer
Tell user:
"Применил новую стратегию. Проверь — открывается ли YouTube и Telegram?Если да — скажи 'работает' и я отменю таймер. Если нет — через 3 минуты автоматически откатится."
8. User confirms → cancel timer
Strategy Selection Logic
blockcheck2 uses lua-desync strategies. Priority (best → worst):
fakedsplit+tcp_md5— most reliable, works on most Russian ISPsfakeddisorder+tcp_md5— aggressive splittingfakedsplit(without tcp_md5)multidisorder,multisplit— simpler variantsfakewith blob — packet spoofingoob— out-of-band data (last resort)
Rollback procedure (if strategy fails)
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwindows/.claude/skills/zapret-config/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/howdeploy/zapret2agent/zapret-config)