/flisk-cli:flisk-troubleshootfrom flisk-cli
Diagnoses and fixes Flisk stack failures after `flisk up` starts it: red Tilt resources, Postgres crash loops, Docker daemon hangs, and overloaded machines.
Ships in flisk-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Work from evidence: what the CLI, Tilt and Docker report. Say what you measured, what you estimated and what you do not know, in that order. The full message-by-message guide is docs/troubleshooting.md.
flisk status --unhealthy --json # which services are failing or still starting
flisk logs --unhealthy --tail 100 # their recent logs
flisk doctor --json # machine and project checks
time docker ps -q | wc -l # how many containers, and how slow Docker is
docker ps taking more than about 5 s means the machine is overloaded, not broken. flisk doctor and flisk down give up after their own 10 s Docker check in that state. Check load (uptime) and free memory before blaming Docker, Tilt or the code.tilt up recreates any container you docker stop within seconds. Run flisk down (it stops this project's Tilt too) instead of stopping containers one by one.<project>-<stack>-autogenerated-<service>-1; filter by project before stopping anything.flisk up <stack>, or flisk up <stack> --only <service>.docker ps hung for 10s)"Cause: usually overload, as above. Fix: flisk down, wait for the load to drop, then start one stack instead of all of them.
flisk up keeps waiting, or init-networks is redCause: Docker has no free address pools (all predefined address pools have been fully subnetted). Every Flisk project creates several networks and flisk down keeps them. Fix: flisk doctor --fix --scope=machine removes unused networks of every Flisk project. For throwaway projects, stop them with flisk down --prune-networks.
Cause: the container was created while DB_PASSWORD was empty. Environment variables are fixed when a container is created, so editing .env afterwards does not help.
docker inspect <project>_postgres --format '{{range .Config.Env}}{{println .}}{{end}}' | grep POSTGRES_PASSWORD
Fix: set DB_PASSWORD in the project .env (flisk doctor reports an empty one), then recreate the container with flisk down and flisk up. The data volume survives.
pull access denied ... <project>-l4-backend:latest (or -l3-frontend)The golden image named in the error is missing locally. Check with docker image inspect <project>-l4-backend:latest.
golden-layers-build is still running: wait for it. Tilt does not retry resources that failed earlier, so trigger every errored resource yourself:
tilt get uiresources -o json | python3 -c 'import json,sys; [print(i["metadata"]["name"]) for i in json.load(sys.stdin)["items"] if i.get("status",{}).get("updateStatus")=="error"]' | xargs -n1 tilt trigger
golden-layers-build finished but the image is missing: a golden target failed, often on a transient package-mirror error. Read tilt logs golden-layers-build for the first ERROR: target ...: failed to solve. Run tilt trigger golden-layers-build (or FLISK_GOLDEN_REBUILD=1 flisk up for a full rebuild), then trigger the errored resources as above. Current versions retry the bake up to 3 times and log "Golden layers build failed after 3 attempts" when all fail.
*-run-only resources fail with No such image: <project>_<stack>_<service>:devCause: they ran before the image was built. Fix: once the image builds, tilt trigger them.
The build fails with "/shared-platform-engineering/docker-templates/<x>.sh": not found or "/package.json": not found. flisk doctor reports this as Generated Runtime Assets. Fix: run flisk up again (it refreshes these assets before Tilt starts) or flisk config regenerate. If the root package.json is still missing, add a Bun workspace manifest:
{ "name": "<project>", "private": true, "type": "module", "workspaces": ["services/*/*"] }
TS2688: Cannot find type definition file for 'bun'Cause: the generated tsconfig sets "types": ["bun"] but the service's package.json has no @types/bun. Fix: add @types/bun to its devDependencies. flisk doctor reports this too.
HTTP 404 from TraefikTraefik is up but has no route for that URL. Use the URLs printed by flisk up or flisk networks; a resource named orders-api is routed at /api/orders on api.<project>.localhost.
tilt CLI; the HTTP API at localhost:10350/api/view needs a session token.tilt get uiresources <name> -o json shows one resource. buildHistory[0] is the newest build; reading the last entry shows a stale error.tilt logs <resource> gives the full build log.Projects run a vendored copy of the engine in .flisk/.flisk-out/flisk-cli-ext/, which an installed flisk refreshes from its own bundle. To run your checkout's engine:
(cd <flisk-checkout>/cli && bun run build)
FLISK_EXTENSION_SOURCE=<flisk-checkout> bun <flisk-checkout>/cli/bin/flisk.js project --yes
.autogenerated/ files to make a build pass. Fix service.json or the generator.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flisk-sh/flisk-skills --plugin flisk-cli3 plugins in 2 repositories ship this exact skill · first indexed Oct 30, 2026
36 skills in this plugin
/flisk-agentsBuild and operate AI agent resources in a local Flisk stack - scaffold an agent (`--type agent`) next to an MCP tool server, a database and a queue, implement its process contract (`/health`, `/ready`, `POST /turn`, `GET /session`, `GET /sessions` with `x-session-id`), choose checkpoint durability, and inspect sessions with `flisk agent sessions`. Use when an app needs a long-running agent with durable sessions. For a generic backend or worker, use flisk-scaffold./flisk-benchmarkMeasure how many Flisk services fit on a machine - idle memory per service from the Docker VM (not `docker stats`), parallel start-up time, real image disk use, and health - with the benchmark scripts in a flisk checkout. Use when validating the 100-services-on-16-GB goal, checking a published performance number, or answering "how many services can my laptop run". To change the Docker layers and keep only improvements, use layer-autoresearch; to fix a slow or failing stack, use flisk-starlark-perf or flisk-troubleshoot./flisk-build-runtimesPick the language and framework of a new Flisk service - backends in Bun (Hono default, or Express, Elysia, Fastify, NestJS, Koa, h3), Python (FastAPI), Go, Rust or Node via `--language`, and frontends in React (default), Vue, Svelte, Preact, Lit, Solid, Qwik, Vanilla, TanStack Router or Next.js via `--framework`. Use when the user names a language or framework, or asks which ones Flisk supports. For a language Flisk has no provider for, use flisk-byo.Other plugins' skills for the same job