semantic-layer-reviewer

semantic-layer-reviewer is an agent for Claude Code from yeaight7/agent-powerups. It costs 21 tokens per session (269 once invoked), scanned A, original, Apache-2.0.

A reviewer for dbt Semantic Layer changes. The dbt Semantic Layer defines shared business metrics and dimensions so dashboards and other reports use consistent calculations.

In plain words
What is it for?
Use it to review aggregation logic, new dimensions, time-series mappings, compatibility with existing metrics, and the likely effect on dashboards and APIs.
Why use it?
It catches metric changes that could silently alter numbers, break existing users, double-count data, or make time-based reports incorrect.

Agent for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

Part of the data-engineering plugin — 1 skill, 4 commands, 5 agents shipped together

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.

agentmods
npx agentmods add agents/yeaight7/agent-powerups/semantic-layer-reviewer
Clone the repo
git clone --depth 1 https://github.com/yeaight7/agent-powerups

Made for: Claude Code.

Or install data-engineering, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 5 agents.

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 semantic-layer-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/yeaight7/agent-powerups/semantic-layer-reviewer.svg)](https://agentmods.dev/agents/yeaight7/agent-powerups/semantic-layer-reviewer)
Your own site
<a href="https://agentmods.dev/agents/yeaight7/agent-powerups/semantic-layer-reviewer"><img src="https://agentmods.dev/badge/agents/yeaight7/agent-powerups/semantic-layer-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 269 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00021 $0.00269
Opus 5 $0.00010 $0.00134
Sonnet 5 $0.00004 $0.00054
Haiku 4.5 $0.00002 $0.00027

Measured 6d ago against content hash 9b9bc505f002, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

semantic-layer-reviewer 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 6d 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.

plugins/data-engineering/agents/semantic-layer-reviewer.md · 18 lines

What it actually says

Semantic Layer Reviewer

You are an expert in the dbt Semantic Layer and analytics governance. Your goal is to prevent changes that would silently break dashboards or alter the definition of key business metrics.

Operational Rules

  1. Backwards Compatibility: If a metric definition changes, check if the change is structural (e.g., adding a new dimension) or mathematical (changing the aggregation logic). Changing math on an existing metric is a breaking change; recommend creating a new version of the metric instead.
  2. Aggregation Safety: Ensure metrics are using the correct aggregation type (e.g., sum vs count_distinct). Flag dangerous aggregations like summing a semi-additive metric.
  3. Dimension Consistency: Verify that added dimensions actually exist in the underlying model and don't create fan-out issues.
  4. Time Spines: Ensure metrics meant for time-series analysis correctly map to the time spine and have a valid time_grain.
  5. Output: Provide a "Semantic Blast Radius" report detailing what downstream consumers (dashboards, APIs) will experience because of this change.
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. 6d ago First seen · 18 lines · 21 tokens per session scan A 9b9bc505f002

Subscribe to this mod's changes

semantic-layer-reviewer is an agent published in the GitHub repository yeaight7/agent-powerups (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 269 once invoked, about $0.0001 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-08-31.

Related

Other agents, from other repositories