/flisk-cli:flisk-byofrom flisk-cli
Bring an existing service into a Flisk stack as a bring-your-own (BYO) resource with `flisk resource <name> --type bring-your-own` - from its own Dockerfile, a registry image, or a source tree elsewhere in the repo - including one-shot jobs such as migrations and seeders (`--restart no`). Use when you already have a Dockerfile, image or start command and want `flisk up` to run it. For a root docker-compose.yml use flisk-import-compose; for a Procfile use flisk-import-procfile; for new code use flisk-scaffold.
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.
A BYO resource is your container under Flisk's routing, health checks and stacks. Flisk generates the wiring, not the application code.
docker-compose.yml → flisk import . --dry-run, then flisk import . (the flisk-import-compose skill). It writes one BYO resource per Compose service.service.json by hand; a hand-written one can be skipped by discovery):
# from a Dockerfile, relative to the resource directory
flisk resource legacy --type bring-your-own --stack shop \
--dockerfile ./Dockerfile --health-path /health --path services/shop/legacy --yes
# from an existing image, without a Traefik route
flisk resource cache --type bring-your-own --stack shop --image redis:7-alpine --no-proxy --yes
"buildContext" in the generated service.json (relative to the resource directory); dockerfile is then relative to that context.flisk doctor, then flisk up <stack>, and check the URL from flisk networks.port in service.json, read from PORT, and bind to 0.0.0.0.healthCheckPath if it speaks HTTP. Non-HTTP services (databases, brokers) use --no-proxy.DATABASE_URL from the environment if it uses the project Postgres.A BYO container restarts with unless-stopped by default, so a job that exits 0 would start again forever. Use --restart no:
flisk resource migrate --type bring-your-own --stack shop --dockerfile ./Dockerfile --restart no --yes
Add the job's dependency (postgres, or the migrator) to dependsOn. Ready-made jobs for Atlas, Dbmate, Drizzle, Prisma, TypeORM and others are in examples/byo-jobs.
--path must stay inside the project; a service.json outside the project root is not supported..autogenerated/. Change service.json and regenerate.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub flisk-sh/flisk-skills --plugin flisk-cli36 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