Skip to content

aiskillstore/marketplace / skills/0xbigboss/tilt

Use when checking deployment health, investigating errors, reading logs, or working with Tiltfiles. Queries Tilt resource status, logs, and manages dev environments.

FileKindSize
CLI_REFERENCE.mdmarkdown6.0 KB
SKILL.mdskill md4.9 KB
TILTFILE_API.mdmarkdown8.1 KB
skill-report.jsonconfig39.3 KB

CLI_REFERENCE.md

View on GitHub
# Tilt CLI Reference

## Table of Contents

- [Resource Queries](#resource-queries)
- [Logs](#logs)
- [Control Commands](#control-commands)
- [Wait Conditions](#wait-conditions)
- [JSON Parsing Patterns](#json-parsing-patterns)

## Resource Queries

### List All Resources

```bash
tilt get uiresources -o json
```

JSON structure:

```json
{
  "apiVersion": "tilt.dev/v1alpha1",
  "kind": "UIResource",
  "items": [{
    "metadata": {"name": "resource-name"},
    "status": {
      "runtimeStatus": "unknown|none|pending|ok|error|not_applicable",
      "updateStatus": "none|pending|in_progress|ok|error|not_applicable",
      "triggerMode": "TriggerModeAuto|TriggerModeManual",
      "queued": false,
      "lastDeployTime": "2024-01-01T00:00:00Z",
      "conditions": [...]
    }
  }]
}
```

### Get Single Resource

```bash
tilt get uiresource/<name> -o json
```

### Describe Resource (Human-Readable)

```bash
tilt describe uiresource/<name>
```

Note: `describe` outputs human-readable format only; use `get -o json` for structured output.

### List Available Resource Types

```bash
tilt api-resources
```

## Logs

The `tilt logs` command supports `--since`, `--tail`, and `--json` flags for filtering and structured output.

### Basic Usage

```bash
tilt logs                         # All logs
tilt logs <resource>              # Filter by resource name
tilt logs -f                      # Follow/stream new logs
```

### Time-Based Filtering

```bash
tilt logs --since 5m              # Logs from last 5 minutes
tilt logs --since 1h              # Logs from last hour
tilt logs --since 30s             # Logs from last 30 seconds
tilt logs <resource> --since 5m   # Resource logs from last 5 minutes
```

### Tail

```bash
tilt logs --tail 100              # Last 100 log lines
tilt logs --tail 50 -f            # Last 50 lines, then follow
```

**Note**: `--tail` applies only to initial history when combined with `-f`.

### JSON Output

```bash
tilt logs --json                  # Output as JSON Lines (JSONL)
tilt logs --json | jq .           # Pipe to jq for processing
tilt logs --json --json-fields=full  # Include all fields (even empty)
tilt logs --json --json-fields=time,resource,message  # Custom fields
```

Available fields: `time`, `resource`, `level`, `message`, `spanID`, `progressID`, `buildEvent`, `source`

Presets:
- `minimal` (default): time, resource, level, message
- `full`: all fields including empty values

### Search Patterns

```bash
tilt logs --since 5m | rg -i "error|fail"     # Search for errors
tilt logs <resource> --tail 50 | rg "listening on"  # Find startup
tilt logs --since 1m | rg -i "reload|restart|updated"  # Verify updates
```

### Source and Level Filtering

```bash
tilt logs --source build          # Build logs only
tilt logs --source runtime        # Runtime logs only
tilt logs --level warn            # Warnings and above
tilt logs --level error           # Errors only
```

## Control Commands

### Trigger Manual Update

```bash
tilt trigger <resource>
```

Forces an update even if no files changed.

### Enable Resources

```bash
tilt enable <resource>
tilt enable <resource1> <resource2>
tilt enable --all                 # Enable all resources
tilt enable --labels=backend      # Enable by label
```

### Disable Resources

```bash
tilt disable <resource>
tilt disable <resource1> <resource2>
tilt disable --all                # Disable all resources
tilt disable --labels=frontend    # Disable by label
```

### Change Tiltfile Args

```bash
tilt args -- --env=staging
```

Updates args for running Tilt instance.

## Wait Conditions

### Wait for Ready

```bash
tilt wait --for=condition=Ready uiresource/<name>
```

### With Timeout

```bash
tilt wait --for=condition=Ready uiresource/<name> --timeout=120s
```

### Wait for Multiple Resources

```bash
tilt wait --for=condition=Ready uiresource/api uiresource/web
```

### Wait for All Resources

```bash
tilt wait --for=condition=Ready uiresource --all
```

## JSON Parsing Patterns

### Extract All Resource Names

```bash
tilt get uiresources -o json | jq -r '.items[].metadata.name'
```

### Extract Failed Resources

```bash
tilt get uiresources -o json | jq -r '.items[] | select(.status.runtimeStatus == "error") | .metadata.name'
```

### Extract Pending Resources

```bash
tilt get uiresources -o json | jq -r '.items[] | select(.status.updateStatus == "pending" or .status.updateStatus == "in_progress") | .metadata.name'
```

### Check Specific Resource Status

```bash
tilt get uiresource/<name> -o json | jq '.status.runtimeStatus'
```

### Get Status Summary

```bash
tilt get uiresources -o json | jq '.items[] | {name: .metadata.name, runtime: .status.runtimeStatus, update: .status.updateStatus}'
```

### Get Last Deploy Times

```bash
tilt get uiresources -o json | jq '.items[] | {name: .metadata.name, deployed: .status.lastDeployTime}'
```

### Count Resources by Status

```bash
tilt get uiresources -o json | jq -r '.items | group_by(.status.runtimeStatus) | map({status: .[0].status.runtimeStatus, count: length})'
```

### Check if All Resources Ready

```bash
tilt get uiresources -o json | jq -e '[.items[].status.runtimeStatus] | all(. == "ok" or . == "not_applicable")'
```

Returns exit code 0 if all ready, 1 otherwise.

## Lifecycle Commands

### Start Tilt

```bash
tilt up
tilt up --stream          # Stream logs to terminal
tilt up --port=10351      # Custom API port
tilt up -- --env=dev      # Pass args to Tiltfile
```

### Stop Tilt

```bash
tilt down
```

Removes resources created by `tilt up`.

### CI Mode

```bash
tilt ci                   # Default timeout: 30m
tilt ci --timeout=10m     # Custom timeout
```

Runs until all resources reach steady state or error, then exits.

### Verify Installation

```bash
tilt verify-install
```

### Version

```bash
tilt version
```

## Global Flags

```
-d, --debug      Enable debug logging
-v, --verbose    Enable verbose logging
--klog int       Kubernetes API logging (0-4: debug, 5-9: tracing)
--host string    Host for Tilt API server (default "localhost")
--port int       Port for Tilt API server (default 10350)
```
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 323kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall