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 makifbaysal/tasktrooper --skill sql-analytics-and-dbtgit clone --depth 1 https://github.com/makifbaysal/tasktrooperWrote 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/makifbaysal/tasktrooper/sql-analytics-and-dbt)<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/sql-analytics-and-dbt"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/sql-analytics-and-dbt/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/makifbaysal/tasktrooper/sql-analytics-and-dbt"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/sql-analytics-and-dbt.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.00050 | $0.02094 |
| Opus 5.5 | $0.00020 | $0.00838 |
| Sonnet 5.5 | $0.00010 | $0.00419 |
| Haiku 4.5 | $0.00005 | $0.00209 |
Grade A, and why
sql-analytics-and-dbt 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.
How it starts
The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SQL Analytics and dbt
Overview
Analytical SQL fails quietly: a join that fans out, a NULL that drops rows from a NOT IN, a running total over the wrong frame. The query runs, the dashboard shows a number, the number is wrong. dbt gives you the tools to make SQL testable — use them the way you use pytest.
Core principle: every model declares its grain and tests it; logic is proven with a dbt unit test before it is trusted with a real table.
1. Detect the project's conventions
Read dbt_project.yml, packages.yml (is dbt_utils installed?), the adapter in profiles.yml or CI (Postgres, Snowflake, BigQuery, Databricks, DuckDB), any .sqlfluff config, and the existing folder and naming scheme (staging/stg_<source>__<entity>, intermediate/, marts/fct_*, dim_*). Follow them. SQLMesh projects follow SQLMesh's own model and audit conventions — never mix the two.
2. Model structure
with
orders as (
select * from {{ ref('stg_shop__orders') }}
),
order_lines as (
select * from {{ ref('stg_shop__order_lines') }}
),
line_totals as (
select
order_id,
sum(amount) as order_value,
count(*) as line_count
from order_lines
where status != 'cancelled'
group by order_id
),
final as (
select
orders.order_id,
orders.customer_id,
orders.ordered_at,
coalesce(line_totals.order_value, 0) as order_value,
coalesce(line_totals.line_count, 0) as line_count
from orders
left join line_totals using (order_id)
)
select * from final
ref()andsource()only — never a hard-codedschema.table.- Aggregate to the join key before joining (
line_totals), so the join stays one-to-one. - One transformation per CTE, named for what it holds; explicit column lists in the final select.
3. Window functions without surprises
-- latest row per key, deterministic tie-break
select *
from events
qualify row_number() over (partition by event_id order by loaded_at desc, _row_id desc) = 1
-- running total: say ROWS, or ties on order_date are summed together
sum(amount) over (
partition by customer_id
order by order_date, order_id
rows between unbounded preceding and current row
) as running_spend
-- previous value
lag(order_date) over (partition by customer_id order by order_date, order_id) as previous_order_date
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.
- 1mo ago First seen · 209 lines · 50 tokens per session scan A ea1fe9856275
sql-analytics-and-dbt is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 2,094 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-10-09.
sql-analytics-and-dbt compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sql-analytics-and-dbtmakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 50 | Claude Code, Codex |
| embeddingsruvnet/ruflo | Skill | 83k | today | MIT | A | 62 | Claude Code |
| cudf-query-engine-builderNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 99 | Claude Code, Codex |
| postgresdbericrisco/rsc-harness | Skill | 682 | 4d ago | MIT | A | 91 | Claude Code, Codex |
| clickhouse-analyticsericrisco/rsc-harness | Skill | 682 | 4d ago | MIT | A | 86 | Claude Code, Codex |
| drizzle-ormericrisco/rsc-harness | Skill | 682 | 4d ago | MIT | A | 96 | Claude Code, Codex |
| AgentDB Performance Optimizationruvnet/ruflo | Skill | 83k | today | MIT | A | 53 | Claude Code |