Token导航 LogoToken导航TokenDH.com
开发执行命令clawhub未标认证来源可访问clear审计通过

k8s-prefect-flow-builderKubernetes prefect flow 构建器

Agent Skill

k8s-prefect-flow-builder 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 OpenClaw 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,092

周安装

174

GitHub Stars

公开资料未说明

下载量

1,434
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:k8s-prefect-flow-builder(Kubernetes prefect flow 构建器)
来源仓库:https://github.com/exenvitor/k8s-prefect-flow-builder
安装命令:
openclaw skills install k8s-prefect-flow-builder
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install k8s-prefect-flow-builder

简介

k8s-prefect-flow-builder 辅助构建基于 Prefect 的离线计算工作流。

  • 封装常见批处理任务,支持定时调度与资源弹性伸缩。
  • 适合 ETL、模型训练等非交互式长时作业编排。
  • 安装命令:openclaw skills install k8s-prefect-flow-builder。
  • 需配置 Kubernetes 执行环境与 PVC 存储声明。

SKILL.md

name
prefect-flow-builder
description
Build, modify, and review Prefect-based offline orchestration in this repository. Use when adding a new Prefect flow, wrapping an existing offline computation as a flow or task, editing prefect.yaml, splitting deployments by resource profile, configuring resources or concurrency, or aligning CI, Prefect, and Kubernetes deployment behavior.

Prefect Flow Builder

Overview

Use this skill to add or refactor Prefect-managed offline workflows in this repository without mixing orchestration concerns into business logic.

Workflow

  1. Classify the change.
  • New flow or major refactor: read references/flow-design.md and references/template-prefect-yaml.md.
  • Deployment-only or config change: read references/deployment-patterns.md.
  • Resource or concurrency tuning: read references/resources-and-concurrency.md.
  • If the system model is unclear, read references/architecture.md first.
  1. Keep orchestration separate from compute.
  • Put heavy business logic in reusable job or service modules under src/core/....
  • Keep Prefect wrappers in src/prefect_flows/....
  • Use tasks for independently observable units or meaningful side effects; avoid exploding one logical step into many tiny tasks just for structure.
  • Choose task invocation mode deliberately: direct call for simple serial execution, .submit() or .map() for in-flow concurrency, and .delay() only for background execution on separate infrastructure.
  • If a child flow is intentionally serial, call tasks directly inside the loop and let the child flow own error aggregation and final failure semantics. Do not default to .submit() just because the unit is a task.
  • Reserve .submit() for cases that actually need Prefect futures, parallel fan-out, or non-blocking wait and collection behavior, and make sure terminal futures are resolved before the flow returns.
  • Introduce child flows only when you need a separate scaling, resource, or failure boundary.
  1. Put concurrency controls at the right layer.
  • Use task-runner concurrency for in-flow task execution only; it is not a substitute for deployment or infrastructure throttling.
  • Use deployment, work-pool, worker, or work-queue limits to control how many flow runs the platform launches.
  • Use tag-based concurrency limits when many tasks across flows share an external bottleneck such as a database, API, or memory-heavy resource.
  1. Treat prefect.yaml as deployment source of truth.
  • Put deployment names, schedules, work pool selection, resources, concurrency policies, and deployment parameter defaults in prefect.yaml.
  • Let CI provide only deploy-time values such as PREFECT_API_URL and PREFECT_DEPLOY_IMAGE.
  • Keep runtime business env in Kubernetes via env_from, not CI.
  • Keep infrastructure choices aligned with Prefect's worker model: deployments target work pools, and workers poll compatible pools to execute runs.
  1. Make failures observable.
  • Raise exceptions instead of returning non-zero codes silently.
  • Include key context in exception messages and logs.
  • Use readable task and flow names so Prefect UI can identify the failing unit quickly.
  • When a batch must continue after per-item failures, convert each item into a structured result, finish the batch, then raise once at the flow boundary if the aggregate outcome should be failed.
  1. Validate in this order.
  • Run focused tests for changed flow and job code.
  • Review prefect.yaml for deployment or resource drift.
  • Trigger a small manual run before enabling or changing schedules.
  • If the question is about Prefect semantics rather than repo conventions, verify against the official v3 docs before codifying a pattern.

Repository Anchors

  • Flow entrypoints: src/prefect_flows/
  • Reusable compute logic: src/core/
  • Deployment definitions: prefect.yaml
  • Team guide: docs/cg_offline_prediction/prefect_orchestration_overview.md

Prefect v3 Defaults

  • Tasks support three distinct execution modes in v3: direct call blocks and returns a result, .submit() returns a PrefectFuture for concurrent execution in the same flow, and .delay() is for background execution on separate workers.
  • Task runners are optional. If you are not intentionally using concurrency, do not introduce .submit() or a task runner configuration just to preserve the task decorator.
  • Task states are orchestrated client-side and may appear with eventual consistency in the UI, so design recovery and resume logic around durable business outcomes instead of assuming every intermediate task-state transition is the source of truth.

References

  • references/architecture.md for the system model and lifecycle.
  • references/deployment-patterns.md for deployment design and config ownership.
  • references/flow-design.md for wrapping existing jobs as flows and tasks.
  • references/resources-and-concurrency.md for sizing and concurrency decisions.
  • references/template-prefect-yaml.md for reusable deployment templates.
  • Prefect v3 Tasks: https://docs.prefect.io/v3/concepts/tasks
  • Prefect v3 Task runners: https://docs.prefect.io/v3/concepts/task-runners/
  • Prefect v3 Flows: https://docs.prefect.io/v3/concepts/flows
  • Prefect v3 Deployments: https://docs.prefect.io/v3/concepts/deployments
  • Prefect v3 Workers: https://docs.prefect.io/v3/concepts/workers
  • Prefect v3 Tag-based concurrency limits: https://docs.prefect.io/v3/concepts/tag-based-concurrency-limits

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92%
按下载量换算1,319

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install k8s-prefect-flow-builder 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills