手工川 Logo手工川
Lovstudio.AI Skill / Dev·FREE · OPEN SOURCE

IPRoyal 链式出口

把 IPRoyal 静态 IP 挂到 RayLink 加密节点后面,让 AI 网站稳定走固定出口,可验证、可回滚

基本信息

你会用它完成什么

把 IPRoyal 静态住宅 IP 经 RayLink 加密节点链式接入 Clash Verge,让 AI 网站走固定出口,可验证、可回滚。 Use for "把 IPRoyal 加入 RayLink", "IPRoyal 直连连不上", "chain IPRoyal behind RayLink".

适用场景
Dev
当前版本
v0.1.0

开始前

先确认能不能跑

运行环境
Clash Verge Rev 2.0+ (mihomo) with a RayLink subscription and an IPRoyal ISP proxy. Python 3.8+ standard library; node optional for a syntax check. Automatic restart on macOS; manual restart on Windows/Linux.
账号与密钥
IPRoyal proxy string supplied by the user through an environment variable or file; never stored in the Profile or printed

没有 Claude 或 GPT 账号也可以试:Skill 不绑定某一家模型,Claude 效果最稳,GPT 也可以;手里只有国产工具时,可以从下方的 WorkBuddy 安装入口开始,效果可能有差距。

安装渠道

装到你正在使用的 AI

Yoda、Codex、Claude Code 和其他兼容运行环境都使用同一份 Skill;选择你的工具后,按对应步骤完成安装。

先保存一次工作资料,支持 Profile 的 Skill 会在运行时直接复用。

配置工作资料

安装与配置

Yoda

适合同时使用多个 Agent 的工作流:在一个地方完成安装、分配和调用。

  1. 01打开 Yoda 的 Skills,搜索「iproyal-raylink」,进入详情后点击“安装”。
  2. 02在目标 Agent 的配置中,把该 Skill 设为“自动”“仅手动”或“关闭”。
  3. 03重新加载当前会话,再从输入框的 Skill 菜单选择它;Yoda 会按当前 Runtime 插入对应调用命令。
打开 Yoda

在 Yoda 内完成

Yoda 会把安装后的 Skill 同步给已配置的 Agent,无需手动维护多个目录。

第一次调用

使用 lov-iproyal-raylink 完成以下任务,并按 Skill 的验收标准检查结果:

该 Skill 声明:Clash Verge Rev 2.0+ (mihomo) with a RayLink subscription and an IPRoyal ISP proxy. Python 3.8+ standard library; node optional for a syntax check. Automatic restart on macOS; manual restart on Windows/Linux.

使用说明

按这套方法完成任务

Version

把 IPRoyal 静态住宅 IP 经 RayLink 的加密节点链式接入 Clash Verge Rev,让 AI 网站稳定走这个固定 IP;写入前可预览,写入后可验证、可移除、可回滚。

为什么不能直接用 IPRoyal

IPRoyal ISP 只提供明文 HTTP / SOCKS5 入口。从国内直连时,目标域名在明文里可见:被墙网站会被重置,随后约 90 秒连代理端口本身都连不上;没被墙的网站也会被 IPRoyal 随机拒绝一部分。挂到 RayLink 的加密节点后面就稳定了。详见 references/why-chain.md。

安装

npx lovstudio skills add iproyal-raylink

本地源码安装:

ln -s "$(pwd)" "${SKILL_SKILLS_INSTALL_DIR:?请设置本地 Skills 目录}/lov-iproyal-raylink"

使用

对 Agent 说「把 IPRoyal 加入 RayLink」即可。手动运行:

export IPROYAL_PROXY='主机:端口:用户名:密码'      # IPRoyal 后台复制的字符串,在你自己的终端里设置
python3 scripts/iproyal_raylink.py detect          # 只读:找到 RayLink 配置
python3 scripts/iproyal_raylink.py apply           # 预览
python3 scripts/iproyal_raylink.py apply --apply --restart   # 写入并重启(macOS)
python3 scripts/iproyal_raylink.py verify          # 验证 AI 网站出口 IP

常用参数:

参数默认说明
--carrierTCP 稳定承载 IPRoyal 的 RayLink 加密分组
--exposeRayLink 代理,AI 网站代理列出 IPRoyal 出口 的分组
--selectAI 网站代理排第一并被选为 IPRoyal 出口 的分组
--typehttpsocks5 时用 12324 端口
--wrap-existing关脚本已有自定义 main 时自动包装
--restart关macOS 自动重启 Clash Verge 并设置选择

移除与回滚(默认都只预览):

python3 scripts/iproyal_raylink.py remove --apply
python3 scripts/iproyal_raylink.py rollback --apply --restart

用户 Profile(跨 session)

在 skill.yaml 声明 user-profile/v1。只保存非敏感偏好(例如承载分组、默认选择)到 skills.lov-iproyal-raylink.records;IPRoyal 账号密码不进入 Profile。详见 references/user-profile.md。

原子组合

单个 Skill;lov-clash-tun-doctor 是可选的下游诊断。见 references/skill-composition.md。

可信度卡与用户案例

质量门

python3 scripts/validate_skill.py .

依赖

  • Python 3.8+(仅标准库)
  • 可选:PyYAML、node

License

MIT

案例

用过这个 Skill?分享你满意的真实成果,可以手动填写,也可以交给 Agent 整理。

正在读取案例…

SKILL CARD / TRUST RECORD

先看证据,再决定是否使用

Chains an IPRoyal ISP static residential proxy behind an encrypted RayLink group in Clash Verge Rev, exposes it as an exit for AI sites, verifies the exit IP on the running core, and supports remove and rollback.

CARD v0.1.0

适用场景

A standalone IPRoyal profile fails or is intermittent; the user wants AI sites to leave through the fixed IPRoyal IP reliably

维护方 · LovStudio

输出契约

A reloaded Clash Verge runtime where AI 网站代理 uses IPRoyal 出口, carried by a RayLink TCP group, with a pass/fail verification report.

node --check before writing when node exists;verify: exit group loaded, chained delay test succeeds, trace IP equals the IPRoyal address

依赖与环境

IPRoyal proxy string supplied by the user through an environment variable or file; never stored in the Profile or printed

风险与缓解

Overwriting a user's custom Clash Verge script · Refuses custom scripts unless --wrap-existing; dry run by default; timestamped backup; remove restores the original main byte-for-byte

+4 项

DIMENSIONS

维度地图

3 维度

Exit correctness

AI traffic leaves through the IPRoyal address via the RayLink carrier

Sandbox runs on a real mihomo 1.19.32 core: verify pass, trace IP equal to the IPRoyal address, chained delay 322–333 ms; mihomo -t passed for both script states

Safety and reversibility

Dry run by default, backups on every write, clean removal

remove restored a wrapped custom script byte-for-byte; rollback restored the newest backup; custom scripts refused without --wrap-existing

Portability

Runs on other users' machines without extra packages or private paths

Standard library only; platform data-dir resolution; Unix socket and TCP controller discovery; RayLink profile auto-detection by group names

VALUE CARD

价值与交付边界

把 IPRoyal 静态 IP 挂到 RayLink 加密节点后面,让 AI 网站稳定走固定出口,可验证、可回滚。

开源免费

免费

直接安装使用

价值锚点

省去排查“IPRoyal 单独配置为何连不上”的半天到一天,以及手工改脚本、重启、验证的往返。

使用边界

只处理一个 RayLink 配置的接入、验证、移除与回滚;不含购买代理、RayLink 服务端改造或其他机场承载。

维护说明

随 Clash Verge Rev、mihomo 与 RayLink 订阅结构变化复评。

用户评价与留言

登录后即可留言

分发渠道

在哪里可以获得它

这里标注这个 Skill 在各个平台的真实发布状态;有单品页时,入口会直接打开对应页面。

已发布

GitHub

公开源码、更新记录与 Issue 都在这里。

查看 GitHub
LS已发布

Lovstudio.AI 官网

在 Lovstudio.AI 获取、安装并查看使用说明。

你正在浏览此页面

WB暂未发布

WorkBuddy

该平台的单品页尚未发布。

单品页发布后会在这里出现。

SP暂未发布

支付宝 SkillPay

该平台的单品页尚未发布。

单品页发布后会在这里出现。

搭配使用

需要时,继续补齐这些能力

更多信息

权限与许可

源码可见性
公开仓库,可检查源码、Issue 与更新记录。
数据与权限
不同 Skill 可能读取本地文件、访问网络或调用第三方模型。执行前请检查完整手册中的具体步骤与命令。
许可
MIT
clash-vergemihomoraylinkiproyalproxy-chain

NEXT STEP

一个会员,全部 Skill。

回到目录,按结果、证据和依赖继续挑选;开通 VIP 后,每个 Skill 都能直接安装。

返回当前 Skills 结果

手工川 / KEEP MAKING

生命的意义,在于创作。