Scorecard Update
by patniko
Review Azure Data Explorer dashboards for Copilot CLI metrics and update Google Sheets scorecard. Connects to existing Chrome session for authentication.
Skill Details
Repository Files
520 files in this skill directory
name: scorecard-update description: Review Azure Data Explorer dashboards for Copilot CLI metrics and update Google Sheets scorecard. Connects to existing Chrome session for authentication. license: MIT compatibility: Requires Node.js, Playwright, and Chrome running with --remote-debugging-port=9222 metadata: author: patrick version: "1.0" allowed-tools: bash node
Scorecard Update
Review Copilot CLI metrics from Azure Data Explorer dashboards and update the Google Sheets scorecard.
Prerequisites
Before using this skill, start Chrome with remote debugging:
# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
# Then log into your Azure and Google accounts in that browser session
Workflow
This skill follows a review-before-update workflow:
- Read scorecard → Identify which Copilot CLI metrics need updating
- Capture dashboards → Screenshot and extract data from Azure Data Explorer
- Generate summary → Create a review document with proposed updates
- Human review → You approve/modify the proposed changes
- Update scorecard → Apply approved changes to Google Sheets
Data Sources
Dashboards (Azure Data Explorer)
| Dashboard | Purpose |
|---|---|
| Launch Metrics | Metrics since launch date |
| 30-Day Trends | Rolling 30-day window |
| Overview | General dashboard view |
Scorecard (Google Sheets)
Quick Start
# 1. Ensure Chrome is running with debugging port (see Prerequisites)
# 2. Install dependencies (first time only)
cd scorecard-update && npm install
# 3. Run the workflow
node scripts/workflow.js
Step-by-Step Instructions
Step 1: Read the Scorecard
Connect to Chrome and navigate to the scorecard to identify metrics that need updating:
// The script will:
// 1. Open the scorecard
// 2. Find the Copilot CLI section
// 3. List metrics and their current values
// 4. Identify which need updating (blank, outdated, etc.)
Step 2: Capture Dashboard Data
For each dashboard, the script will:
- Navigate to the URL
- Wait for charts to render
- Take a screenshot
- Extract visible metrics/numbers from the page
Step 3: Review Summary
Before any updates, you'll receive a summary like:
## Proposed Scorecard Updates
| Metric | Current Value | New Value | Source |
|--------|---------------|-----------|--------|
| DAU | 1,234 | 1,456 | 30-Day Dashboard |
| ... | ... | ... | ... |
Screenshots saved to: ./screenshots/
Please review and confirm before updating.
Step 4: Update Scorecard
After your approval, the script navigates to the scorecard and updates the specified cells.
Scripts
| Script | Purpose |
|---|---|
workflow.js |
Main orchestrator - runs full workflow |
connect.js |
Connect to Chrome debugging session |
capture-dashboards.js |
Screenshot and extract dashboard data |
read-scorecard.js |
Read current scorecard values |
update-scorecard.js |
Write updates to scorecard |
Output Files
scorecard-update/
├── screenshots/ # Dashboard screenshots (timestamped)
├── data/
│ ├── scorecard-current.json # Current scorecard state
│ ├── dashboard-data.json # Extracted dashboard metrics
│ └── proposed-updates.json # Summary for review
└── summaries/
└── YYYY-MM-DD-summary.md # Human-readable summary
Notes
- All changes require human approval before applying
- Screenshots provide audit trail of data sources
- The script waits for Azure dashboards to fully render (they can be slow)
- If a metric can't be automatically extracted, it will be flagged for manual review
Related Skills
Xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Analyzing Financial Statements
This skill calculates key financial ratios and metrics from financial statement data for investment analysis
Data Storytelling
Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.
Kpi Dashboard Design
Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.
Dbt Transformation Patterns
Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.
Sql Optimization Patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
Clinical Decision Support
Generate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug develo
Anndata
This skill should be used when working with annotated data matrices in Python, particularly for single-cell genomics analysis, managing experimental measurements with metadata, or handling large-scale biological datasets. Use when tasks involve AnnData objects, h5ad files, single-cell RNA-seq data, or integration with scanpy/scverse tools.
