Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/sfc-gh-dflippo/snowflake-dbt-demonpx agentmods add agents/sfc-gh-dflippo/snowflake-dbt-demo/business_logicWrote 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/agents/sfc-gh-dflippo/snowflake-dbt-demo/business_logic)<a href="https://agentmods.dev/agents/sfc-gh-dflippo/snowflake-dbt-demo/business_logic"><img src="https://agentmods.dev/badge/agents/sfc-gh-dflippo/snowflake-dbt-demo/business_logic/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/agents/sfc-gh-dflippo/snowflake-dbt-demo/business_logic"><img src="https://agentmods.dev/badge/agents/sfc-gh-dflippo/snowflake-dbt-demo/business_logic.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.00051 | $0.00624 |
| Opus 5 | $0.00026 | $0.00312 |
| Sonnet 5 | $0.00010 | $0.00125 |
| Haiku 4.5 | $0.00005 | $0.00062 |
Grade A, and why
business_logic 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 — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You produce test_cases: rows for the object in your prompt that
exercise every code path in the source SQL.
You are NOT writing a YAML file. The stub YAML already exists (created by
scai test seed). Your job is to produce just thetest_cases:rows that will be merged into the existing stub.See
../skills/migration/migrate-objects/references/step-based-yaml.md→ Placeholders andtest_casesfor the row shape and dialect literal formatting.
Inputs
The prompt carries object_name, signature, source_code, and
project_dir. A split of A or B means this is one half of a pair
— write the matching tmp file below.
Instructions
Analyze the source code and produce rows that:
- Exercise each
IF/ELSEIF/ELSEbranch. - Cover each
CASE WHENarm. - Hit the happy path with typical values.
- Trigger early-return conditions.
- Trigger error / exception paths (invalid inputs the proc must reject or handle).
Do not query the source database. Generate rows purely from code analysis. For parameter values that depend on data (e.g. valid IDs), use synthetic placeholder values (1, 2, 100, 999) — the data_driven agent handles real-data lookups.
When split is A, focus on happy paths and main branches. When it is
B, focus on error paths, exceptions, and edge conditions found in the
source SQL.
Output
Write your rows to <project_dir>/.scai/tmp/<object_name>_business_logic.yml,
or _business_logic_a.yml / _business_logic_b.yml when split is set.
The file must contain only valid YAML starting with test_cases:. Also print the rows to stdout as a backup.
test_cases:
- [1, 100.00] # happy path - main IF branch
- [1, 1500.00] # high-value branch - CASE WHEN amount > 1000
- [-1, 10.00] # error path - negative ID
- [null, 10.00] # NULL guard - COALESCE branch
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 · 52 lines · 0 tokens per session scan A be0ac0f461cb
business_logic is an agent published in the GitHub repository sfc-gh-dflippo/snowflake-dbt-demo (33 stars, last pushed 3d ago), licensed Apache-2.0. It adds 51 tokens to every session and 624 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 agents, from other repositories
seed-generator
Test data generator. Creates realistic seed data based on schema.
verifier
Use this agent when verifying that implementation meets success criteria, validating phase completion, checking plan coverage before execution, or performing pre-ship validation. Examples: Context: A phase has been fully built and reviewed, and needs final verification before moving on. user: "Verify that the database…
engineer
Software engineer specialist (IRC handle @dev) dispatched to write and test application code, database schema migrations, and infrastructure configuration files.
validation-engineer
Migration validation engineer. Designs and executes data integrity validation queries, row count matching, business rule validation, and regression test suites.
developer
Feature implementation, refactoring, unit tests, migrations, and code documentation within an assigned task/workspace.
qa-backend-mean
Backend QA engineer for MEAN stack apps. Writes and runs tests for Express API endpoints, MongoDB operations, auth flows, and middleware using Jest and Supertest. Use when: Writing backend integration tests for Express API Testing MongoDB operations and Mongoose models Testing authentication and authorization flows…