flisk: Skill for Claude Code

.claude/skills/flisk-recipe-ai-agent/SKILL.md

flisk-recipe-ai-agent is a skill for Claude Code from flisk-sh/flisk. It costs 81 tokens per session (637 once invoked), scanned A, original, MIT.

A build recipe for an AI agent with conversation sessions, a tools server, and a backend database. The tools server uses MCP, a standard way for an AI system to call external tools.

In plain words
What is it for?
Use it to create an assistant with session-based conversations, tools such as listing and adding notes, and API endpoints for storing those notes.
Why use it?
It provides a defined arrangement for the agent, its tools, and stored notes instead of requiring each service and connection to be designed separately.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is flisk-sh/flisk's own configuration. It tells Claude Code how to work on flisk itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flisk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to flisk-sh/flisk. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/flisk-sh/flisk/main/.claude/skills/flisk-recipe-ai-agent/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/flisk-sh/flisk

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flisk-recipe-ai-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/flisk-sh/flisk/flisk-recipe-ai-agent/github.svg)](https://agentmods.dev/skills/flisk-sh/flisk/flisk-recipe-ai-agent)
Your own site
<a href="https://agentmods.dev/skills/flisk-sh/flisk/flisk-recipe-ai-agent"><img src="https://agentmods.dev/badge/skills/flisk-sh/flisk/flisk-recipe-ai-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flisk-recipe-ai-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/flisk-sh/flisk/flisk-recipe-ai-agent"><img src="https://agentmods.dev/badge/skills/flisk-sh/flisk/flisk-recipe-ai-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.00637
Opus 5.5 $0.00032 $0.00255
Sonnet 5.5 $0.00016 $0.00127
Haiku 4.5 $0.00008 $0.00064

Measured 5d ago against content hash 2b935dce638c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flisk-recipe-ai-agent scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST -H 'x-session-id: demo' -H 'content-type: application/json' \
.claude/skills/flisk-recipe-ai-agent/SKILL.md · 46 lines

What it actually says

Recipe: an AI agent with MCP tools and a database

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.

Steps

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 networks --stack ai --raw

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.

App code

  • 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.

Done when

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 46 lines · 81 tokens per session scan A 2b935dce638c

Subscribe to this mod's changes

flisk-recipe-ai-agent is a skill published in the GitHub repository flisk-sh/flisk (54 stars, last pushed yesterday), licensed MIT. It adds 81 tokens to every session and 637 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

flisk-recipe-ai-agent compared with skills from other repositories

flisk-recipe-ai-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flisk-recipe-ai-agentflisk-sh/fliskSkill54yesterdayMITA81Claude Code
harborav/harborSkill3.3k9d agoApache-2.0A114Claude Code
starlark-devkurtosis-tech/kurtosisSkill559todayApache-2.0A50Claude Code, Codex
cost-guardrailjpantsjoha/ai-native-developer-experienceSkill1311d agoApache-2.0A55Claude Code
ai-elementsbuild-with-dhiraj/ai-workflow-framework-portability-kitSkill51mo agoMITA53Claude Code
ai-gatewaybuild-with-dhiraj/ai-workflow-framework-portability-kitSkill51mo agoMITA35Claude Code
json-renderbuild-with-dhiraj/ai-workflow-framework-portability-kitSkill51mo agoMITA45Claude Code