deployment

deployment is a skill for Claude Code, Codex from StarRocks/starrocks-debug-skills. It costs 78 tokens per session (5,780 once invoked), scanned A, original, Apache-2.0.

A deployment-troubleshooting skill for diagnosing why a front-end or back-end process will not start or keep running. It covers common issues involving ports, directories, Java installations, network settings, clock synchronization, database journals, and external catalogs.

In plain words
What is it for?
Use it to investigate port conflicts, missing metadata or storage directories, multi-network configuration, clock drift, Berkeley DB corruption, Java runtime problems, and an unreachable Hive metastore.
Why use it?
It turns startup failures into checks against known causes and observable error signals instead of guesswork.

Skill for Claude CodeCodex

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

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/starrocks/starrocks-debug-skills/deployment
Any agent
npx skills add StarRocks/starrocks-debug-skills --skill deployment
Clone the repo
git clone --depth 1 https://github.com/StarRocks/starrocks-debug-skills

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 deployment

README.md
[![agentmods](https://agentmods.dev/badge/skills/starrocks/starrocks-debug-skills/deployment.svg)](https://agentmods.dev/skills/starrocks/starrocks-debug-skills/deployment)
Your own site
<a href="https://agentmods.dev/skills/starrocks/starrocks-debug-skills/deployment"><img src="https://agentmods.dev/badge/skills/starrocks/starrocks-debug-skills/deployment.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00078 $0.05780
Opus 5 $0.00039 $0.02890
Sonnet 5 $0.00016 $0.01156
Haiku 4.5 $0.00008 $0.00578

Measured 6d ago against content hash 8022ab96c6fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

deployment 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 6d 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.

Makes network callslowCapability

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

curl -s http://<fe_host>:8030/api/health
deployment/SKILL.md · 593 lines

How it starts

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

Deployment Troubleshooting

Investigation guide for FE and BE startup failures, port conflicts, BDB residual entries, JDK/JRE issues, and priority network configuration.

Six root causes account for the vast majority of startup failures:

  • Cause A — Port conflict (FE or BE port already in use)
  • Cause B — Missing directories or meta path does not exist
  • Cause C — Multi-NIC / priority_networks misconfiguration
  • Cause D — Clock drift (NTP not synced, delta >5s)
  • Cause E — BDB corruption or residual member entry
  • Cause F — HMS blocking FE startup (external catalog configured but HMS unreachable)

Metric Taxonomy — Read This First

Before diagnosing, understand the observable signals for startup failures.

FE startup signals (fe.log)

Signal Meaning
port xxx is used Port conflict — another process holds the port
meta not exist FE meta directory missing — must be created before start
Could not initialize class...BackendServiceProxy JRE installed instead of JDK; tools.jar missing
Fe type:unknown, is ready:false + current node is not added FE not registered — run ALTER SYSTEM ADD FOLLOWER/OBSERVER first
backend ip saved in master does not equal to backend local ip Wrong NIC selected — set priority_networks
this replica exceeds max permissible delta:5000ms Clock skew between FE nodes >5s — sync NTP
connection refused on http_port Network partition between FE nodes or wrong port in fe.conf
Finished replaying journal absent after >60s BDB journal replay stuck or HMS blocking startup
BDB environment setup failed / LogFileNotFoundException BDB corruption — requires recovery
It conflicts with the socket already used by the member BDB sees stale member entry — DbGroupAdmin -removeMember
Start to connect to Hive metastore + no Connected HMS unreachable, blocking FE catalog init

BE startup signals (be.log)

Read the full file on GitHub · 593 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. 6d ago First seen · 593 lines · 78 tokens per session scan A 8022ab96c6fa

Subscribe to this mod's changes

deployment is a skill published in the GitHub repository StarRocks/starrocks-debug-skills (75 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 78 tokens to every session and 5,780 once invoked, about $0.0004 per session on Opus 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-08-30.