Antigravity advanced analytics dashboard

From boisenoise/skills-collections · View interactive version

Antigravity advanced analytics dashboard is an AI agent skill from the GitHub repository boisenoise/skills-collections. Dashboard metric register: metric, source module, formula, period, value, target, trend, owner and last-updated, as CSV, SQL, JSON Schema or Notion on request. Use for KPI dashboards.

How to use this skill

Skill file

Advanced Analytics Dashboard

What it is: A register for analytics metrics and their sources; it does not train or run predictive models.

Overview

Works out the smallest useful Advanced Analytics Dashboard setup for the business in front of it, then

builds it only when asked. The default output is a short recommendation, not a

spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on

request, from one field list so they cannot drift apart.

Layer: Layer 9: Analyze. Fits: Scale stage. Table code: n/a.

When to Use This Skill

Also use it when the user says "predictive insights", or describes the same process happening in a

spreadsheet, a document or someone inboxes.

Do not use it for: payroll calculation, tax filing, or legal advice. This skill produces

empty templates by default. A requested review may transiently use supplied data; minimize it rather than claiming the host never processes it.

How It Works

Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.

The upstream shared contract is not bundled; use this file directly. Confirm metric units, aggregation grain, period, timezone and source freshness. Missing values are not zero; show targets only when supplied.

Step 1 - Identify intent

Read the request and pick the intent before asking anything.

Ask only if this is the highest-value missing fact; otherwise proceed without an opener:

Q: Which decision is the dashboard meant to support?

Step 2 - Ask only what is missing

Skip anything the user already answered, in any earlier message. Ask the rest one at a

time, and stop as soon as the remaining answers would not change the output.

Never invent an answer. If the user does not know, record it as unknown and carry on.

Step 3 - Hold the internal context

Hold the answers in this shape. It stays internal - it is not shown to the user unless

they ask, and it never carries a value the user did not give.

module: advanced-analytics-dashboard
intent: null            # setup | advice | review | fix | build | convert | export
scale: null             # Starter | Growth | Scale, only if the answer changes it
areas:
  "Decision": null
  "Data": null
  "Measures": null
  "Current process": null
  "Outcome": null
requested_outputs: []   # csv | sql | json | notion | xlsx - requested formats only
confirmed_facts: []     # only what the user actually said
open_questions: []      # the unanswered ones, in the order worth asking

Step 4 - Recommend the smallest workflow

If an artifact was requested, build it after resolving essential missing facts. Otherwise give a short recommendation and offer the relevant artifact.

Recommended approach: Start with the decision, then add one metric per part of it. Layout is a late decision and rarely the problem.

Why this one: Dashboards fail from metric sprawl, not from design. Fix the decision and the metric count first, and the layout follows.

Workflow: Metric defined → Source data → Calculation → Refresh → Decision review

Step 5 - Build only on request

Once the user asks for it, derive the fields from the confirmed context and emit the

requested artifacts. For machine-readable text, keep prose outside the data; for files,

provide a usable link. Report material validation failures or limitations separately.

**A selected Notion output is rendered by notion-manual-import, so route the

Notion step there.** When the user selects Notion, hand that step to

@notion-manual-import: it holds the CSV, the property

mapping, the import steps and the verification checklist, and it renders the Field

Reference below instead of defining a table of its own. Do not restate the mapping

here and do not improvise the import steps. Manual CSV and mapping outputs need no

connection. For requested workspace changes, follow the shared contract: verify actual

tool access and the target before writing. A user saying "connected" is not tool evidence.

Never ask for a Notion password or token.

For an Excel-compatible CSV, use UTF-8 with a byte order mark so Excel opens the

text correctly. A CSV is not an .xlsx workbook; create .xlsx only when the user

requests a workbook.

A CSV carries no types, so after it, name the columns

that need a number, date or currency format applied.

Metric,Category,Source Module,Formula or Method,Period,Value,Target,Trend,Owner,Last Updated,Metric ID
Net revenue,General,Invoices & Billing,"Revenue invoiced minus credits in the stated period.",Example Period,1000,1100,Example trend (not calculated),Example Owner,2026-01-15,
CREATE TABLE advanced_analytics_dashboard (
  metric VARCHAR(255),
  category VARCHAR(100),
  source_module VARCHAR(255),
  formula_or_method VARCHAR(255),
  period VARCHAR(255),
  value NUMERIC,
  target NUMERIC,
  trend VARCHAR(255),
  owner VARCHAR(255),
  last_updated DATE,
  metric_id SERIAL PRIMARY KEY,
  created_at TIMESTAMP DEFAULT NOW(),
  updated_at TIMESTAMP DEFAULT NOW()
);
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Advanced Analytics Dashboard",
  "type": "object",
  "additionalProperties": false,
  "properties": {
      "Metric": { "type": "string" },
      "Category": { "type": "string" },
      "Source Module": { "type": "string" },
      "Formula or Method": { "type": "string" },
      "Period": { "type": "string" },
      "Value": { "type": "number" },
      "Target": { "type": "number" },
      "Trend": { "type": "string" },
      "Owner": { "type": "string" },
      "Last Updated": { "type": "string", "format": "date" },
      "Metric ID": { "type": "integer" }
  },
  "required": []
}
| CSV column | Notion property | Set after import |
|---|---|---|
| Metric | Title | Use as the database title |
| Category | Select (add options after import) | Convert to Select, add options: "General", "Operations", "Finance", "People", "Compliance" |
| Source Module | Text | Leave as Text |
| Formula or Method | Text | Leave as Text |
| Period | Text | Leave as Text |
| Value | Number | Convert to Number |
| Target | Number | Convert to Number |
| Trend | Text | Leave as Text |
| Owner | Text | Leave as Text |
| Last Updated | Date | Convert to Date |
| Metric ID | Text (preserve source ID) | Keep imported IDs as Text; optionally add a separate Unique ID property |

The rows above are documentation examples only. Emit empty templates unless the user explicitly requests examples. Money stays currency, dates stay date,

and anything pointing at another table stays relation.

Illustrative SQL uses PostgreSQL identity/timestamp syntax. Derive optional/required fields from confirmed business needs; an unknown target is not a reason to fabricate a value. A nonzero denominator is required for per-client metrics, which are distinct from total net revenue.

Field Reference

| # | Field | Type | SQL | JSON Schema | Notion | CSV example |

|---:|---|---|---|---|---|---|

| 1 | Metric | text | VARCHAR(255) | string | Text | Net revenue |

| 2 | Category | select | VARCHAR(100) | string | Select (add options after import) | General |

| 3 | Source Module | text | VARCHAR(255) | string | Text | Invoices & Billing |

| 4 | Formula or Method | text | VARCHAR(255) | string | Text | Revenue invoiced minus credits in the stated period. |

| 5 | Period | text | VARCHAR(255) | string | Text | 2026-03 |

| 6 | Value | number | NUMERIC | number | Number | 1000 |

| 7 | Target | number | NUMERIC | number | Number | 100 |

| 8 | Trend | text | VARCHAR(255) | string | Text | Up 3 months running |

| 9 | Owner | text | VARCHAR(255) | string | Text | Example Owner |

| 10 | Last Updated | date | DATE | string, format: date | Date | 2026-01-15 |

| 11 | Metric ID | id | SERIAL PRIMARY KEY | integer | Text (preserve source ID) | (blank) |

Select Options

Category

General | Operations | Finance | People | Compliance

Relations

Link fields: none

Examples

Prompt

We have a dashboard with 30 tiles that nobody uses.

Context first - one question per message, nothing already answered:

Q: Which decision?

A: Which projects need attention.

Q: Data sources?

A: Project tracker and accounting.

Q: How often?

A: Weekly.

Recommended next step - offered, not built:

Start with the decision, then add one metric per part of it. Layout is a late decision and rarely the problem.

Workflow: Metric defined → Source data → Calculation → Refresh → Decision review

Want the CSV, SQL, JSON Schema and Notion mapping for this?

Best Practices

Limitations

This template alone produces no predictions or verified insights.

Security & Safety Notes

External writes, messages, provisioning, and publication require authorization for that

action and target; existing explicit authorization does not need to be repeated.

the requested review needs; keep generated templates empty. Do not claim deletion

from the conversation or service storage.

is acted on.

Common Pitfalls

Solution: deliver manual mappings without a connection; claim a live change only

after the authorized tool operation succeeds.

Solution: ask one, wait, and drop any the first answer already covered.

Solution: build what was requested; mention the parent skill separately.

Solution: derive all four from the field list in this file, never by hand.

Solution: that is expected. Apply the property mapping table once, after import.

Related Skills

Reusable Prompt

I want to set up predictive insights for my company.
Ask me one short question at a time, and only about what I have not already told you.
Then recommend the smallest setup that fits, and wait for me to ask before you build it.
When I ask, output CSV, SQL DDL, JSON Schema, a Notion property mapping or an Excel workbook. Data only.
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.