dq-rules

dq-rules is a skill for Claude Code, Codex from collibra/chip. It costs 38 tokens per session (1,250 once invoked), scanned A, original, Apache-2.0.

A tool for creating and checking data-quality rules, which are tests attached to a saved check for a database table. It also lets you inspect rules and read the results from each run.

In plain words
What is it for?
Use it to validate, create, inspect, and review results for custom data-quality monitors on an existing data-quality job.
Why use it?
It helps catch incorrect rule definitions before they are created and shows whether the checks pass or fail.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to validate, create, inspect, and review results for custom data-quality monitors on an existing data-quality job.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/collibra/chip/dq-rules
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 collibra/chip --skill dq-rules
Clone the repo
git clone --depth 1 https://github.com/collibra/chip

Made for: Claude Code, Codex.

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 dq-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/collibra/chip/dq-rules/github.svg)](https://agentmods.dev/skills/collibra/chip/dq-rules)
Your own site
<a href="https://agentmods.dev/skills/collibra/chip/dq-rules"><img src="https://agentmods.dev/badge/skills/collibra/chip/dq-rules/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 dq-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/collibra/chip/dq-rules"><img src="https://agentmods.dev/badge/skills/collibra/chip/dq-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00038 $0.01250
Opus 5.5 $0.00015 $0.00500
Sonnet 5.5 $0.00008 $0.00250
Haiku 4.5 $0.00004 $0.00125

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

Security

Grade A, and why

dq-rules 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 1mo 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.

pkg/skills/files/collibra/dq-rules/SKILL.md · 74 lines

How it starts

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

Data quality rules

A data quality rule (a "monitor") is a check attached to an existing DQ job (a dataset — a saved data-quality check on one database table). This skill covers authoring a custom rule (validate → create), inspecting it, and reading its per-run results. It does not cover creating the job itself, editing or deleting rules, or triggering job runs — a new rule is evaluated on the job's next (scheduled) run.

Rule tools: validate_data_quality_rule, create_data_quality_rule, get_data_quality_rule, get_data_quality_rule_results.

Hard rules

  1. Validate before you create. Always call validate_data_quality_rule on the rule SQL before create_data_quality_rule. It checks the SQL against the source and returns valid: true/false plus a message, so a malformed rule (e.g. a bad SIMPLE_SQL/SQLG predicate) is caught up front. validate_data_quality_rule takes the raw SQL — the rule does not need to exist yet. If valid is false, fix the SQL and re-validate; do not create the rule.
    • create_data_quality_rule has a confirm checkpoint. Call it first with confirm omitted/false: it returns a preview (the composed rule and its SQL) and creates nothing. Show that preview to the user, then call again with confirm: true to actually create. The tool enforces this — it will not write on a confirm=false call.
  2. validate_data_quality_rule needs discovery IDs. It requires edgeSiteId, connectionId and schemaName. Get them from prepare_create_data_quality_job for the target job — do not guess them. (create_data_quality_rule, get_data_quality_rule and get_data_quality_rule_results take only names/ids and need no discovery step.)
  3. monitorType is FREEFORM_SQL or SIMPLE_SQL. FREEFORM_SQL is a full SQL query; SIMPLE_SQL is a single-column predicate. Nothing else is valid.
  4. Always give the rule a meaningful name. monitorName is required and is how the rule is found and reported on later. Ask the user for a name; if they don't supply one, propose a clear, descriptive name (e.g. orders_amount_not_null) and confirm it before creating — do not invent an opaque name. Names allow only letters, digits, - and _.
  5. For SIMPLE_SQL, ask which column the check targets and pass it as columnName. For FREEFORM_SQL the column(s) live inside the SQL, so columnName is not needed.
  6. Rules require a PUSHDOWN job. If create_data_quality_rule returns an error mentioning the dataset is not PUSHDOWN (HTTP 422), rule creation is not allowed on that job — tell the user rather than retrying.
  7. Read the status field in every response. Branch on success, validation_error, or error. For validate_data_quality_rule, status: success means validation ran — the verdict is the separate valid field.
  8. Creating a rule does not run it. A new rule is only evaluated on the job's next run (runs happen via the job's schedule — this skill does not trigger them). Once a run has happened, use get_data_quality_rule_results to see how the rule did.

Read the full file on GitHub · 74 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. 1mo ago Changed · +1 lines f78bd4e3b0c8
  2. 2mo ago First seen · 73 lines · 38 tokens per session scan A 0e44f3e64c4e

Subscribe to this mod's changes

dq-rules is a skill published in the GitHub repository collibra/chip (37 stars, last pushed yesterday), licensed Apache-2.0. It adds 38 tokens to every session and 1,250 once invoked, about $0.0002 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

dq-rules compared with skills from other repositories

dq-rules next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dq-rulescollibra/chipSkill37yesterdayApache-2.0A38Claude Code, Codex
create-prprisma/ormSkill48kyesterdayApache-2.0A48Claude Code, Codex
schema-explorationlangchain-ai/deepagentsSkill31kyesterdayMITA57Claude Code, Codex
atlas-mssqlariga/atlasSkill8.8kyesterdayApache-2.0A163Claude Code
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex
nornicdb-cypher-queriesorneryd/NornicDBSkill923yesterdayMITA79Claude Code, Codex
volcengine-rds-postgresqlbytedance/agentkit-samplesSkill484todayApache-2.0A63Claude Code, Codex