/flisk-cli:flisk-agentsfrom flisk-cli
Build 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.
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.
Flisk runs an agent, its MCP tools, a database and a queue behind one local gateway, started by one command.
flisk resource bot --type agent --stack shop --yes
flisk resource tools-mcp --type mcp --stack shop --yes
--durability files (default) keeps checkpoints on a named Docker volume; --durability postgres stores them in the project Postgres. To start from a complete example instead, clone it: flisk project agent-stack --path <folder> --yes.src/index.ts. List any model API key under secrets.required in service.json and put the value in the project .env.flisk up shop, then check http://api.<project>.localhost/api/bot/health and /ready (use the exact URL from flisk networks).curl -X POST -H 'x-session-id: s1' -H 'content-type: application/json' -d '{"input":"hi"}' http://api.<project>.localhost/api/bot/turn
flisk agent sessions bot # list sessions (add --watch to refresh)
flisk agent sessions bot --session-id s1 --json # read one checkpoint
/health: liveness only. Idle is healthy; it never checks the store./ready: 200 when the checkpoint store is reachable and the agent is not draining.POST /turn with x-session-id: loads that session's checkpoint, runs the turn, commits the checkpoint.GET /session with x-session-id: returns one session's checkpoint. GET /sessions lists all sessions, newest first.flisk down. Delete the volume yourself (docker volume ls | grep agent-state) to reset sessions.Run flisk mcp (stdio) so the coding agent drives the stack itself: agent_list lists agent resources, and agent_sessions takes resource plus an optional sessionId (without it, it lists the sessions). The rest of the tools mirror the CLI: up, status, logs, resource_restart, down.
GET /sessions existed returns 404 and the CLI reports SESSION_LIST_UNSUPPORTED; copy that handler from a new scaffold.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-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./flisk-byoBring 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.Other plugins' skills for the same job