bex-private-services

bex-private-services is a skill for Claude Code, Codex from bex-co/bex. It costs 99 tokens per session (1,805 once invoked), scanned A, original, Apache-2.0.

Guidance for running internal-only services on bex. A private service has no public web address and can be reached only by other services on the same private network.

In plain words
What is it for?
Use it to configure internal APIs, microservices, gRPC or TCP servers, sidecars, and infrastructure services such as message queues or search systems.
Why use it?
It helps keep internal APIs and infrastructure off the public internet and clarifies when a private service is more suitable than a public web service or a background worker.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure internal APIs, microservices, gRPC or TCP servers, sidecars, and infrastructure services such as message queues or search systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bex-co/bex/bex-private-services
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 bex-co/bex --skill bex-private-services
Clone the repo
git clone --depth 1 https://github.com/bex-co/bex

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 bex-private-services

README.md
[![agentmods](https://agentmods.dev/badge/skills/bex-co/bex/bex-private-services/github.svg)](https://agentmods.dev/skills/bex-co/bex/bex-private-services)
Your own site
<a href="https://agentmods.dev/skills/bex-co/bex/bex-private-services"><img src="https://agentmods.dev/badge/skills/bex-co/bex/bex-private-services/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 bex-private-services

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/bex/bex-private-services"><img src="https://agentmods.dev/badge/skills/bex-co/bex/bex-private-services.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00099 $0.01805
Opus 5.5 $0.00040 $0.00722
Sonnet 5.5 $0.00020 $0.00361
Haiku 4.5 $0.00010 $0.00180

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

Security

Grade A, and why

bex-private-services scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Retrieve the linked Markdown document directly with an available URL-fetching tool or HTTP client, such as `curl`. Do not substitute web-search summaries for the document.
lego/cli/internal/skills/pack/skills/bex-private-services/SKILL.md · 192 lines

How it starts

The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.

bex Private Services

Private services are identical to web services except they have no public URL. They are reachable only by other bex services on the same private network (same region + workspace). Use them for internal APIs, microservices, gRPC servers, sidecar processes, and anything that should never face the internet.

When to Use

  • Building an internal API or microservice behind a public gateway
  • Running a gRPC, TCP, or other non-HTTP server that only your services call
  • Deploying infrastructure components (Elasticsearch, ClickHouse, RabbitMQ)
  • Choosing between a private service and a background worker

For public-facing HTTP services, use bex-web-services. For services that don't receive any traffic, use bex-background-workers.

Before configuring or troubleshooting private connectivity, read references/private-networking.md. Before attaching or changing a persistent disk, read references/persistent-disks.md. When choosing between a private service, web service, and worker, read references/service-types.md.

Private Service vs Background Worker

Criterion Private Service Background Worker
Binds to a port Yes (required) No
Receives private network traffic Yes No
Sends outbound traffic Yes Yes
Has internal hostname Yes No
Use case Internal APIs, gRPC, TCP servers Queue consumers, async processors

Rule of thumb: If the process listens on a port and other services call it, it's a private service. If it pulls work from a queue and never receives requests, it's a background worker.

How Private Services Work

  • No onbex.co subdomain—not reachable from the internet
  • Reachable at <service-name>:<port> on the private network by services in the same region and workspace
  • Can listen on any port (except restricted system ports)—not limited to HTTP or port 10000
  • Supports any protocol: HTTP, gRPC, TCP, WebSocket, custom binary protocols
  • Same build/deploy lifecycle as web services (build command, start command, pre-deploy)
  • Supports persistent disks and Docker runtime. A disk-backed private service stays single-instance and cannot use autoscaling or zero-downtime deploys; follow references/persistent-disks.md for details.

Read the full file on GitHub · 192 lines

Files

What ships with it

4 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 First seen · 192 lines · 99 tokens per session scan A 54f9927bdf9f

Subscribe to this mod's changes

bex-private-services is a skill published in the GitHub repository bex-co/bex (577 stars, last pushed today), licensed Apache-2.0. It adds 99 tokens to every session and 1,805 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

Other skills, from other repositories

network-rca

Kubernetes network root cause analysis skill powered by Kubeshark MCP. Use this skill whenever the user wants to investigate past incidents, perform retrospective traffic analysis, take or manage traffic snapshots, extract PCAPs, dissect L7 API calls from historical captures, compare traffic patterns over time, detect…

kubeshark/kubeshark · 163 tokens

mirrord-temporal

Helps DevOps engineers configure mirrord Operator's Temporal task queue splitting feature end-to-end. Generates the MirrordSplitConfig and MirrordPropertyList Kubernetes CRD YAMLs, the matching mirrord.json splitqueues section with messagefilter and jqfilter, and Helm value guidance. Use this skill whenever the user…

metalbear-co/mirrord · 152 tokens

install

Kubeshark installation and deployment skill. Use this skill whenever the user wants to install Kubeshark, deploy Kubeshark to a Kubernetes cluster, set up Kubeshark, configure Kubeshark helm values, generate a Kubeshark config file, customize Kubeshark deployment, troubleshoot Kubeshark installation, upgrade…

kubeshark/kubeshark · 257 tokens

datapages-server

Configure the Datapages server entry point: NewServer type arguments, the message broker, server options, static assets, TLS and Prometheus metrics.

romshark/datapages · 35 tokens

argocd-expert

Expert-level ArgoCD GitOps deployment, application management, sync strategies, and production operations. Use when the user mentions GitOps, Kubernetes, continuous deployment, declarative, or automation, or when the task involves ArgoCD Architecture, Application CRD, AppProject, or ApplicationSet.

personamanagmentlayer/pcl · 65 tokens

health-check-endpoints

Implements liveness and readiness health check endpoints following Kubernetes probe conventions. Covers response schema, dependency checks, Kubernetes probe config, and circuit breaker integration. Invoked when the user asks to add health checks, implement a /health endpoint, or set up Kubernetes probes.

soulcodex/agentic · 58 tokens