share-server-links

Instructions for sharing a local web server through bb connect, which creates a link accessible from the user’s getbb.app session. It covers checking the connection, exposing a port, and removing the share.

In plain words
What is it for?
Use it after starting a development server, preview, or static server that the user needs to view remotely.
Why use it?
It prevents the agent from giving a remote user a localhost address they cannot open.

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/get-bb/bb/share-server-links
Any agent
npx skills add get-bb/bb --skill share-server-links
Clone the repo
git clone --depth 1 https://github.com/get-bb/bb

Made for: Claude Code, Codex.

Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 435 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.00090 $0.00435
Opus 5 $0.00045 $0.00217
Sonnet 5 $0.00018 $0.00087
Haiku 4.5 $0.00009 $0.00044

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

Security

Grade A, and why

share-server-links 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 3d ago.

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.

plugins/connect/skills/share-server-links/SKILL.md · 30 lines

What it actually says

When you start an HTTP server the user should open, give them a connect share URL — not a localhost URL. Shares work from threads running on any enrolled host, and the command resolves the thread's host automatically.

  1. Check pairing: run bb connect status --json. If not paired / not connected, give the localhost URL and mention that bb connect enables remote URLs once paired from the getbb.app dashboard.
  2. From the thread that started the HTTP server, run bb connect expose <port>. It prints that host's share URL. Use --host <name-or-id> only when you intentionally need another enrolled host; outside a thread, sharing defaults to the machine running the bb server.
  3. Give the returned URL to the user as a markdown link. It works for viewers who have the owner's getbb.app session; it is not a public internet link.
  4. When the server stops, run bb connect unexpose <port> from the same thread (or with the same --host) so the share is cleaned up. Use bb connect shares [--host <name-or-id>] to inspect that host's shares.

Server-host shares use https://<server-label>--<port>.<base-domain> through the server tunnel. Other enrolled hosts use https://<machine-label>--<port>.<base-domain> through their daemon. If a machine was not enrolled through Connect, expose fails with instructions to remove and re-add it under Settings > Machines.

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. 3d ago First seen · 30 lines · 90 tokens per session scan A fbb3aee45ccb

Subscribe to this mod's changes

share-server-links is a skill published in the GitHub repository get-bb/bb (2,888 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 435 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

brev-cli

Manage GPU and CPU cloud instances with the Brev CLI for ML workloads and general compute. Use when users want to create instances, search for GPUs or CPUs, SSH into instances, open editors, copy files, port forward, manage organizations, or work with cloud compute. Supports fine-tuning, reinforcement learning…

brevdev/brev-cli · 142 tokens

vercel

Complete guide for the Vercel plugin — REST API access for deployments, logs, projects, and environment variables using a Vercel Personal Access Token.

stagewise-io/stagewise · 34 tokens

ssh

SSH/服务器操作助手。用于远程服务器、user@host、SSH 配置、上传下载、部署、跳板机、隧道、端口转发、服务器命令执行等任务;以 /.ssh/config 的 Host 别名为唯一服务器清单,优先密钥认证,通过本 skill 的 Python 脚本封装 OpenSSH 操作。.

zhinkgit/embeddedskills · 82 tokens

land-and-deploy

Land and deploy workflow. Merges the PR, waits for CI and deploy, verifies production health via canary checks. Takes over after /ship creates the PR. Use when: "merge", "land", "deploy", "merge and verify", "land it", "ship it to production". (gstack).

forbotsake/forbotsake · 71 tokens

setup-deploy

Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy"…

forbotsake/forbotsake · 104 tokens

sandy

Run TypeScript scripts in sandboxed microVMs or Docker containers with AWS SDK access via IMDS. Use when investigating AWS resources, running read-only queries, or executing TypeScript automation that needs AWS credentials.

jamestelfer/sandy · 45 tokens