kestra: Instructions file for Codex

AGENTS.md

kestra AGENTS.md is an instructions file for Codex, OpenCode from kestra-io/kestra. It costs 7,268 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for AI coding agents working on Kestra, an open-source workflow and automation platform. They explain the project's working style, technology, and important coding patterns.

In plain words
What is it for?
Planning changes, finding existing examples, editing Kestra safely, and following its review and coding expectations.
Why use it?
They help agents make focused changes that fit the existing code instead of adding unnecessary complexity or creating duplicate solutions.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is kestra-io/kestra's own configuration. It tells Codex and OpenCode how to work on kestra 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 kestra configures →

About the project

Kestra is an open-source platform for defining and running data, AI, and infrastructure workflows that start on a schedule or in response to events. It is used to automate pipelines and operational processes through a declarative interface and a visual interface. Catalogue add-ons help coding agents work with Kestra workflows.

kestra-io/kestra · 30,152 stars · on GitHub · go.kestra.io

Reuse

Borrowing it

Nothing to install: this file belongs to kestra-io/kestra. 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/kestra-io/kestra/develop/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/kestra-io/kestra

Made for: Codex, OpenCode.

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 kestra AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kestra-io/kestra/agents-md/github.svg)](https://agentmods.dev/instructions/kestra-io/kestra/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/kestra-io/kestra/agents-md"><img src="https://agentmods.dev/badge/instructions/kestra-io/kestra/agents-md/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 kestra AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kestra-io/kestra/agents-md"><img src="https://agentmods.dev/badge/instructions/kestra-io/kestra/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,268 This file is loaded in full into every session.
When invoked 7,268 The same file — it is already loaded in full.
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.07268 $0.07268
Opus 5.5 $0.02907 $0.02907
Sonnet 5.5 $0.01454 $0.01454
Haiku 4.5 $0.00727 $0.00727

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

Security

Grade A, and why

kestra AGENTS.md 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 14d 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.

AGENTS.md · 540 lines

How it starts

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

Coding Agent Guidelines for Kestra Open Source Edition

This document provides essential information for AI coding agents working on the Kestra codebase.

IMPORTANT — READ FIRST

  • Act as a Senior Software Engineer and Software Architect. Approach software development with:
    • Pragmatism: Favor simple solutions over clever ones
    • Skepticism: Question decisions that could cause technical debt or scalability issues
    • Efficiency: Only challenge when it genuinely matters
  • Think before coding: explicitly state assumptions, compare alternatives, and justify choices.
  • Simplicity first (KISS): overengineering and "gas factories" are strictly forbidden.
  • Surgical changes only: touch only what is strictly necessary to achieve the goal.
  • Goal-driven execution: define what success looks like before writing the first line of code.
  • Reuse before writing: the pattern you need almost always exists already. Find the closest equivalent in the codebase and follow it instead of inventing a second way to do the same thing.
  • No comments by default: see Comments. Over-commenting is one of the most common reasons a PR written by an agent has to be revised.
  • How Kestra looks is decided by the design system: see UI Design System. No color, spacing, radius or component pattern may be invented in feature code.
  • A test has to be able to fail for a reason a reviewer would care about: see When a test earns its place. More tests do not make a change safer.
  • Build and test only what you touched rather than the whole repo: see What to run after a change.

Comments

The default is no comment. Small methods with accurate names need no explanation, and every comment is a second thing that has to be kept in sync with the code. Over-commenting is easy to slip into: the next line gets narrated, the method name gets restated above the method, and // Step 1 / // Step 2 scaffolding is left behind. None of that will be accepted in review.

Read the full file on GitHub · 540 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. 14d ago Changed · +3 tokens per session 9c40ddefc38c
  2. 22d ago Changed · +23 tokens per session ddbe5677c7de
  3. 23d ago Changed · -31 tokens per session 3f2fa12afd90
  4. 28d ago Changed · +38 tokens per session 960527bd24e1
  5. 1mo ago Changed · +1 lines · +63 tokens per session 58b4748e53b4
  6. 1mo ago Changed · +16 lines · +164 tokens per session 2429e447abfa
  7. 1mo ago Changed · +61 tokens per session 2efef0046201
  8. 2mo ago First seen · 523 lines · 6,947 tokens per session scan A abc5d003d869

Subscribe to this mod's changes

kestra AGENTS.md is an instructions file published in the GitHub repository kestra-io/kestra (30,152 stars, last pushed yesterday), licensed Apache-2.0. It adds 7,268 tokens to every session, about $0.0291 per session on Opus 5.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-30.

Related

kestra AGENTS.md compared with instructions from other repositories

kestra AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kestra AGENTS.mdkestra-io/kestraInstructions file30kyesterdayApache-2.0A7,268Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode