LangBot is an open-source platform for connecting language models to instant-messaging services so developers can build chatbots that converse, use tools, and execute tasks. It supports bot management, knowledge bases, plugins, and multiple chat platforms, and the catalogue entries provide skills, MCP tools, and instructions for working with it.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add langbot-app/LangBot --skill langbot-plugin-devgit clone --depth 1 https://github.com/langbot-app/LangBotWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/langbot-app/langbot/langbot-plugin-dev)<a href="https://agentmods.dev/skills/langbot-app/langbot/langbot-plugin-dev"><img src="https://agentmods.dev/badge/skills/langbot-app/langbot/langbot-plugin-dev/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/langbot-app/langbot/langbot-plugin-dev"><img src="https://agentmods.dev/badge/skills/langbot-app/langbot/langbot-plugin-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 17 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Data Exfiltration · line 314 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 332 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00140 | $0.01763 |
| Opus 5.5 | $0.00056 | $0.00705 |
| Sonnet 5.5 | $0.00028 | $0.00353 |
| Haiku 4.5 | $0.00014 | $0.00176 |
Grade A, and why
langbot-plugin-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LangBot Plugin Development
Sources of Truth
| Need | Where |
|---|---|
| Author docs (canonical) | docs/en/plugin/dev/ (also zh, ja): tutor, basic-info, directory-structure, permissions, components/*, apis/*, publish/* |
SDK, lbp CLI, Plugin Runtime |
sdk/ in the LangBot repo (langbot_plugin, PyPI langbot-plugin); release rules in sdk/RELEASING.md |
| Working examples | plugins/ in the LangBot repo, indexed by plugins/catalog.json; minimal: plugins/misc/HelloPlugin; full Runner: plugins/Runner/LocalAgent |
| Official plugin rules | plugins/AGENTS.md, plugins/RELEASING.md |
| Runtime debugging | docs/en/develop/plugin-runtime.mdx |
Read the matching doc page before writing code; do not guess SDK signatures.
Components
Declare components in manifest.yaml spec.components; each component has a .yaml (metadata) and a .py (implementation). Docs per type in docs/en/plugin/dev/components/:
EventListener: Chat event hooks (聊天事件钩子). Enable the plugin on the bot or route, not in the Chat tool list. See message lifecycle for command ordering and streaming limitations.Command:/commandhandlers.Tool: LLM function-call tools.Runner: an Agent runner/event processor (see LocalAgent and otherplugins/Runner/*).KnowledgeEngine,KnowledgeRetriever,Parser: RAG backends, retrieval and document parsing.Page: plugin-provided WebUI pages.Webhook: a public HTTP URL for pushes from external systems, for example to message users proactively. The URL needs no login, sohandle()must verify the caller (token or HMAC overrequest.body). Do not open ports from a plugin or usepage-apifor this. Seecomponents/webhook.mdx;references/testing.mdcovers calling it locally.
API Surfaces
| Surface | Call | Docs |
|---|---|---|
| Common plugin APIs (models, storage, bots, messages) | self.plugin.invoke_llm(...), self.plugin.send_message(...), ... |
apis/common.mdx, apis/messages.mdx, apis/llm-requests.mdx |
| Chat event context | event_context.reply(...), prevent_default() |
apis/pipeline-events.mdx |
| Platform API | self.plugin.call_platform_api(bot_uuid, action, params); standard actions first, adapter-specific actions via action="call_platform_api" |
apis/platform.mdx |
| Workspace API (Unified API) | self.plugin.workspace.<domain>.<op>(...) or self.plugin.workspace.call("<op.id>", ...); Runners use ctx.api.workspace |
apis/workspace.mdx |
| Runner context | ctx.api, ctx.resources |
apis/agent-run.mdx, components/runner.mdx |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed · +1 lines · +13 tokens per session 8397636771d6
- 3d ago Changed 9f480866687d
- 19d ago Changed c36ccaeeef55
- 20d ago Changed · +11 lines · +12 tokens per session 8cc0e76580b1
- 25d ago Changed · -410 lines · +5 tokens per session 2038b17383d5
- 2mo ago Changed 7d38fc01859e
- 3mo ago First seen · 485 lines · 110 tokens per session scan A 2b92d4ba9e36
langbot-plugin-dev is a skill published in the GitHub repository langbot-app/LangBot (19,297 stars, last pushed today), licensed Apache-2.0. It adds 140 tokens to every session and 1,763 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
langbot-plugin-dev compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| langbot-plugin-devlangbot-app/LangBot | Skill | 19k | today | Apache-2.0 | A | 140 | Claude Code, Codex |
| merge-queue-recoverylangchain-ai/open-swe | Skill | 11k | today | MIT | A | 31 | Claude Code, Codex |
| reproduce-buggoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 130 | Claude Code, Codex |
| fix-failing-testsgoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 87 | Claude Code, Codex |
| triage-issuesgoogleapis/mcp-toolbox | Skill | 17k | today | Apache-2.0 | A | 164 | Claude Code, Codex |
| html-artifactslangchain-ai/open-swe | Skill | 11k | today | MIT | A | 52 | Claude Code, Codex |
| sandbox-imageslangchain-ai/open-swe | Skill | 11k | today | MIT | A | 55 | Claude Code, Codex |