old-phone-tailnet
把没有 root 的旧安卓手机接进 Tailscale 私网:Termux + 用户态 Tailscale + 只认公钥的 SSH + 本机无线 ADB + Chrome 调试口。附提示词和 Claude Code skill。
Install / Use
npx skills add ythx-101/old-phone-tailnetInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of old-phone-tailnet
old-phone-tailnet scores 70/100 on our quality scale, 3788th of 4,582 Development & Engineering skills we index.
Its SKILL.md is 2.0 KB long, well organised into 10 sections with 1 code example: moderately detailed.
It has 42 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated yesterday, so old-phone-tailnet is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
old-phone-tailnet compared with similar skills
All 4 of these similar skills score higher than old-phone-tailnet; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| old-phone-tailnet (this skill)by ythx-101 | 70 | 42 | 1d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 102.4k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 65.7k | 4d ago | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 45.0k | 5d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 33d ago | SKILL.md |
Frequently asked questions
- How do I install old-phone-tailnet?
- Run
npx skills add ythx-101/old-phone-tailnet. The install tabs above show the steps for each supported agent. - Which AI agents does old-phone-tailnet work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is old-phone-tailnet safe to use?
- It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is old-phone-tailnet still maintained?
- The repository was last updated yesterday, so old-phone-tailnet is actively maintained.
Skill content
View source on GitHubold-phone-tailnet · 旧手机接进私网
把一台没有 root 的旧安卓手机接进你自己的 Tailscale 私网:在电脑上 ssh 进手机,再通过 localhost:9222 用 CDP 访问手机上的 Chrome。
Termux + 用户态 Tailscale + 只认公钥的 SSH + 本机无线 ADB + Chrome 调试口

三种用法,挑一种
1. 复制提示词(最简单)
把 prompt.md 整段贴给任何一个 AI 助手(Claude、ChatGPT、DeepSeek、豆包都行),它会一步一步带你配完。
2. 装成 Claude Code skill
git clone https://github.com/ythx-101/old-phone-tailnet
mkdir -p ~/.claude/skills
cp -r old-phone-tailnet/skills/old-phone-tailnet ~/.claude/skills/
然后在 Claude Code 里说「帮我把旧手机接进私网」。SSH 打通之前它带你一步步在 Termux 里操作;打通以后,它可以直接替你跑自检。
3. 自己照着脚本做
| 脚本 | 在哪跑 | 做什么 |
|---|---|---|
| install-tailscale.sh | 手机 Termux | 下载 Tailscale 官方最新静态版到 ~/bin |
| harden-ssh.sh | 手机 Termux | 关闭密码登录,只认公钥(会先检查公钥已经放好) |
| start.sh | 手机 Termux | 一键拉起唤醒锁、sshd、Tailscale,并启动 adb 掉线重连和 9222 转发 |
| check.sh | 手机 Termux | 只读自检:SSH、Tailscale、adb、9222、公网隧道 |
| pc-connect.sh | 电脑 | 经 Tailscale 把手机的 9222 转发到电脑本机 |
完整步骤见 SKILL.md。

需要准备
- Android 11 或更新的手机(无线调试从 11 开始才有),连着 Wi-Fi
- 从 F-Droid 装的 Termux
- 一台装好 Tailscale 的电脑
为什么这么配
- 用户态 Tailscale:不占安卓唯一的 VPN 位,能和代理工具同时开。
- adb 连回自己:不用 root,也能在手机上用 adb,转发 Chrome 的调试套接字。
- 只走私网:SSH 和 9222 都不暴露到公网,只有你 Tailscale 里的设备能连。
安全
能 SSH 进这台手机的人,也能通过 adb 和 Chrome 调试口操作它,包括手机上已经登录的网页。所以:
- 私钥保管好,SSH 只认公钥;
- 不开公网隧道,只走 Tailscale;
- 注意:用户态 Tailscale 会把发到手机 100.x 的连接转给手机本机,tailnet 里的设备不用 SSH 就能直接连
100.x:9222。tailnet 里有别人的设备时,用 Tailscale ACL 只放行 8022(示例见 SKILL.md 第 8 步); adb tcpip 5555会在 Wi-Fi 上监听 5555,只关「无线调试」不一定关得掉。在公共 Wi-Fi 下请关掉「USB 调试」或重启手机;- 最好用一台专门的旧手机,不装银行和支付类 App。
已知限制
- 重启手机后「无线调试」会自动关掉,需要手动打开一次,再运行
bash start.sh <IP>:<端口>。 - userspace 模式下,手机上的其他 App 不能主动访问私网里的其他机器,但从外面连进手机不受影响。
- Android 12 起系统会杀 Termux 的后台子进程,要按 SKILL.md 第 4 步解除限制。
- 不同品牌的系统省电策略不一样。如果 Termux 老被杀,在系统设置里把它加进省电白名单,并在多任务界面锁住它。
License
MIT · 青月 @YuLin807
Related Skills
taste-skill
102.4kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
65.7kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
45.0kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
