filter-build

filter-build is a skill for Claude Code from mindbox-cloud/agent-skills. It costs 175 tokens per session (3,145 once invoked), scanned A, original, MIT.

A skill for building or changing customer or object filters from a plain-language request. A filter is a set of conditions that selects matching records.

In plain words
What is it for?
Creating audience selections, changing filter JSON, converting conditions to SQL, and checking the resulting records.
Why use it?
It turns business requests into platform-confirmed filter definitions while preserving existing conditions during edits.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the mindbox plugin — 7 skills shipped together

Good fit Creating audience selections, changing filter JSON, converting conditions to SQL, and checking the resulting records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mindbox-cloud/agent-skills/filter-build
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 mindbox-cloud/agent-skills --skill filter-build
Clone the repo
git clone --depth 1 https://github.com/mindbox-cloud/agent-skills

Made for: Claude Code.

Or install mindbox, the plugin that ships this one along with the rest of its 7 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 filter-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/mindbox-cloud/agent-skills/filter-build/github.svg)](https://agentmods.dev/skills/mindbox-cloud/agent-skills/filter-build)
Your own site
<a href="https://agentmods.dev/skills/mindbox-cloud/agent-skills/filter-build"><img src="https://agentmods.dev/badge/skills/mindbox-cloud/agent-skills/filter-build/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 filter-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/mindbox-cloud/agent-skills/filter-build"><img src="https://agentmods.dev/badge/skills/mindbox-cloud/agent-skills/filter-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 175 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,145 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.00175 $0.03145
Opus 5.5 $0.00070 $0.01258
Sonnet 5.5 $0.00035 $0.00629
Haiku 4.5 $0.00017 $0.00314

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

Security

Grade A, and why

filter-build 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 9d 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.

plugins/mindbox/skills/filter-build/SKILL.md · 243 lines

How it starts

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

Filter build

Find the connected server's filter_* tools, entities_search and feedback. Explain a missing connection. Keep all calls on that server: catalogue IDs belong to the project it serves.

Examples below are independent and use synthetic requests. Each names a tool and the arguments that carry the request; fill in the rest from the schema the server exposes. Use the actual request, editor and returned records. Tool names may have a server prefix.

1. Read the current entry point

At the start of every build or edit, freshly read the connected server's root README, even if you read it in an earlier task:

Read it with filter_wiki_read, paths = ["README.md"].

This is the maintained, up-to-date entry point. Use its current navigation and tool guidance alongside the workflow below. Reuse pages within this build; follow returned paths instead of reconstructing filenames. Do not preload the full syntax and build guides.

For an edit, retain the complete set of existing conditions, plus the requested changes. Reuse a confirmed finalSql and its chosen hits from this conversation. Otherwise call filter_json_to_sql_core with the complete original JSON as filterJson (and root when the editor is known). Keep the records it confirms for searchItems, inspect Unlabelled, Unsupported and its problems, and find each of its "Records to find before compiling" in step 5. NOT_READ gives no SQL to edit: name the conditions it lists to the user. A list URL cannot be imported by these tools: ask for JSON if the filter is not already in context. Do not silently drop an unreadable condition.

2. Choose the root and editor

If either the root or property set is unknown, read the root catalogue:

filter_wiki_read with paths = ["root/README.md"].

Choose the root by what one result row represents: customers, products, orders or another listed object. Objects mentioned in conditions may be related to that root. Preserve any root and property set supplied by the caller. For a standalone list, use the root's Default editor; for an embedded mechanic, use its required editor. Ask if the destination is unclear and the choice changes what can be expressed.

Read the full file on GitHub · 243 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. 9d ago Changed · -21 lines 1ce79d8ea028
  2. 1mo ago First seen · 264 lines · 175 tokens per session scan A 2ec81f4859b5

Subscribe to this mod's changes

filter-build is a skill published in the GitHub repository mindbox-cloud/agent-skills (7 stars, last pushed 10d ago), licensed MIT. It adds 175 tokens to every session and 3,145 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-01.

Related

filter-build compared with skills from other repositories

filter-build next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
filter-buildmindbox-cloud/agent-skillsSkill710d agoMITA175Claude Code
OCR Review-to-Approval Loopspencermarx/open-code-reviewSkill39519d agoApache-2.0A213Claude Code
handoffAvijit07x/claude-dbSkill2372d agoApache-2.0A87Claude Code, Codex
convergencegrainulation/grainulatorSkill874d agoMITA42Claude Code, Codex
opik-evaluatecomet-ml/opik-claude-code-pluginSkill95d agoApache-2.0A192Claude Code
opikcomet-ml/opik-claude-code-pluginSkill95d agoApache-2.0A80Claude Code
repo-visualslivlign/claude-skillsSkill201mo agoMITA112Claude Code