Skills Plugins MCP Prompt Model 博客 我的中心
開発 #ai #agent #cloud

flue

Build Flue AI-agent applications on Cloudflare Workers with Hono and the Agents SDK. Load when creating Flue agents, workflows, tools, skills, subagents, channels, routing, persistence, validation, deployment, observability, or tests. Entry point for all Flue sub-skills.

DeepseekModel キュレーション済みスキル 品質 良好 · 48 v1.0.0

取得

https://deepseekmodel.com/api/download.php?id=louisbrulenaudet-flue-skills-skills-flue-skill-md&format=skill
ダウンロード .skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能
.skill ファイルの system_prompt フィールドの実際の内容。
name flue description Build Flue AI-agent applications on Cloudflare Workers with Hono and the Agents SDK. Load when creating Flue agents, workflows, tools, skills, subagents, channels, routing, persistence, validation, deployment, observability, or tests. Entry point for all Flue sub-skills. type core library flue library_version 1.x (1.0 Beta line) license MIT Flue Flue is a TypeScript framework for building AI agents using the harness-driven architecture popularized by coding agents. An application is a set of agents (continuing instances that accept messages over time), workflows (finite agent-backed operations), tools (application code the model can call), skills (reusable instructions), and channels (verified provider ingress). Flue mounts a Hono HTTP surface and runs on Node.js or Cloudflare Workers; on Cloudflare it uses the Agents SDK and Durable Object SQLite for durable runs and sessions. CRITICAL — documentation first. Flue's API surface is young and version-sensitive. Before writing or editing Flue code, confirm the exact API against the installed version: run pnpm flue docs (bundled offline docs) or read https://flueframework.com/docs . Do not invent APIs, bindings, file layouts, or runtime behavior. If something is not in the docs, omit it or mark it as a recommendation. Package manager — pnpm. This skill pack assumes pnpm to run project-local CLIs: pnpm flue … , pnpm wrangler … . Do not use npx for Flue or Wrangler commands. Ensure flue and wrangler are in your project's devDependencies (or dependencies ) so pnpm resolves them. The one-time skill-pack install ( npx skills add … ) is the only exception. CRITICAL — schema library. This project standardizes on Zod (v4) for all validation, see reference/validation-zod.md for the exact pattern and the z.toJSONSchema() fallback. CRITICAL — Flue manages its own persistence. Flue stores session/run state in Durable Object SQLite automatically on Cloudflare (or via a db.ts adapter on Node) — never wire an external database in as Flue's session store. Keep your business data in your own application database. See reference/database.md . Sub-skills Task File Where files go, src/ vs .flue/ , naming reference/project-layout.md HTTP surface, src/app.ts , middleware, mounting flue() reference/routing.md Hono + Workers entrypoint, assets, request flow reference/hono-workers.md createAgent , profiles, ids, sessions, HTTP exposure reference/agents.md run() , FlueContext , sessions, result schemas reference/workflows.md defineTool , parameters, safe interfaces reference/tools.md Flue skills ( SKILL.md , with { type: 'skill' } ) reference/skills.md Subagent profiles, delegation boundaries reference/subagents.md Verified provider ingress, dispatch, idempotency reference/channels.md Zod validation, type inference, Flue schema slots reference/validation-zod.md Flue persistence + your own business database reference/database.md flue build , wrangler, migrations, secrets, deploy reference/deployment-cloudflare.md ctx.log , observe() , OTel/Braintrust/Sentry reference/observability.md vitest-evals, local dev, pre-deploy checks reference/testing.md Auth boundaries, secrets, prompt injection, isolation reference/security.md End-to-end copy-pasteable examples reference/examples.md Step-by-step task recipes live in workflows/ . Start there for a concrete job; drop into reference/ for depth. Quick decision tree Need a continuing, conversational instance that accepts messages over time? → agents Need a finite, one-shot agent-backed job (summarize, review, transform)? → workflows Need the model to call your code (DB lookup, API call, action)? → tools Need reusable instructions/process the agent loads on demand? → skills Need a specialist the parent agent delegates to (no public endpoint)? → subagents Need to accept verified webhooks/events from an external provider? → channels Need to validate input/output shapes? → validation-zod Need durable business data (customers, tickets, payments)? → database Shipping to Cloudflare Workers? → deployment-cloudflare Default implementation philosophy Prefer the smallest unit that fits: a tool for a discrete action, a workflow for a finite job, an agent only when conversation continuity matters, a subagent for bounded delegation. Validate every trust boundary. Keep Flue's session state separate from durable business data. Expose nothing over HTTP without an explicit route export and middleware. Go through Flue's HTTP admission boundary (or dispatch ) — never call run() directly. Minimal working example // src/agents/hello.ts import { createAgent } from '@flue/runtime' ; export const description = 'Tells a short hello-world joke.' ; export default createAgent ( () => ({ model : 'anthropic/claude-haiku-4-5' , instructions : 'Tell a short "hello world" engineering joke.' , })); pnpm flue dev # watch-mode local server pnpm flue connect hello demo # interactive session against instance "demo" Verification is required before completion Every workflow recipe in this pack ends with a verification step. Do not report a task done until you have run it. The baseline gate for any Flue change: pnpm flue build --target <node|cloudflare> # must build clean # then exercise the affected route, e.g.: curl "http://localhost:3583/workflows/<name>?wait=result" \ -H 'Content-Type: application/json' -d '{ ... }' Anti-patterns (do not do) Inventing Flue APIs from memory instead of checking pnpm flue docs / the live docs. Wiring an external database as Flue's session/run store — that is DO SQLite (automatic on Cloudflare) or a db.ts adapter (Node). Deploying the source wrangler.jsonc instead of the generated dist/<name>/wrangler.json . Adding an agent/workflow without a uniquely-tagged new_sqlite_classes migration. Calling a workflow's run() directly from app code. Exposing an agent/workflow without a route export and auth middleware. One giant skill file or overloaded CLAUDE.md — use progressive disclosure.
このスキルを起動するキーワード。クリックでコピーできます。

このスキルにはトリガーワードがありません。

ダウンロードした .skill に含まれるフィールド。
フィールド 説明
formatフォーマット識別子(skill/v1)
skill_idスキル固有 ID
nameスキル名
versionバージョン
description説明
categoryカテゴリ(配列)
trigger_wordsトリガーワード
tagsタグ
sourceソース
source_urlソース URL(本ページ)
exported_atエクスポート日時(ダウンロード毎)
system_promptシステムプロンプト本文
model_configモデル設定:provider / model / temperature / max_tokens / top_p
examplesサンプル
install_guide各プラットフォームの導入説明(Coze / Dify / Claude / カスタム)
同じスキルを各プラットフォーム形式で出力できます。
.skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能 ダウンロード
.skillpro 拡張形式。scripts / tools / dependencies / hooks を含む ダウンロード
.json 純粋な JSON 出力。system_prompt とモデル設定のみ ダウンロード
Coze frontmatter 付き Markdown。Coze へのインポート用 ダウンロード
Dify Dify DSL。アプリ作成後にそのままインポート ダウンロード

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。