tiltup
Use when starting tilt, debugging Tiltfile errors, or bootstrapping a dev environment. Starts Tilt in zmx, monitors bootstrap to healthy state, fixes Tiltfile bugs without hard-coding or fallbacks.
How do I install this agent skill?
npx skills add https://github.com/alleneubank/claude-code --skill tiltupIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The tiltup skill provides a workflow for managing developer environments using Tilt and zmx, emphasizing declarative configuration and best practices for debugging. No security issues were detected.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Tilt Up
Principles (Always Active)
These apply whenever working with Tiltfiles, Tilt errors, or dev environment bootstrap:
Fix the Tiltfile, Not the Symptoms
- Fix the source config directly - Tiltfile, Dockerfile, k8s manifest, or helm values
- Never add shell workarounds - no wrapper scripts, no
|| true, notry/except pass - Never hard-code ports, paths, hostnames, image tags, or container names that should be dynamic
- Never add fallbacks that mask the real error - if a resource fails, the failure must be visible
- Never add sleep/retry loops for flaky dependencies - fix dependency ordering via
resource_deps()ork8s_resource(deps=) - Never add polling for readiness that Tilt already handles - use
k8s_resource(readiness_probe=)or probe configs
Express Dependencies Declaratively
- Port conflicts: fix the port allocation source, don't pick a different port
- Resource ordering: use
resource_deps(), not sequential startup scripts - Env vars: use
silo.tomlor gen-env output, not inline defaults - Image availability: use
image_depsordeps, not sleep-until-ready
Tilt Live-Reloads
After editing a Tiltfile, Tilt picks up changes automatically. Never restart tilt up for:
- Tiltfile edits
- Source code changes
- Kubernetes manifest updates
Restart only for: Tilt version upgrades, port/host config changes, crashes, cluster context switches.
Workflow (When Explicitly Starting Tilt)
Step 1: Assess Current State
-
Check if tilt is already running:
PROJECT=$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" || basename "$PWD") zmx list --short 2>/dev/null | grep -q "^${PROJECT}-tilt$"If running, check health via
tilt get uiresources -o jsonand skip to Step 3. -
Check for required env files (
.localnet.env,.env.local,silo.toml):- If
silo.tomlexists, usesilo uppath - If gen-env script exists, run it first
- If neither, check project README for bootstrap instructions
- If
-
Check for k3d cluster or Docker prerequisites.
Step 2: Start Tilt in zmx
Follow the zmx skill patterns:
PROJECT=$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" || basename "$PWD")
SESSION="${PROJECT}-tilt"
if zmx list --short 2>/dev/null | grep -q "^${SESSION}$"; then
echo "Tilt session already exists: $SESSION"
else
zmx run "$SESSION" 'tilt up'
echo "Started tilt in zmx session: $SESSION"
fi
For silo projects: silo up instead of tilt up.
Step 3: Monitor Bootstrap
Poll for convergence:
- Wait 10s for initial resource registration
- Poll every 15s, up to 20 iterations. Include docker-compose container health
(
composeResourceInfo.healthStatus) — anUp (unhealthy)compose container keepsruntimeStatus=okand is otherwise invisible, so bootstrap can look "done" while canton/splice/postgres are silently failing their HEALTHCHECK:tilt get uiresources -o json | jq -r '.items[] | select(.status.runtimeStatus == "error" or .status.updateStatus == "error" or .status.updateStatus == "pending" or .status.composeResourceInfo.healthStatus == "unhealthy") | "\(.metadata.name): runtime=\(.status.runtimeStatus) update=\(.status.updateStatus) compose=\(.status.composeResourceInfo.healthStatus // "-")"' - Track resources:
pending->in_progress->ok - Success: all resources reach
runtime=ok, update=ok(ornot_applicable) AND no docker-compose resource iscomposeResourceInfo.healthStatus == "unhealthy" - If resources stabilize in
error, OR a compose resource staysunhealthy, proceed to Step 4. For an unhealthy compose probe, read the real cause withdocker inspect <compose-project>-<svc> --format '{{json .State.Health}}'— often the mounted healthcheck script calls a CLI the image lacks (the service is up; fix the probe script, don't disable the check)
Step 4: Diagnose and Fix Errors
For each resource in error state:
- Read logs:
tilt logs <resource> --since 2m - Read the Tiltfile and relevant k8s manifests
- Identify root cause in the config (not the running process)
- Apply fix following the Principles above
- Tilt live-reloads - re-poll status to verify
After 3 fix iterations on the same resource without progress:
- Report the error with full logs
- Identify whether it's a Tiltfile bug, upstream dependency, or infrastructure problem
- Do not silently skip or disable the resource
Step 5: Report
## Tilt Status: <healthy|degraded|errored>
**Resources**: X/Y ok
**Session**: zmx $SESSION
### Errors (if any)
- <resource>: <root cause> — <what was fixed or what remains>
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/alleneubank/claude-code/tiltup">View tiltup on skillZs</a>