langbot-env-setup
它能做什么
这个技能引导 AI 智能体在电脑上运行 LangBot 项目,以便进行测试。适合从事 LangBot 开发的开发者。
适用场景
- ✓当你在测试某项更改之前需要在本地运行 LangBot 时。
- ✓当 LangBot 服务无法启动,或无法访问外部登录页面和模型提供商时。
- ✓当你需要一个能保持登录状态、连接到 LangBot 实例的浏览器会话时。
技能链接
https://github.com/langbot-app/LangBot/blob/master/skills/skills/langbot-env-setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我需要运行我的 LangBot 开发环境,以便测试我的更改。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会读取共享的设置文件,选择浏览器设置,检查各项服务,并启动后端和前端。每当需要登录时,由你自己完成登录。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
LangBot Environment Setup
Use this skill when a task needs LangBot to be in a testable state before product testing or development verification.
Routing
- Shared local variables: read
../.envbefore using URL, path, browser profile, or proxy defaults. - Always start here: read
references/browser-access-selection.mdto choose the browser-control path. - LangBot service checks and startup: read
references/service-startup.md. - Computer Use available: read
references/computer-use.md. This path usually needs less browser/MCP setup. - No Computer Use, browser automation required: read
references/playwright-mcp.md. - GitHub OAuth or persisted login profile: read
references/oauth-browser-profile.md. - WSL-specific notes: read
references/wsl-notes.mdonly when running under WSL. - Proxy setup: read
references/proxy.mdwhen external login, model provider tests, or package downloads time out. - Headless-only automation: use only after a profile already contains a valid LangBot login. Do not ask the agent to enter GitHub credentials or 2FA.
Rules
- Never handle the user's GitHub password, passkey, recovery code, or 2FA secret.
- For OAuth login, open a visible browser and let the user complete the credential steps.
- Reuse a fixed browser profile path so the agent can later access the logged-in LangBot session.
- Keep environment-specific paths and commands in
references/, not in this file. - Treat environment setup as complete only after the target LangBot services are reachable and the browser profile can access the WebUI.
常见问题
我需要把 GitHub 密码告诉智能体吗?
不需要。该技能说明智能体从不处理你的密码、通行密钥、恢复码或两步验证码。你在可见的浏览器中自行完成这些步骤。
这个技能涵盖 Windows 吗?
它包含在 WSL(即 Windows 上的 Linux 层)中运行的说明,并且只在该设置下使用。
如果我的模型提供商测试超时怎么办?
该技能包含外部请求失败时的代理设置步骤。外部登录或下载超时时,请按照这些步骤操作。
详情
作者的原始描述
Prepare a local LangBot development and testing environment for an AI agent. Use when setting up WSL or Linux development, shared local URL variables, proxy variables, backend/frontend startup, Playwright MCP browser access, GitHub OAuth browser login, persisted Chrome profiles, or future Codex computer-use environment paths.
repo: langbot-app/LangBot
热度
- GitHub 星标
- 19k
- 排名
- #10510
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
langbot-deploy
19k帮你的智能体使用 Docker、Compose 或 Kubernetes 部署并配置自托管的 LangBot 实例,包括其模型和 API 密钥设置。
langbot-mcp-ops
19k让你的智能体通过 LangBot 内置的 MCP 服务器管理实例,处理机器人、流水线、模型和知识库,无需原始网页调用。
langbot-plugin-dev
19k教你的智能体构建、调试和测试 LangBot 插件,包括插件的各个部分、插件 SDK 以及自动化的 WebSocket 测试运行。
langbot-space-ops
19k让你的智能体在 LangBot Space 市场中搜索插件、MCP 服务器和技能,并获得用于设置的排序模型列表。