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.
npx skills add sfc-gh-dflippo/snowflake-dbt-demo --skill rule-enginegit clone --depth 1 https://github.com/sfc-gh-dflippo/snowflake-dbt-demoWrote 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.
[](https://agentmods.dev/skills/sfc-gh-dflippo/snowflake-dbt-demo/rule-engine)<a href="https://agentmods.dev/skills/sfc-gh-dflippo/snowflake-dbt-demo/rule-engine"><img src="https://agentmods.dev/badge/skills/sfc-gh-dflippo/snowflake-dbt-demo/rule-engine/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.
<a href="https://agentmods.dev/skills/sfc-gh-dflippo/snowflake-dbt-demo/rule-engine"><img src="https://agentmods.dev/badge/skills/sfc-gh-dflippo/snowflake-dbt-demo/rule-engine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00065 | $0.00849 |
| Opus 5 | $0.00032 | $0.00425 |
| Sonnet 5 | $0.00013 | $0.00170 |
| Haiku 4.5 | $0.00006 | $0.00085 |
Grade A, and why
rule-engine 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rule Engine
On Entry
Tell the user:
Rule Engine — I'll search for known migration fix patterns that apply to your code, and can apply them automatically (regex) or with your approval (AI-guided).
Prerequisites
- Snowflake connection active with direct SQL ability
- Session
configured with a Snowflake connection and database. TheconfigureMCP tool sets up theRULE_ENGINEschema automatically on first call.
Setup (automatic)
You do not run a separate setup step. On the first configure call that supplies both snowflake_connection and snowflake_database, the MCP server creates and seeds everything needed:
RULE_ENGINEschemaRULES,RULE_EVENTS,CODE_UNITS_SQLtables- Built-in seed rules (SQL Server → Snowflake patterns)
RULE_SEARCHandCODE_SEARCHCortex Search services
The setup handler is idempotent: calling configure again reruns pending migrations and re-seeds missing rules without disturbing existing data.
Commands
Search
Find applicable rules for a SQL file. Sends the file content to Snowflake for regex pattern matching (REGEXP_LIKE) and Cortex semantic search.
→ Load search/SKILL.md
Apply
Apply matched rules to local SQL files. Supports single-file and batch application. Runs regex replacements mechanically, presents AI-mode fixes for review.
→ Load apply/SKILL.md
Extract Rules
Analyze code changes to extract reusable migration rules. Works on interactive fixes (before/after comparison) or git history (retroactive analysis of committed changes).
→ Load extract/SKILL.md
Propagate
Given a rule, find all code units in the project it applies to. Uses reverse search (regex + Cortex semantic) to identify candidates, then hands off to Apply for batch application.
→ Load propagate/SKILL.md
Status
Check what rules exist and recent fix history:
SELECT id, name, replacement_mode, priority, rule_sentiment, rule_applications, successes, created_from
FROM RULE_ENGINE.RULES
ORDER BY priority;
What ships with it
19 files 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.
- apply/BATCH.md 2.5 KB
- apply/SKILL.md 2.7 KB
- extract/SKILL.md 4.8 KB
- propagate/SKILL.md 2.9 KB
- resolving-ewis/reference/0073-Error-Handling.md 7.8 KB
- resolving-ewis/reference/0073-Geospatial-Methods.md 5.6 KB
- resolving-ewis/reference/SSC-EWI-0002.md 3.2 KB
- resolving-ewis/reference/SSC-EWI-0021.md 6.7 KB
- resolving-ewis/reference/SSC-EWI-0030.md 7.5 KB
- resolving-ewis/reference/SSC-EWI-0040.md 5.0 KB
- resolving-ewis/reference/SSC-EWI-0056.md 5.2 KB
- resolving-ewis/reference/SSC-EWI-0058.md 7.0 KB
- resolving-ewis/reference/SSC-EWI-0073.md 1.2 KB
- resolving-ewis/reference/SSC-EWI-0108.md 3.6 KB
- resolving-ewis/reference/SSC-EWI-TS0075.md 8.6 KB
- resolving-ewis/reference/SSC-EWI-TS0083.md 10 KB
- resolving-ewis/reference/SSC-EWI-TS0087.md 22 KB
- resolving-ewis/SKILL.md 2.1 KB
- search/SKILL.md 5.6 KB
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.
- 2d ago First seen · 84 lines · 0 tokens per session scan A 5b136c39fcdc
rule-engine is a skill published in the GitHub repository sfc-gh-dflippo/snowflake-dbt-demo (33 stars, last pushed 3d ago), licensed Apache-2.0. It adds 65 tokens to every session and 849 once invoked, about $0.0003 per session on Opus 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-09-10.
Other skills, from other repositories
reproduce-bug
Reproduce a reported bug in googleapis/mcp-toolbox and decide whether it is real, delivering an evidence-backed verdict: confirmed, already fixed, misconfiguration, client-side, works as intended, not reproducible, or blocked. Use whenever a maintainer asks you to reproduce, verify, confirm, or investigate a bug…
fix-failing-tests
Diagnose a failing test in the googleapis/mcp-toolbox repo and land a fix by reasoning from the actual error: read the failure, reproduce it, shrink it until the cause is forced into the open, then fix the cause. Use this whenever a test or CI job is red, a build breaks after a change, many packages fail at once, or a…
triage-issues
Triage GitHub issues in the googleapis/mcp-toolbox repo: propose the correct labels (type / priority / product / status), check for duplicates, verify a bug has enough info to act on, and draft a triage comment. Use whenever a maintainer asks you to triage, label, categorize, prioritize, or "look at" an issue (or a…
postgresql-indexing
PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing…
graphjin-eval
Create, extend, run, baseline, and diagnose GraphJin agent evaluations through the graphjin eval CLI.
axiom-audit-grdb-performance
Use when the user mentions GRDB performance review, slow GRDB queries, app-group database setup audit, a ValueObservation that stopped updating, or pre-release GRDB scan.