semantic layer contract checker

    by Vinuraj Devaraj

    1

    Audit dbt and PromptQL semantic layers against a 10-point contract for AI-readiness and machine consumption.

    Free

    Security scanned

    Works with the AI Agents you already use

    semantic layer contract checker

    Example session with this skill installed

    Audit my dbt manifest at target/manifest.json against the machine-consumption contract and give me a scorecard.

    • Read your context and instructions
    • Compiled the semantic layer contract

    I have audited the dbt manifest against the ten-requirement machine-consumption contract. The project shows strong baseline definitions but lacks the trust signals required for autonomous AI consumers.

    Semantic Layer Scorecard: dbt Project

    ReqRequirementStatusEvidence/Gap
    R1EnumerabilitysupportedAll 42 metrics exposed via manifest nodes.
    R2Declared semanticsdocumented with reductionAggregation and grain present; slicing dimensions missing on 12 nodes.
    R3Provenancedocumented with reductionLineage present; source freshness not linked to manifest surface.
    R4Freshness signalsnot documentedNo freshness blocks found in metric definitions.
    R5Access controlnot assessableRuntime enforcement cannot be verified from manifest.
    R6Certificationdocumented with reductionOwner tags present; no formal certified metadata field.
    R7Result contractnot documentedMissing units and R7 Coverage Statement.
    R8Structured rejectionnot assessableRequires runtime error-state testing.
    R9Deprecationdocumented with reductiondeprecated field exists but versioning signals are absent.
    R10Stable identitysupportedUnique IDs persist across renames via unique_id field.

    Summary counts:

    • supported: 2
    • documented with reduction: 5
    • not documented: 2
    • not assessable: 2

    The

    R7 coverage statement is currently

    not documented. AI consumers will not be able to determine if result sets represent a specific population or the entire dataset.

    Next steps

    1. Add meta blocks to your dbt metrics to define units and coverage_statement.
    2. Configure freshness blocks in your source YML files to move R4 to supported.
    3. Define slicing dimensions for all governed metrics to resolve the R2 reduction.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Modern AI agents and BI tools fail when they cannot trust the semantic layer. This skill audits your dbt manifest or PromptQL metadata against the ten-requirement machine-consumption contract, identifying exactly where your declarations fall short for automated consumers.

    What it does

    • Audit definitions by checking for programmatic surfaces and stable identities that survive renames.
    • Score semantics to ensure aggregation, grain, and slicing dimensions are declared for mechanical checking.
    • Evaluate trust signals including data freshness, ownership certification, and deprecation versions.
    • Verify result contracts to ensure units, grain, and coverage statements are present for safe AI consumption.
    • Generate scorecards using a four-value vocabulary (supported, documented with reduction, not documented, not assessable) with cited evidence.

    How it works

    1. Locate project files such as a dbt manifest.json or a PromptQL/Hasura DDN metadata directory.
    2. Execute the audit using the bundled Python entry point to parse declarations.
    3. Analyze the scorecard to identify specific gaps in the R7 coverage statement and other machine-readable requirements.
    4. Remediate gaps by updating project metadata based on the checker's specific evidence requirements and re-running the tool.

    Frameworks & tools

    Built for data teams using dbt (v1.0+) or PromptQL / Hasura DDN. The checker requires a Python 3.10 environment with PyYAML for processing metadata.

    Why this beats prompting it yourself

    Manual prompts lack the formal rubric of the ten-requirement machine-consumption contract. This tool provides a deterministic audit with specific evidence for every cell, ensuring you don't miss critical conjunctive requirements like grain and population coverage that generic LLMs often overlook.

    Use cases

    • Audit a dbt project before deploying an AI-powered BI copilot.
    • Prepare Hasura DDN metadata for integration with autonomous agents.
    • Identify missing lineage and freshness declarations in a semantic layer.
    • Gate CI/CD pipelines using strict-mode auditing to prevent undocumented metrics.

    Known limitations

    Audits project file declarations only and does not verify runtime behavior, warehouse connectivity, or live access control enforcement. Limited to dbt and PromptQL adapters.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    • Free with an Agensi account

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Listed15 days ago

    What's inside

    Creator

    Vinuraj Devaraj

    Vinuraj Devaraj

    Frequently Asked Questions

    This skill audits your semantic layer against a specialized 10-point contract to ensure that AI agents can reliably interpret your data's grain, units, and dimensions without manual intervention.

    The checker is specifically built for dbt (v1.0+) manifest files and PromptQL/Hasura DDN metadata directories, requiring a Python 3.10+ environment to run.

    Yes, the checker can be integrated into CI/CD pipelines to gate deployments, ensuring that no undocumented or 'AI-unready' metrics are pushed to production.

    You will receive the bundled Python-based auditing tool, the formal 10-point machine-consumption rubric, and documentation on how to interpret the generated scorecards.

    The skill audits your metadata declarations and project files only; it does not require or perform active connections to your data warehouse or live production data.

    New in Data & Databases

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.

    Free