/flisk:flisk-troubleshootfrom flisk
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. 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
Generated from the plugin's indexed repository (flisk-sh/flisk) — no native marketplace selected
npx claudepluginhub p/flisk-sh-flisk-plugins-flisk13 skills in this plugin
/flisk-agent-opsGround rules and the CLI-to-MCP command map for a coding agent (Claude Code, Cursor, Codex) working in a Flisk project - create services with `flisk resource` instead of hand-writing Dockerfiles, Compose files or manifests, keep the agent resource contract, and drive the stack with `--json` commands or the `flisk mcp` tools (`doctor`, `up`, `status`, `logs`, `resource_restart`, `agent_list`, `agent_sessions`, `down`). Use when about to write container config by hand or when you need the MCP tool for a CLI command. For building a whole app from a request, use flisk-build./flisk-buildTurn a plain request such as "build me a small online shop", "a SaaS with login and billing", "an AI agent with MCP tools and a database" or "a blog with an admin API" into Flisk steps (`flisk project`, `flisk resource ... --type ... --stack ...`, `flisk up`), check that every URL is healthy, and tell the user where the app is. Use when the user asks you to build, scaffold or run a new app on their laptop with Flisk./flisk-convertConvert any existing app (Node, Python, Go, Rust, Bun, a static site, a Docker Compose or Procfile project, a monorepo) to run with Flisk, so `flisk up` starts it locally. Picks the right path (local processes, bring-your-own container, or `flisk import`), writes the `service.json` files with the CLI, and checks every URL. Use when the user says "convert this app to Flisk", "run this with Flisk", "add Flisk to this repo" or "move my Compose setup to Flisk". For a new app from a plain request, use flisk-build./flisk-doctorCheck or repair the local Flisk development environment and project configuration using `flisk doctor` (including `--all`, `--json` and `--fix`). Use when setting up a Flisk project, before running `flisk up`, or when Docker, Tilt, Bun, ports, Docker networks, generated files or service manifests may be misconfigured. For a stack that started and then failed, use flisk-troubleshoot instead./flisk-recipe-ai-agentRecipe for "build me an AI agent with MCP tools and a database" with Flisk - an agent service with sessions, an MCP tools server and a backend with a database in one stack, started with `flisk up`. Use with the flisk-build skill when the user asks for an AI agent, chatbot, assistant, MCP server or tools for an agent./flisk-recipe-blogRecipe for "build me a blog with an admin API" with Flisk - a public blog site and a posts API with a database and token-protected admin routes, in one stack started with `flisk up`. Use with the flisk-build skill when the user asks for a blog, a CMS, a news site or any site with an editor.3 plugins in 2 repositories ship this exact skill · first indexed Oct 30, 2026
Other plugins' skills for the same job