prefect-automations-to-orchestra

prefect-automations-to-orchestra is a skill for Claude Code from orchestra-hq/orchestra-skills. It costs 93 tokens per session (1,703 once invoked), scanned A, original, MIT.

A guide for moving Prefect Automations to Orchestra. Prefect is a workflow tool, and Automations start workflows when events such as file arrivals, database changes, schedules, or webhooks occur.

In plain words
What is it for?
Use it when converting Prefect projects that react to files, databases, scheduled times, webhooks, or other flow events.
Why use it?
It explains how to represent those Prefect triggers in Orchestra's sensors, schedules, webhooks, and related pipeline settings.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the migrate-to-orchestra plugin — 52 skills shipped together

Good fit Use it when converting Prefect projects that react to files, databases, scheduled times, webhooks, or other flow events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orchestra-hq/orchestra-skills/prefect-automations-to-orchestra
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add orchestra-hq/orchestra-skills --skill prefect-automations-to-orchestra
Clone the repo
git clone --depth 1 https://github.com/orchestra-hq/orchestra-skills

Made for: Claude Code.

Or install migrate-to-orchestra, the plugin that ships this one along with the rest of its 52 skills.

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 prefect-automations-to-orchestra

README.md
[![agentmods](https://agentmods.dev/badge/skills/orchestra-hq/orchestra-skills/prefect-automations-to-orchestra/github.svg)](https://agentmods.dev/skills/orchestra-hq/orchestra-skills/prefect-automations-to-orchestra)
Your own site
<a href="https://agentmods.dev/skills/orchestra-hq/orchestra-skills/prefect-automations-to-orchestra"><img src="https://agentmods.dev/badge/skills/orchestra-hq/orchestra-skills/prefect-automations-to-orchestra/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 prefect-automations-to-orchestra

Your own site · 80×15
<a href="https://agentmods.dev/skills/orchestra-hq/orchestra-skills/prefect-automations-to-orchestra"><img src="https://agentmods.dev/badge/skills/orchestra-hq/orchestra-skills/prefect-automations-to-orchestra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00093 $0.01703
Opus 5 $0.00046 $0.00851
Sonnet 5 $0.00019 $0.00341
Haiku 4.5 $0.00009 $0.00170

Measured 12d ago against content hash 781ceb00f4f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

prefect-automations-to-orchestra scanned grade A with 0 findings 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/migrate-to-orchestra/skills/prefect-automations-to-orchestra/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

Prefect Automations react to external events (file arrivals, database state, webhook calls, or schedules) and trigger flow runs. In Orchestra, the equivalent is the sensors: block — a set of named checks that poll external systems on a cron schedule and gate the pipeline run. Automations that fire on flow state changes (failed/succeeded) are not sensors; those become alerts: (see prefect-alerts-to-orchestra).

Parameter Mapping

Prefect construct Orchestra field Notes
Automation: S3 object created event → trigger sensors.checks with sensor_type: AWS_S3_FILE integration: AWS_S3
Automation: scheduled (cron) schedule: at pipeline root see prefect-flow-structure-to-orchestra
Automation: webhook trigger webhook: {enabled: true} at pipeline root
@flow polling a DB table (Snowflake) sensors.checks with sensor_type: SNOWFLAKE_QUERY
@flow polling SQL Server sensors.checks with sensor_type: SQL_SERVER_QUERY
Automation: upstream flow completion → trigger trigger_events: at pipeline root see prefect-cross-flow-to-orchestra
Automation: flow failed → notify alerts: block NOT a sensor
SensorModel.timeout_mins max 1440 (24 h) Prefect has no equivalent cap
map_outputs pipes sensor query result to pipeline inputs: declare matching key in pipeline inputs:

Valid sensor_type values (SensorChecksEnum — exactly 9): AWS_S3_FILE, ADLS_FILE, SFTP_FILE, SNOWFLAKE_QUERY, SQL_SERVER_QUERY, DATABRICKS_QUERY, FABRIC_SYNAPSE_QUERY, ORCHESTRA_PIPELINE_STATUS, ORCHESTRA_WEBHOOK_EVENT

POSTGRES_QUERY and GCP_BIG_QUERY_QUERY are NOT valid sensor types.

Orchestra YAML Structure

version: v1
name: pipeline-name

sensors:
  <sensor-key>:
    name: <human-readable name>
    cron: '<cron expression>'
    timezone: UTC
    timeout_mins: 60          # max 1440
    frequency_secs: 60        # how often checks are polled within the window
    checks:
      <check-key>:
        integration: <INTEGRATION>
        sensor_type: <SensorChecksEnum value>
        connection: <connection_name>
        parameters:
          <integration-specific params>
        map_outputs:           # optional — pipe result to pipeline inputs
          <input_key>: result

pipeline:
  <stages and tasks>

Read the full file on GitHub · 175 lines

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. 12d ago First seen · 175 lines · 93 tokens per session scan A 781ceb00f4f3

Subscribe to this mod's changes

prefect-automations-to-orchestra is a skill published in the GitHub repository orchestra-hq/orchestra-skills (9 stars, last pushed 3d ago), licensed MIT. It adds 93 tokens to every session and 1,703 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens