跳到正文
Skillpedia
部署与云(DevOps)19k · #10510

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/langbot-app/LangBot/blob/master/skills/skills/langbot-env-setup/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 ../.env before using URL, path, browser profile, or proxy defaults.
  • Always start here: read references/browser-access-selection.md to 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.md only when running under WSL.
  • Proxy setup: read references/proxy.md when 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能