/flisk:flisk-recipe-ai-agentfrom Flisk App Builder
Recipe 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.
Ships in Flisk App Builder. 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.
Parts: an agent that keeps a conversation per session, an MCP server with the agent's tools, and a backend that stores the data the tools read and write.
flisk doctor
flisk project --yes
flisk resource assistant --type agent --stack ai --yes
flisk resource tools-mcp --type mcp --stack ai --yes
flisk resource notes-api --type backend --stack ai --feature drizzle --yes
flisk up ai --dry-run
flisk up ai --json & # wait for {"ok":true}
flisk status --json # every resource ready; its `url` or `directUrl` answers
Keep the agent on the default session storage (a named volume). In Flisk 1.4.2 an agent created with --durability postgres fails its image build (TS7016: Could not find a declaration file for module 'pg'); use the notes-api backend for the database instead.
notes-api: a notes table (src/schema.ts) and GET /notes, POST /notes. Keep /health and /health/db.tools-mcp: tools such as list_notes and add_note that call notes-api.assistant: the agent contract is already in place: /health, /ready, POST /turn and GET /session with an x-session-id header. Put the agent's logic in the turn handler. If the user gives a model API key, list its name under secrets.required in service.json and put the value in the project .env.Each answers 200 on api.<project>.localhost:<port>: /api/assistant/health, /api/assistant/ready, /api/tools-mcp/health, /api/notes/health, /api/notes/health/db. Then send one turn:
curl -s -X POST -H 'x-session-id: demo' -H 'content-type: application/json' \
-d '{"input":"hello"}' http://api.<project>.localhost:<port>/api/assistant/turn
Tell the user the three URLs, how to talk to the agent (the curl above), and that flisk agent sessions assistant --session-id demo shows the saved conversation.
If a mcp__flisk__* tool is missing, run flisk connect claude in the project folder and restart Claude Code. The CLI commands in this skill work without MCP as well.
What SKILL.md sets; muted values are Claude Code's defaults
14 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.npx claudepluginhub flisk-sh/flisk-cli --plugin fliskOther plugins' skills for the same job