tailscale-setup
它能做什么
该技能指导你设置 Grok Bot 与 Tailscale(一种私有网络服务)的连接。适合希望机器人能够访问私有网络内服务器的人。
适用场景
- ✓当你想把 Grok Bot 连接到公司的 Tailscale 网络的时候。
- ✓当你想把个人 Tailscale 网络连接到 Grok Bot 的时候。
- ✓当 Grok Bot 与 Tailscale 的连接需要排查故障的时候。
技能链接
https://github.com/cursor/plugins/blob/main/third_party/tailscale/skills/tailscale-setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我把 Grok Bot 连接到我们公司的 Tailscale 网络,让它能访问我们的内部工具。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会说明 Grok Bot 中 Tailscale 一行的步骤,包括公司团队的管理员设置、每位成员的设备登录,以及在任何设备或网络更改之前出现的“允许”提示。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Tailscale setup for Grok Bot
Grok Bot desktop has one Tailscale row: Connect apps → Your plugins → Tailscale. The row has one slot per tailnet, labeled with the tailnet name first, then Personal or the team name, then the .ts.net address.
A member can connect several company tailnets at once, plus one personal tailnet at a time. They can add more personal tailnets, but only one is live; to switch, they make another one the default, which parks the current one. An address under a tailnet's .ts.net name goes to that tailnet. A short name or a 100.x address goes to the member's default tailnet. They change the default by asking Grok Bot.
Grok Bot shows an Allow/Deny card before it removes a device, adds a tailnet, or changes the default. Wait for Allow.
Reach tailnet MCP servers through this row. A Tailscale client installed on the bot's computer is wiped when that computer is replaced.
Use one path per tailnet.
Company tailnet
A team admin turns this on once, at cursor.com Integrations → Tailscale. In the Enable Tailscale dialog, enter the tailnet name or click Sign in to Tailscale, check Members' Grok Bot devices may join this tailnet, and click Enable. The tailnet needs Tailscale Premium or Enterprise.
Each member gets their own Grok Bot device, and that device carries the custom:grokbot attribute. Limit that device with postures. Without the posture, the device has the member's own access.
Merge the keys below into the existing policy file. If the policy already has default postures, add "custom:grokbot NOT SET" inside each of them and leave defaultSrcPosture as it is.
{
"postures": {
"posture:grokbot": ["custom:grokbot == true"],
"posture:human": ["custom:grokbot NOT SET"],
},
"defaultSrcPosture": ["posture:human"],
"grants": [
{
"src": ["group:grokbot-mcp-users@example.com"],
"srcPosture": ["posture:grokbot"],
"dst": ["tag:mcp-servers"],
"ip": ["tcp:443"],
},
],
"tests": [
{
"src": "user@example.com",
"srcPostureAttrs": {"custom:grokbot": true},
"accept": ["tag:mcp-servers:443"],
},
],
}
Use the real group, and the tag or host names of the MCP servers, on the ports they listen on. The test's src has to be a member of that group.
The member opens that tailnet's slot and clicks Authenticate. If the tailnet requires device approval, an admin approves the grokbot- device on the Machines page.
Personal tailnet
A personal sign-in to a tailnet the member's team lists as its company tailnet is refused. Use the company slot for that tailnet.
If the member owns or administers the tailnet and one-click Connect is available, Authenticate goes through Tailscale's consent screen and the device works right away. It is untagged and has the owner's access. To grant only specific MCP servers, use the tag path instead.
Otherwise define tag:grokbot and grant it only the MCP servers, then sign in with the tag. Merge into the policy file:
{
"tagOwners": {
"tag:grokbot": ["autogroup:admin"],
},
"grants": [
{
"src": ["tag:grokbot"],
"dst": ["mcp-server.tail1234.ts.net"],
"ip": ["tcp:443"],
},
],
}
tagOwners has to include the user who will sign in, or autogroup:admin. Use the real host names and ports. If the policy still has the default allow-all rule, tag:grokbot can reach every device; say so and narrow the grant.
Who can use it
On a personal tailnet, only the bot owner's messages, linked teammates, and routines the owner schedules. On a company tailnet, only that member's own Grok Bot chats, Slack DMs, and routines they schedule. Slack Connect channels never use a tailnet. Removing the member from the team logs the device out.
Add MCP servers
Add a server by its http:// or https:// address on the tailnet, or add it when the user asks. Use the full name.tailnet.ts.net host when it should use that tailnet. A short name or a 100.x address uses the default tailnet. Split-DNS names and subnet-route addresses use HTTPS on port 443.
Troubleshooting
- Wrong account or tailnet: Sign in again.
- Expired link or expired device: Authenticate again. Company devices follow the tailnet's key expiry.
- "Your tailnet hasn't allowed Grok Bot's Tailscale app": a tailnet admin allows the app, then the member connects again.
- **"Tailscale refused the sign-in key for your comp
常见问题
设置这个需要管理员吗?
对于公司网络,由团队管理员在集成设置中一次性开启 Tailscale。然后每位成员用自己的设备登录。
Grok Bot 会不经询问就更改我的网络吗?
不会。在移除设备、添加网络或更改默认设置之前,它会显示“允许”或“拒绝”卡片。
我能连接多个网络吗?
能。你可以连接多个公司网络,但同一时间只有一个个人网络处于活动状态。
详情
作者的原始描述
Connect Grok Bot to Tailscale on a company tailnet (a team admin enables it at cursor.com; each member authenticates their own device and an admin limits it with custom:grokbot postures) or a personal tailnet (one-click Connect when the member owns or administers the tailnet, otherwise a tag:grokbot device). Several tailnets can be connected at once. Use when the user asks to set up, troubleshoot, change the default tailnet, or disconnect Grok Bot's Tailscale connection.
repo: cursor/plugins
热度
- GitHub 星标
- 15k
- 排名
- #11019
- 许可证
- —
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
advisor
15k如果你开启该功能,让你的智能体在关键节点咨询一个更强的第二模型,例如在重大决定之前,或在错误上卡住时。
check-agent-compatibility
15k全面检查 AI 编程智能体能否启动、验证和记录某个代码仓库,并返回一个兼容性评分以及主要问题。
cli-for-agents
15k教你的智能体设计或审查命令行工具,使 AI 智能体无需提示即可运行,并提供清晰的帮助文字和示例。
continual-learning
15k通过把回顾过往对话的工作交给专门的记忆更新程序,使你的 AGENTS.md 笔记保持最新。