orchardcore-data-formulas

orchardcore-data-formulas is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 181 tokens per session (5,253 once invoked), scanned A, original, MIT.

A guide to the formula language and filters used by Orchard Core Data Pipelines. It explains how formulas calculate values from rows, such as multiplying price by quantity, and how text, number, date, logical, and aggregate functions work.

In plain words
What is it for?
Use it to filter rows, create calculated fields, define data-source filters, and add formula functions to Orchard Core modules.
Why use it?
It gives developers one reference for formula syntax, operators, missing values, types, and adding custom functions instead of guessing how expressions are evaluated.

Skill for Claude Code

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

Part of the orchardcore plugin — 115 skills shipped together

Good fit Use it to filter rows, create calculated fields, define data-source filters, and add formula functions to Orchard Core modules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/orchardcore-data-formulas
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 CrestApps/CrestApps.AgentSkills --skill orchardcore-data-formulas
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

Made for: Claude Code.

Or install orchardcore, the plugin that ships this one along with the rest of its 115 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 orchardcore-data-formulas

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-data-formulas/github.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-data-formulas)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-data-formulas"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-data-formulas/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 orchardcore-data-formulas

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/orchardcore-data-formulas"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/orchardcore-data-formulas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,253 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.00181 $0.05253
Opus 5.5 $0.00072 $0.02101
Sonnet 5.5 $0.00036 $0.01051
Haiku 4.5 $0.00018 $0.00525

Measured today against content hash ec827b8bcc49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orchardcore-data-formulas 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 today.

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.

plugins/orchardcore/skills/orchardcore-data-formulas/SKILL.md · 308 lines

How it starts

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

Orchard Core Data Formulas and Filters

The Data Pipelines Core feature (Orchard Core 4.0) includes a formula language, used by the Filter rows and Add calculated fields steps of data pipelines (see orchardcore-data-pipelines) and by features such as reports, and the filter operators that consumers offer to data sources (see orchardcore-data-sources). A formula computes a value from a row, such as [Price] * [Quantity] or UPPER(TRIM([Country])).

Code lives in the OrchardCore.DataSources.Expressions and OrchardCore.DataSources namespaces (packages OrchardCore.DataSources.Core and OrchardCore.DataSources.Abstractions, version 4.*). Register functions in a module that depends on OrchardCore.DataPipelines.Core, or in a [RequireFeatures("OrchardCore.DataPipelines.Core")] startup.

Syntax

Element Syntax
Field Technical name in brackets, [TitlePart.Title]. A ] in a name is doubled: [Size [cm]]] for Size [cm].
Text Single or double quotes, 'CA' or "CA". Double a quote to escape it: 'It''s'.
Number Digits with a dot, 42, 0.25. Without a dot it is an integer.
Constants TRUE, FALSE, NULL
Function ROUND([Amount], 2)
Parentheses ([Price] + [Shipping]) * 1.15

Keywords and function names are case-insensitive; field names are not.

Operators

From the lowest precedence to the highest:

  1. OR or ||
  2. AND or &&
  3. NOT or !
  4. Comparisons = or ==, != or <>, <, <=, >, >=
  5. & joins two values as text (a missing value joins as empty text)
  6. +, -
  7. *, /, %
  8. Unary -, +

Rules:

  • A missing value in arithmetic gives a missing result, and so does a division by zero. Integer arithmetic that overflows continues with decimals.
  • + joins text when one side is text.
  • Date plus or minus a number adds or removes days; date minus date gives the number of days between them.
  • A missing value equals another missing value or an empty text; <, <=, >, >= are false when either side is missing.
  • A date compared with a text converts the text to a date: [CreatedUtc] >= '2025-01-01'. Text comparisons ignore case.
  • A value is true when it is TRUE, a non-zero number, or a text other than empty, false or 0.
  • Functions return a missing value rather than failing when an argument is missing or of the wrong type.
  • A formula is checked before it runs: every field must exist, every function must get the right number of arguments, and operators must suit their operand types. Pipeline steps report an invalid formula as an error of the step.

Read the full file on GitHub · 308 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 308 lines · 181 tokens per session scan A ec827b8bcc49

Subscribe to this mod's changes

orchardcore-data-formulas is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed today), licensed MIT. It adds 181 tokens to every session and 5,253 once invoked, about $0.0007 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-10-22.

Related

Other skills, from other repositories

microsoft-extensions-ai

Build provider-agnostic .NET AI integrations with Microsoft.Extensions.AI, IChatClient, embeddings, middleware, structured output, vector search, and evaluation. USE FOR: building or reviewing .NET code that uses Microsoft.Extensions.AI, Microsoft.Extensions.AI.Abstractions, IChatClient, IEmbeddingGenerator…

managedcode/dotnet-skills · 128 tokens

gdal-api

Use when programming against GDAL/OGR in C, C++, Python, Java, or .NET — raster/vector I/O, gdal.UseExceptions, OGRSpatialReference transforms, gdal.Translate / gdal.Warp, VRT/COG, or fixing "no driver registered" and UnsatisfiedLinkError; C++ gdal-config, Maven org.gdal:gdal 3.13.0, NuGet MaxRev.Gdal.Core.

znlgis/opengis-skills · 96 tokens

publish-release

Releases a new McpOrchestrator version end to end — version bump PR, tag, and the automated deploy to GitHub Releases, NuGet, and the MCP Registry. Use when asked to release, publish, deploy, ship, or bump the version of McpOrchestrator.

Byggarepop/dotnet-mcp-orchestrator · 63 tokens

release-notes

Writes user-facing release notes from a git commit range. Use when asked to draft release notes, a changelog entry, or "what's new" text for a release.

Byggarepop/dotnet-mcp-orchestrator · 39 tokens

opik-verify

Decide ship or hold for a candidate from the compare skill's numbers, against an explicit release policy — regressions, pass rate, safety-tagged cases, subgroup consistency, latency and cost budgets, flakiness, evidence size, and whether the judge is validated. Reads two experiments on an Opik test suite via the SDK…

comet-ml/opik-claude-code-plugin · 145 tokens

add-prompt

Scaffold a new MCP prompt template. Use when the user asks to add a prompt, create a reusable message template, or define a prompt for LLM interactions.

cyanheads/workflows-mcp-server · 37 tokens