OpenParable
Skip to content
← Back to skills

OBT Design Optimizer

Development

OBT Design Optimizer is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Designs and optimizes One Big Table (OBT) patterns

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/data-engineering-analytics/skills/obt-design-optimizer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/obt-design-optimizer, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

OBT Design Optimizer

Overview

Designs and optimizes One Big Table (OBT) patterns. This skill balances denormalization benefits with maintainability for analytical use cases.

Capabilities

  • Column selection optimization
  • Denormalization strategy
  • Nested/repeated field design (BigQuery)
  • Clustering key selection
  • Partition strategy
  • Update frequency optimization
  • Query pattern analysis
  • Storage vs. performance tradeoffs

Input Schema

{
  "sourceModels": ["object"],
  "queryPatterns": ["object"],
  "platform": "snowflake|bigquery|redshift",
  "constraints": {
    "maxColumns": "number",
    "refreshFrequency": "string"
  }
}

Output Schema

{
  "obtDesign": {
    "columns": ["object"],
    "clustering": ["string"],
    "partitioning": "object"
  },
  "buildStrategy": "object",
  "refreshConfig": "object",
  "estimatedQueryImprovement": "percentage"
}

Target Processes

  • OBT Creation
  • BI Dashboard Development
  • Query Optimization

Usage Guidelines

  1. Analyze source models and relationships
  2. Document common query patterns
  3. Define platform and constraints
  4. Balance column count with query needs

Best Practices

  • Include only columns needed for known query patterns
  • Use appropriate clustering for common filter columns
  • Partition by date for time-series analysis
  • Schedule refreshes based on source update frequency
  • Monitor query performance and adjust design