langbot-space-ops

A guide for using LangBot Space, an online marketplace for LangBot extensions, through MCP, a standard way for AI agents to call tools. It covers finding plugins, MCP servers, skills, and models with an authenticated connection.

In plain words
What is it for?
It helps configure the marketplace connection, authenticate with a Personal Access Token, search or retrieve marketplace listings, and select live models.
Why use it?
It gives an AI agent a defined way to search and inspect available LangBot extensions without manually browsing the marketplace.

Skill for Claude CodeCodex

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.

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

Made for: Claude Code, Codex.

Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 892 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00101 $0.00892
Opus 5 $0.00051 $0.00446
Sonnet 5 $0.00020 $0.00178
Haiku 4.5 $0.00010 $0.00089

Measured yesterday against content hash ad43de937cac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

langbot-space-ops 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-space-ops/SKILL.md · 87 lines

What it actually says

LangBot Space MCP Operations

LangBot Space (space.langbot.app) exposes an MCP server so user-facing AI agents can browse and search the marketplaces (plugins, MCP servers, skills) and rank live models for automated setup.

Endpoint

https://space.langbot.app/mcp

Transport: streamable HTTP (stateless, JSON responses). For a self-hosted Space instance: http://<host>:8383/mcp.

Authentication

Reuses the existing Personal Access Token (PAT) — the same token the lbp CLI uses. Create one in your Space account (Profile → Personal Access Tokens), then send it as a Bearer token:

Authorization: Bearer lbpat_...uests without a valid PAT get `401 Unauthorized`.

## Client configuration

```json
{
  "mcpServers": {
    "langbot-space": {
      "url": "https://space.langbot.app/mcp",
      "headers": { "Authorization": "Bearer <your-pat>" }
    }
  }
}

Tool surface

Tool Purpose
list_plugins / search_plugins / get_plugin Plugin marketplace
list_mcp_servers / search_mcp_servers / get_mcp_server MCP-server marketplace
list_skills / search_skills / get_skill Skill marketplace
select_models Live best-first model list for setup wizards; optional category filter

list_* and search_* are paged (page, page_size). get_* takes author + name. The tool surface mirrors the REST endpoints under /api/v1/marketplace/*; select_models mirrors /api/v1/models/selection. All tools are read-only.

How to use

  1. Create a PAT in your Space account settings.
  2. Point your MCP client at https://space.langbot.app/mcp with the Bearer PAT.
  3. Use search_plugins / search_mcp_servers / search_skills to find items, then get_* for details (e.g. to obtain author/name for installation in LangBot itself).
  4. For automatic local-agent setup, call select_models (optionally with category) and choose the first compatible item. Ordering is latest probe state (available, unprobed, unavailable), then Space recommendation. Each item includes availability.up, last_probed_at, latency, and HTTP status.

Implementation & maintenance (for Space developers)

  • Server: internal/controller/mcp/server.go (official Go MCP SDK github.com/modelcontextprotocol/go-sdk). Tools call the service layer (PluginService, MCPService, SkillService, ModelStatusService) directly.
  • Mount: internal/controller/api.go at /mcp and /mcp/*any.
  • Auth: PAT via AccountService.ValidatePersonalAccessToken.
  • Docs: docs/MCP_SERVER.md.

When you add, remove, or change a marketplace API endpoint that should be agent-accessible, update the corresponding MCP tool and this skill. The MCP tool surface and the API must stay aligned (see AGENTS.md).

Pitfalls

  • The PAT prefix is lbpat_ (Space), distinct from LangBot's lbk_ API keys.
  • This server is read/browse only; it does not publish or modify marketplace items. Use the web UI or REST API (with appropriate auth) for that.
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 First seen · 87 lines · 101 tokens per session scan A ad43de937cac

Subscribe to this mod's changes

langbot-space-ops is a skill published in the GitHub repository langbot-app/LangBot (17,616 stars, last pushed yesterday), licensed Apache-2.0. It adds 101 tokens to every session and 892 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

html-artifacts

Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for saveplan, outputiframe, or slackattachhtml.

langchain-ai/open-swe · 51 tokens

bootstrap-repo-analysis

First-time analysis of a repository with no prior reviewer outcomes. Crawl historical merged-PR review feedback with the gh CLI (plus any preloaded samples), extract the team's review norms, and synthesize the initial per-repo review-style prompt. Use this for a cold-start repo; use continual-learning instead once the…

langchain-ai/open-swe · 73 tokens

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens

continual-learning

Nightly refinement of an existing per-repo review-style prompt using this reviewer's own finding outcomes. Read confirmed (resolved-by-commit / thumbs-up) and dismissed (thumbs-down) findings, promote the bug patterns the team actually fixes, demote the false-positive patterns, reconcile against the current prompt…

langchain-ai/open-swe · 89 tokens

gzh_article

公众号图文创作 / 推文 / 官方号文章 (official account article) — 端到端:选题→搜集→成文→配图→去AI化→公众号内联样式排版→交付/草稿箱。honors user persona & style memory.

mateaix/mateclaw · 66 tokens

search

Search 2500+ curated ChatGPT and LLM open-source repositories. Use when the user asks to find tools, libraries, or repos related to ChatGPT, LLMs, RAG, agents, langchain, NLP, AI development, or any open-source AI tooling.

taishi-i/awesome-ChatGPT-repositories · 57 tokens