Download for MacApple silicon, macOS 14+
Skill

filtering

@honeydew-ai Updated 2026-08-30

Use when the user needs to filter data — whether in a structured query, a metric aggregation, or an attribute expression. Covers filter syntax, date handling, and best practices.

analyticsclaude-codecodexcontext-layercursorhoneydewsemantic-layer

Install

With your agent

Install OMGSkills skill "honeydew-ai/honeydew-ai-coding-agents-plugins:skills/filtering" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/honeydew-ai/honeydew-ai-coding-agents-plugins /tmp/honeydew-ai-coding-agents-plugins && ln -s /tmp/honeydew-ai-coding-agents-plugins/skills/filtering ~/.claude/skills/filtering

From README

Overview Filtering restricts which rows contribute to a result. The same expression language applies across three contexts in Honeydew: | Context | Where it appears | When it runs | | ------------------------ | --------------------------------------------------------- | ------------------ | | Structured query | filters parameter in getdatafromfields / getsqlfromfields | Pre-aggregation | | Metric aggregation | FILTER (WHERE ...) on an aggregation | During aggregation | | Attribute expression | CASE WHEN ... END in attribute SQL | Per-row evaluation | | Metric value filter | Metric expression in filters parameter | Post-aggregation | --- Filter Expression Syntax Comparisons Operators: =, , >=, 'AND'. NULL Checks Booleans Date Comparisons Combining Conditions Use AND / OR to combine conditions. Use parentheses to control precedence.