Warehouse

From sickn33/agentic-awesome-skills · View interactive version

Warehouse is an AI agent skill from the GitHub repository sickn33/agentic-awesome-skills. Plan and review read-only data warehouse analysis with explicit scope, privacy, provenance, and validation checks.

How to use this skill

Skill file

Warehouse Analysis

Overview

Use this skill to turn a business question into a careful, reproducible warehouse-analysis plan. It is vendor-neutral and assumes no particular schema, semantic layer, connector, or command-line tool.

The skill defaults to read-only work. It helps identify the data needed, review a proposed query, and communicate results without overstating what the evidence supports.

When to Use

Do not use this skill for warehouse administration, pipeline repair, access escalation, schema mutation, or production data changes.

Required Inputs

Before proposing a query, establish:

  1. The decision or question the analysis should inform.
  2. The population, metric, dimensions, and time window.
  3. The authorized warehouse or query interface available to the user.
  4. The relevant schema documentation or table metadata.
  5. Any privacy, retention, regional, or minimum-group-size constraints.

If a required input is missing, ask a focused question. Never invent table names, column names, business definitions, credentials, or query results.

Workflow

1. Define the analytical contract

Restate the request as:

Call out ambiguous terms such as “active,” “customer,” “revenue,” or “last month.” Resolve ambiguity before querying.

2. Find governed sources

Prefer documented metrics, curated models, and governed tables over raw event streams. Use only schema information supplied by the user or available through an authorized interface.

For each proposed source, record:

If the source cannot be verified, label the plan as provisional and stop before presenting numerical conclusions.

3. Draft a read-only query

Create a query only when the real schema is known. The query should:

Do not emit guessed SQL with fictional identifiers. If no authorized execution tool is available, provide the reviewed query for the user to run rather than claiming it was executed.

4. Review before execution

Check the proposed query against this list:

Revise any failed check before execution. For sensitive or high-impact decisions, ask for review by the data owner or another qualified analyst.

5. Execute only with authorization

Run a query only through a user-authorized, read-only interface. Do not request credentials in chat, bypass access controls, broaden permissions, or turn a read-only task into a write operation.

Stop if the interface is unavailable, the scope exceeds the user's authorization, or the result would reveal restricted personal or confidential data.

6. Validate the result

Before interpreting output:

Do not infer causality from a descriptive query. Do not hide contradictory or incomplete evidence.

7. Report with provenance

Use a compact result structure:

Finding: [what the data shows]
Scope: [population and period]
Method: [metric and source summary]
Confidence: [high, medium, or low, with reason]
Caveats: [freshness, exclusions, quality, or privacy limits]
Next step: [optional validation or decision input]

Include the query or a reproducible query summary when disclosure is appropriate. Redact secrets, credentials, and unnecessary row-level data.

Example

Request: “Did weekly activated accounts improve after the onboarding change?”

Safe response plan:

  1. Clarify the activation definition, rollout date, eligible population, timezone, and comparison window.
  2. Locate the governed activation metric and account cohort source.
  3. Aggregate weekly counts or rates without selecting account-level identifiers.
  4. Review cohort overlap, partial weeks, seasonality, and join duplication.
  5. Report the observed change as an association, with confidence and caveats, not as proof of causation.

Security & Safety Notes

Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.