langbot-plugin-dev

langbot-plugin-dev is a skill for Claude Code, Codex from langbot-app/LangBot. It costs 140 tokens per session (1,763 once invoked), scanned A, original, Apache-2.0.

A development and debugging guide for LangBot plugins. Plugins are add-ons that can respond to events, handle commands, or provide tools inside LangBot.

In plain words
What is it for?
It helps build plugin manifests and Python components, use LangBot features such as messaging and language-model calls, test plugins over WebSocket, and control a running LangBot instance through MCP.
Why use it?
It explains the plugin structure and the available LangBot software interface, reducing uncertainty when creating or fixing an add-on.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit It helps build plugin manifests and Python components, use LangBot features such as messaging and language-model calls, test plugins over WebSocket, and control a running LangBot instance through MCP.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/langbot-app/langbot/langbot-plugin-dev
About the project

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.

langbot-app/LangBot · 19,297 stars · on GitHub · space.langbot.app

Install

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.

Any agent
npx skills add langbot-app/LangBot --skill langbot-plugin-dev
Clone the repo
git clone --depth 1 https://github.com/langbot-app/LangBot

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for langbot-plugin-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/langbot-app/langbot/langbot-plugin-dev/github.svg)](https://agentmods.dev/skills/langbot-app/langbot/langbot-plugin-dev)
Your own site
<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.

agentmods 80×15 button for langbot-plugin-dev

Your own site · 80×15
<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>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,763 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured yesterday against content hash 8397636771d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/skills/langbot-plugin-dev/SKILL.md · 87 lines

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: /command handlers. Tool: LLM function-call tools.
  • Runner: an Agent runner/event processor (see LocalAgent and other plugins/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, so handle() must verify the caller (token or HMAC over request.body). Do not open ports from a plugin or use page-api for this. See components/webhook.mdx; references/testing.md covers 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

Read the full file on GitHub · 87 lines

Files

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.

Changes

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.

  1. yesterday Changed · +1 lines · +13 tokens per session 8397636771d6
  2. 3d ago Changed 9f480866687d
  3. 19d ago Changed c36ccaeeef55
  4. 20d ago Changed · +11 lines · +12 tokens per session 8cc0e76580b1
  5. 25d ago Changed · -410 lines · +5 tokens per session 2038b17383d5
  6. 2mo ago Changed 7d38fc01859e
  7. 3mo ago First seen · 485 lines · 110 tokens per session scan A 2b92d4ba9e36

Subscribe to this mod's changes

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.

Related

langbot-plugin-dev compared with skills from other repositories

langbot-plugin-dev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
langbot-plugin-devlangbot-app/LangBotSkill19ktodayApache-2.0A140Claude Code, Codex
merge-queue-recoverylangchain-ai/open-sweSkill11ktodayMITA31Claude Code, Codex
reproduce-buggoogleapis/mcp-toolboxSkill17ktodayApache-2.0A130Claude Code, Codex
fix-failing-testsgoogleapis/mcp-toolboxSkill17ktodayApache-2.0A87Claude Code, Codex
triage-issuesgoogleapis/mcp-toolboxSkill17ktodayApache-2.0A164Claude Code, Codex
html-artifactslangchain-ai/open-sweSkill11ktodayMITA52Claude Code, Codex
sandbox-imageslangchain-ai/open-sweSkill11ktodayMITA55Claude Code, Codex