Remnawave Xray logo

Remnawave Xray

Community
Case211
remnawave-xray

Use when working with a Remnawave VPN stack — designing, generating, or debugging selfsteal nodes built on VLESS + Reality + XTLS-Vision (Xray-core), Caddy selfsteal masking, and mihomo (Clash.Meta) client configs. Triggers on: Remnawave panel/node, selfsteal, Reality/Vision handshake, xray config, Caddyfile, mihomo/clash yaml, routing/сплит-туннель, гео-разблок (OpenAI/Gemini), WARP outbound, "нода не подключается", "Reality палится", "handshake fail", генерация конфигов нод. Covers stack reference, config generation with validated defaults, an executable consistency validator, and symptom→cause→fix diagnostics.

Overview

PublisherCase211
Repositoryskill-remnawave-xray
Skill nameremnawave-xray
Stars
69
Forks
7
Bundled files
18
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 18 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Case211 on GitHub. Read the source before you install it.

Installation

Install the Remnawave Xray AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Case211/skill-remnawave-xray/tree/main/skills/remnawave-xray
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Case211/skill-remnawave-xray.git /tmp/skill-remnawave-xray
mkdir -p .claude/skills
cp -r /tmp/skill-remnawave-xray/skills/remnawave-xray .claude/skills/remnawave-xray
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Remnawave Xray in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Remnawave Xray on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Remnawave Xray is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Remnawave-Xray — selfsteal-ноды (Xray Reality + Caddy + mihomo)

Скилл под конкретный стек: Remnawave (оркестратор панель→нода) → Xray-core (VLESS+Reality+XTLS-Vision на ноде) → Caddy (selfsteal-заглушка на той же машине) → mihomo/Clash.Meta (клиент). Три режима: справочник, генератор конфигов, диагностика.

Данные собраны из первоисточников (исходники XTLS/Xray-core, wiki mihomo, docs.rw, selfsteal.sh DigneZzZ) на 2026-07-01, сверены с Panel 3.2.3 / Node 3.1.1 / Xray v26.7.28 на 2026-08-11. Факты, помеченные в подфайлах как «НЕТОЧНО» — проверять под свою версию.

Когда использовать

  • Поднять/починить selfsteal-ноду (Xray Reality + Caddy на одном сервере).
  • Сгенерировать рабочий конфиг: Xray inbound, Caddyfile, mihomo yaml.
  • Разобрать симптом: нода offline, Reality палится/handshake fail, Caddy 502, mihomo не коннектится.
  • Не запутаться в специфике: порты, ключи, что с чем совпадает, что выпилено из ядра.

Архитектура в двух словах

                         :443 (0.0.0.0)
  клиент mihomo ──TLS──►  Xray-core (VLESS+Reality+Vision)
                            │
              Reality-auth OK ├─► расшифровка VLESS, проксирование трафика юзера
                            │
              auth FAIL ─────┴─► прозрачный форвард (raw TCP + PROXY-proto xver:1)
                                  ──► Caddy  :9443 (127.0.0.1)  ──► реальный сайт-заглушка
                                      Caddy :80 (0.0.0.0) держит ACME HTTP-01 сам

Смысл selfsteal: dest Reality = твой собственный домен с настоящим ACME-сертом и реальным сайтом за Caddy. Активный пробинг видит обычный сайт — неотличимо. Детали и таблица портов → reference/architecture.md.

Железные инварианты (нарушишь — не работает или палится)

  1. Порт 443. Не-443 ядро само помечает warning'ом → быстрый бан IP. Слушать только 443.
  2. Согласованность selfsteal: realitySettings.dest → локальный Caddy (напр. 127.0.0.1:9443); serverNames == SELF_STEAL_DOMAIN; SELF_STEAL_PORT совпадает в Caddyfile (https_port) и в Xray dest. Разъехались — handshake или заглушка ломаются.
  3. Домен selfsteal — DNS-only (серое облако), НЕ под Cloudflare-proxy. Оранжевое облако терминирует TLS у себя, ключа Reality не имеет → ломает и ACME, и сам Reality. (Не путать с отдельной техникой Reality+CDN/XHTTP — это другой инбаунд, см. xray-reality.md.)
  4. Flow только xtls-rprx-vision, одинаковый на сервере и клиенте, только поверх raw TCP. Legacy XTLS-flow (-direct/-splice/-origin) — мёртвая ошибка в коде.
  5. Клиент (mihomo): client-fingerprint обязателен при reality-opts — без него handshake не поднимется (REALITY is based on uTLS...). global-client-fingerprint выпилен в 1.19.27 — только per-proxy.
  6. Ключи: privateKey/publicKey — ровно 32 байта; publicKey клиента = xray x25519 -i "<server privateKey>"; shortId ≤16 hex, чётная длина; на клиенте — единственное число serverName/shortId (множественное = ошибка парсинга).
  7. Никаких apple/icloud в serverNames (ядро выдаёт warning + бан по GFW). Никакого allowInsecure (выпилен в v26.2.6). show: false в проде.
  8. Инфра ноды: network_mode: host для Xray и Caddy; порт 80 открыт (ACME); порт ноды (control-API панель→нода) открыт только для IP панели; связь панель→нода двухслойная (mTLS + JWT RS256, SECRET_KEY = base64-JSON с сертами). Внутренний API Xray — 127.0.0.1:61000/unix-socket (не «61001»), не трогать.
  9. Reality-сервер с v26.7.28 требует клиента ≥ 26.3.27 — появился дефолт "minClientVer": "26.3.27". Обновил ноду — старые клиенты (и старые сборки Happ/mihomo на древнем ядре) отваливаются молча со стороны юзера. Снимается явным minClientVer в realitySettings, но это осознанный откат защиты, а не «починка».
  10. VLESS и Trojan без шифрования наружу запрещены ядром с v26.7.28. Outbound без security (TLS/Reality) и без VLESS Encryption на публичный адрес роняет конфиг на старте: vless without TLS or other encryption is prohibited unless the server address is a private IP or domain. Приватные IP и домены (127.0.0.1, локалка) по-прежнему можно — на них держится связка «нода → локальный сервис». Бьёт по plain-мостам «нода → публичный origin»: там нужен Reality/TLS либо VLESS Encryption.

Куда смотреть

ЗадачаФайл
Как устроена нода, порты, потоки данных, xver/proxy_protocolreference/architecture.md
Reality/Vision: параметры, dest, ключи, post-quantum, анти-пробинг, что выпиленоreference/xray-reality.md
Caddy selfsteal: Caddyfile, ACME, listener_wrappers, DNS-only доменreference/caddy-selfsteal.md
mihomo клиент: yaml, VLESS+Reality запись, DNS/rules/sniffer/tun, граблиreference/mihomo.md
Панель: Config Profile→Inbound→Host, node-agent, автогенерация pubkeyreference/remnawave.md
Другие транспорты: xhttp / ws / grpc / httpupgrade / mkcp / hysteria (HY2)reference/transports.md
Другие протоколы: vmess / trojan / ss / wireguard / VLESS-Encryption + статус HY2/TUIC/AnyTLSreference/protocols.md
Routing: сплит-туннель РФ, гео-разблок (OpenAI/Gemini), WARP outbound, geosite/geoipreference/routing.md
Сгенерировать конфиг под параметры + команды ключейgenerators.md
Проверить готовый конфиг на согласованность (скрипт)python validate.py <config.json> [Caddyfile]
Что-то не работает / палится → симптом→причина→фиксdiagnostics.md
Готовые обезличенные боевые шаблоны (selfsteal / CDN-мост / балансир / mihomo / SRR)examples/

Версии стека (на 2026-08-11 — сверять перед деплоем)

КомпонентВерсияФормат
Remnawave panel3.2.3 (2026-08-10)semver, образ remnawave/backend:3
Remnawave node3.1.1 (2026-08-09)semver, внутри Xray v26.7.28
Xray-corev26.7.28CalVer vYY.M.D
Caddy2.11.4semver
mihomo (Clash.Meta)1.19.29линейка v1.19.x

Ядро отдельно не ставится: нода несёт его в образе (ARG XRAY_CORE_VERSION в её Dockerfile) — версия ядра на ноде определяется версией ноды, а не выбирается.

Чем проверить актуальность (версии тут — снимок на дату сборки):

docker exec remnanode xray version            # ядро на ноде
docker exec caddy-selfsteal caddy version     # Caddy
# ⚠️ у XTLS ВСЕ релизы помечены pre-release, поэтому /releases/latest отдаёт
# устаревший тег (на 2026-08-11 — v26.3.27 вместо v26.7.28). Брать первый из списка:
curl -s 'https://api.github.com/repos/XTLS/Xray-core/releases?per_page=1' | grep tag_name
curl -s https://api.github.com/repos/remnawave/panel/releases/latest | grep tag_name
curl -s https://api.github.com/repos/remnawave/node/releases/latest | grep tag_name
curl -s https://api.github.com/repos/MetaCubeX/mihomo/releases/latest | grep tag_name

Режимы

  • Справочник — вопрос по стеку: открыть нужный reference/*.md, ответить по факту, не по памяти.
  • Генератор — нужен конфиг: generators.md, заполнить плейсхолдеры, прогнать чеклист согласованности, затем python validate.py <config.json> [Caddyfile] — исполняемая проверка тех же инвариантов.
  • Диагностика — сломано: diagnostics.md, от симптома к причине, дать команды проверки.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Remnawave Xray AI skill do?

Use when working with a Remnawave VPN stack — designing, generating, or debugging selfsteal nodes built on VLESS + Reality + XTLS-Vision (Xray-core), Caddy selfsteal masking, and mihomo (Clash.Meta) client configs. Triggers on: Remnawave panel/node, selfsteal, Reality/Vision handshake, xray config, Caddyfile, mihomo/clash yaml, routing/сплит-туннель, гео-разблок (OpenAI/Gemini), WARP outbound, "нода не подключается", "Reality палится", "handshake fail", генерация конфигов нод. Covers stack reference, config generation with validated defaults, an executable consistency validator, and symptom...

Why use Remnawave Xray on TypingMind?

Because you install it once and use it with any model. Remnawave Xray is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Remnawave Xray in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Case211/skill-remnawave-xray/tree/main/skills/remnawave-xray. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Remnawave Xray?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Remnawave Xray?

As many as you like. As long as a model supports skills, you can use Remnawave Xray with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Remnawave Xray AI skill free?

Yes. It is published on GitHub by Case211 under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇