flisk-agent-ops
Skill49 starsChanged 36 days agoMITView on GitHub
Ground 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.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli/AGENTS.mdAGENTS.md
- flisk-bug-hunterSkill
- flisk-buildSkill
- flisk-convertSkill
- flisk-doctorSkill
- flisk-e2e-authorSkill
- flisk-recipe-ai-agentSkill
- flisk-recipe-blogSkill
- flisk-recipe-saasSkill
- flisk-recipe-shopSkill
- flisk-recipe-startersSkill
- flisk-releaseSkill
- flisk-resourceSkill
- flisk-scan-convertSkill
- flisk-startup-perfSkill
- flisk-statusSkill
- flisk-tool-addSkill
- flisk-troubleshootSkill
- flisk-upSkill
- layer-autoresearchSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
When building, adding, or modifying services in this workspace, do not hand-write Dockerfiles, Docker Compose files, or container manifests.
- Very specific: line 35
Start the stack: flisk up --json (or tool up)
- Very specific: line 37
Check logs: flisk logs --tail 200 --json (or tool logs)
- Very specific: line 41
Stop services: flisk down --json (or tool down)
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flisk Agent Operations Guide
When building, adding, or modifying services in this workspace, do not hand-write Dockerfiles, Docker Compose files, or container manifests. Flisk automatically manages containerization, networking (Traefik), dependencies, and hot reload.
Core Rules for AI Coding Agents
- Always use Flisk to scaffold new services:
- Scaffold an AI agent:
flisk resource <name> --type agent [--durability files|postgres] - Scaffold an MCP tool server:
flisk resource <name> --type mcp - Scaffold a backend API:
flisk resource <name> --type backend [--framework hono|express|fastify] - Scaffold a worker:
flisk resource <name> --type worker - Scaffold a frontend:
flisk resource <name> --type frontend [--framework react|vue|next] - Wrap an existing Dockerfile or image:
flisk resource <name> --type bring-your-own --dockerfile ./Dockerfile(or--image <name>)
- Scaffold an AI agent:
- The
agentProcess Contract:/health: Liveness only. Responds 200 when the process is alive./ready: Readiness check. Responds 200 when the checkpoint store (named volume or Postgres) is reachable./turn(POST): Accepts a JSON body{"input": "..."}with headerx-session-id: <session-id>./session(GET): Returns checkpointed messages and turns for the session specified inx-session-id./sessions(GET): Lists the stored sessions, newest first.- Checkpoints persist across container restarts and
flisk down/flisk up.
- Operate via MCP or CLI:
- Preflight & diagnostics:
flisk doctor --json(or tooldoctor) - Start the stack:
flisk up --json(or toolup) - Inspect status:
flisk status --json(or toolstatus) - Check logs:
flisk logs --tail 200 --json(or toollogs) - Restart a service:
flisk restart <resource> --json(or toolresource_restart) - List agents:
flisk resources --type agent --json(or toolagent_list) - List agent sessions:
flisk agent sessions <resource> --json(or toolagent_sessionswithresource); add--session-id <id>(tool:sessionId) to read one session's checkpoint - Stop services:
flisk down --json(or tooldown)
- Preflight & diagnostics:
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

