connect

connect is a skill for Claude Code from langchain-ai/open-swe. It costs 22 tokens per session (228 once invoked), scanned A, original, MIT.

A connection setup for linking this machine's Claude Code sessions to Open SWE. Open SWE is a service that mirrors sessions into private threads that can be viewed in its sidebar.

In plain words
What is it for?
Use it to connect a machine, redeem the connection claim, install the required hooks, and start mirroring new sessions.
Why use it?
It automates the connection and configuration steps needed before sessions can appear in Open SWE.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the open-swe plugin — 2 skills, 1 MCP server shipped together

Good fit Use it to connect a machine, redeem the connection claim, install the required hooks, and start mirroring new sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/langchain-ai/open-swe/connect
About the project

Open SWE is an open-source software factory that gives coding tasks to an asynchronous agent, which investigates repositories, changes code, validates the results, and delivers pull requests. Engineering teams use it to automate code changes, reviews, CI follow-up, and related repository work from dashboards and connected tools.

langchain-ai/open-swe · 11,171 stars · on GitHub · langchain.com

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 langchain-ai/open-swe --skill connect
Clone the repo
git clone --depth 1 https://github.com/langchain-ai/open-swe

Made for: Claude Code.

Or install open-swe, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/langchain-ai/open-swe/connect/github.svg)](https://agentmods.dev/skills/langchain-ai/open-swe/connect)
Your own site
<a href="https://agentmods.dev/skills/langchain-ai/open-swe/connect"><img src="https://agentmods.dev/badge/skills/langchain-ai/open-swe/connect/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 connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/langchain-ai/open-swe/connect"><img src="https://agentmods.dev/badge/skills/langchain-ai/open-swe/connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 228 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.
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.00022 $0.00228
Opus 5.5 $0.00009 $0.00091
Sonnet 5.5 $0.00004 $0.00046
Haiku 4.5 $0.00002 $0.00023

Measured 2d ago against content hash d17aa3496a7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

connect 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (connect.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

claude-code-plugin/skills/connect/SKILL.md · 13 lines

What it actually says

  1. Call connect_claude_code on the Open SWE MCP server with machine_name set to $ARGUMENTS, or to the output of hostname when that is empty.
  2. Run python3 ${CLAUDE_SKILL_DIR}/connect.py <claim_url> <claim> with the claim_url and claim it returned. The script redeems the claim and writes the hooks into Claude Code's settings.json itself, so the token never reaches you; it prints only the outcome.
  3. Relay the script's last line. When it connected, tell the person to start a new Claude Code session, which appears in the Open SWE sidebar on its first prompt.
Files

What ships with it

1 file 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. 2d ago First seen · 13 lines · 22 tokens per session scan A d17aa3496a7c

Subscribe to this mod's changes

connect is a skill published in the GitHub repository langchain-ai/open-swe (11,171 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 228 once invoked, about $0.0001 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-11-02.

Related

Other skills, from other repositories

langbot-plugin-dev

Develop, debug, and test LangBot plugins. Use when creating new LangBot plugins, fixing plugin bugs, setting up a LangBot test environment, or testing plugins via WebSocket. Covers plugin component architecture (EventListener, Command, Tool), the plugin SDK API (invokellm, getllmmodels, sendmessage, plugin storage)…

langbot-app/LangBot · 110 tokens

langbot-dev

Develop, build, and debug the LangBot core backend and web frontend. Use when working inside the LangBot repository — backend (Python/Quart, src/langbot/pkg), the Vite/React web UI, HTTP API controllers/services, Alembic migrations, or the MCP server. Covers the dev environment (uv, pnpm), repo layout, the API auth…

langbot-app/LangBot · 136 tokens

langbot-skills-maintenance

Maintain the langbot-skills repository with low duplication. Use when adding, editing, or auditing LangBot skills, references, cases, troubleshooting entries, indexes, or periodic entropy-control checks for this skills repository.

langbot-app/LangBot · 49 tokens

langbot-env-setup

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…

langbot-app/LangBot · 67 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

lynkr

Universal LLM gateway with intelligent routing, Graphify code intelligence, Distill compression, routing telemetry, Code Mode, and 12+ provider support. 60-80% cost reduction for Claude Code, Cursor, and Codex.

Fast-Editor/Lynkr · 50 tokens