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 PostHog/posthog-foss --skill modeling-warehouse-foundationsgit clone --depth 1 https://github.com/PostHog/posthog-fossWrote 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/posthog/posthog-foss/modeling-warehouse-foundations)<a href="https://agentmods.dev/skills/posthog/posthog-foss/modeling-warehouse-foundations"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/modeling-warehouse-foundations/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/posthog/posthog-foss/modeling-warehouse-foundations"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/modeling-warehouse-foundations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Prompt Injection · line 25 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 86 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00231 | $0.01786 |
| Opus 5 | $0.00115 | $0.00893 |
| Sonnet 5 | $0.00046 | $0.00357 |
| Haiku 4.5 | $0.00023 | $0.00179 |
Grade A, and why
modeling-warehouse-foundations 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 7d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- modeling-warehouse-foundations — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Modeling warehouse foundations
Everything the domain modeling skills (revenue, conversion, activation, product usage, dimension tables) share: how to turn a metric definition into a durable, reusable model on one of two stacks. Read the relevant reference on demand — this entry point is a map, not the whole story.
A "model" here is a named, queryable object that encodes a metric or dimension once so every insight, dashboard, and downstream model reuses the same definition instead of re-deriving it. Two ways to build one:
| Stack | What a model is | Build with | Best when |
|---|---|---|---|
| PostHog-native | A saved query (view), optionally materialized into a physical table | posthog:view-create → posthog:view-materialize (HogQL) |
Data already lives in PostHog (events, persons, or a connected warehouse source); you want it usable in insights/dashboards/SQL with no extra infra. |
| dbt / external | A dbt model (.sql) in staging/ → marts/, tested via schema.yml |
dbt, run in the user's own scheduler/CI | The team already runs dbt, needs multi-step lineage/tests/CI, or models data that lives outside PostHog. |
Pick one per model; you can run both stacks side by side across a project. Details:
references/posthog-views.md and
references/dbt-project.md.
Rules before you model (these bite hardest)
What ships with it
9 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.
- references/dbt-project.md 4.3 KB
- references/dbt-skeleton/dbt_project.yml 741 B
- references/dbt-skeleton/models/marts/fct_daily_active_users.sql 396 B
- references/dbt-skeleton/models/marts/schema.yml 981 B
- references/dbt-skeleton/models/staging/_sources.yml 1.2 KB
- references/dbt-skeleton/models/staging/stg_events.sql 637 B
- references/governance.md 2.8 KB
- references/joins-and-dimensions.md 2.9 KB
- references/posthog-views.md 6.1 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.
- 7d ago First seen · 101 lines · 231 tokens per session scan A e16d7f6c790d
modeling-warehouse-foundations is a skill published in the GitHub repository PostHog/posthog-foss (715 stars, last pushed today), licensed MIT. It adds 231 tokens to every session and 1,786 once invoked, about $0.0012 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-03.
Other skills, from other repositories
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for prisma-next. Use when the user wants to create a pull request, open a PR, or submit changes for review.
schema-exploration
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
supabase
Supabase / PostgREST Row-Level-Security playbook — pull the anon (or leaked servicerole) key out of the frontend JS, map tables from the auto-generated OpenAPI spec, test anonymous RLS READ disclosures (PII/secret leaks), and anonymous RLS WRITE abuse (insert/update/delete — e.g. forging…
nornicdb-cypher-queries
Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.
dsql
Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, diagnose cluster performance, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, foreign key…