Shadow AI Monitor
by @techcodecrafter
Shadow AI Monitor - Enterprise-grade dashboard for tracking employee AI tool usage, data exposure risks, and PIPEDA compliance. Generates professional HTML d...
clawhub install shadow-ai-monitorπ About This Skill
name: shadow-ai-monitor description: Shadow AI Monitor - Enterprise-grade dashboard for tracking employee AI tool usage, data exposure risks, and PIPEDA compliance. Generates professional HTML dashboards with interactive drill-downs, compliance analysis, and PDF export. Perfect for CTOs and security teams monitoring ChatGPT, Claude, Gemini, Copilot, and other AI tools. Includes demo data generator for presentations.
Shadow AI Monitor
A professional web dashboard system for tracking employee AI tool usage, identifying data exposure risks, and measuring PIPEDA compliance.
What This Skill Does
Generates enterprise-grade HTML dashboards showing:
Perfect For
Quick Start
Generate a demo dashboard:
node scripts/generate_demo_data.js
node scripts/generate_dashboard.js shadow-ai-data.json
Open shadow-ai-dashboard.html in your browser.
Features
π― Interactive Dashboard
Click to Explore:
Key Metrics:
Visualizations:
π Personalized Recommendations
Auto-generated advice based on actual data patterns:
π PIPEDA Compliance Analysis
Detailed breakdown of 5 core requirements: 1. Consent for Collection 2. Limiting Use, Disclosure & Retention 3. Safeguards 4. Openness 5. Individual Access
Each shows:
π Demo Data Generator
Creates realistic data for a 50-person Canadian organization:
Configurable:
Realistic Patterns:
Files
shadow-ai-monitor/
βββ SKILL.md # This file
βββ scripts/
β βββ generate_demo_data.js # Demo data generator
β βββ generate_dashboard.js # HTML dashboard generator
Installation
Via ClawHub:
clawhub install shadow-ai-monitor
Manual:
mkdir -p ~/.openclaw/skills
cd ~/.openclaw/skills
Download and extract skill files
Usage
Basic Demo Dashboard
cd ~/.openclaw/workspace # or your working directory
node ~/.openclaw/skills/shadow-ai-monitor/scripts/generate_demo_data.js
node ~/.openclaw/skills/shadow-ai-monitor/scripts/generate_dashboard.js shadow-ai-data.json
open shadow-ai-dashboard.html # or double-click in Finder/Explorer
This generates:
shadow-ai-data.json - Raw usage datashadow-ai-dashboard.html - Interactive dashboardCustomizing Demo Data
Edit scripts/generate_demo_data.js to customize:
Company Name:
const output = {
company: 'Your Company Name',
// ...
};
Employee Count:
const employees = Array.from({ length: 100 }, (_, i) => ({
id: Employee ${i + 1},
// ...
}));
AI Tools Tracked:
const AI_TOOLS = [
'ChatGPT', 'Claude', 'Gemini', 'Your-Custom-Tool'
];
Data Categories:
const DATA_CATEGORIES = [
{ name: 'Your Category', risk: 'High' },
// ...
];
Automated Weekly Reports
Set up with OpenClaw cron:
{
"name": "Shadow AI Weekly Report",
"schedule": {"kind": "cron", "expr": "0 9 * * 1", "tz": "America/Toronto"},
"payload": {
"kind": "agentTurn",
"message": "Generate Shadow AI dashboard: 1) Run demo data generator 2) Generate dashboard 3) Send WhatsApp notification with metrics"
},
"sessionTarget": "isolated",
"delivery": {"mode": "announce", "channel": "whatsapp"}
}
Technical Details
Data Structure
{
"generated": "2026-02-22T15:00:00Z",
"company": "Morrison & Associates",
"employeeCount": 50,
"period": "Last 7 days",
"events": [
{
"timestamp": "2026-02-22T10:30:00Z",
"employee": "Employee 1",
"employeeRole": "Senior Associate",
"tool": "ChatGPT",
"dataCategory": "Client Legal Matters",
"risk": "High"
}
],
"metrics": {
"totalEvents": 268,
"topTools": [["ChatGPT", 89], ["Claude", 56]],
"riskCounts": {"Low": 95, "Medium": 83, "High": 90},
"complianceScore": 68,
"recommendations": ["..."]
}
}
Risk Scoring
High Risk:
Medium Risk:
Low Risk:
Compliance Score Calculation
Base: 100 points
Deduct: -2 points per % of high-risk events
Deduct: -0.5 points per % of medium-risk events
Range: 0-100
Example:
Dashboard Technology
Use Cases
1. CTO Demo
Script: > "This is Morrison & Associates, a 50-person law firm. Over 7 days, we detected 268 AI tool events. Their PIPEDA compliance score is 16/100 because 34% of interactions involved client legal matters and health records shared with unapproved AI tools."
*Click compliance score* β Show specific PIPEDA failures *Click Employee 38* β Show their risky events *Click Export* β Board-ready PDF
2. Security Assessment
Generate dashboard with your organization's data: 1. Monitor Slack/Teams/Email for AI tool mentions 2. Log to JSON format matching data structure 3. Run dashboard generator 4. Present findings to security team
3. Sales Presentation
Demo realistic data showing:
4. Compliance Audit
Track progress over time:
Security & Privacy
β No External API Calls - All processing local β No Data Collection - Demo data never leaves your machine β No Credentials Required - Pure JavaScript execution β Anonymized Data - Employee IDs, no PII in demo β Open Source - Review all code before running
Requirements
Roadmap
Future enhancements:
Support & Contribution
License
MIT - Free for personal and commercial use
Credits
Built with OpenClaw by the automation engineering community.
Version: 1.0.0 Author: Automation Engineers Category: Security, Compliance, Analytics Tags: AI monitoring, PIPEDA, compliance, security, dashboard
β‘ When to Use
π‘ Examples
Basic Demo Dashboard
cd ~/.openclaw/workspace # or your working directory
node ~/.openclaw/skills/shadow-ai-monitor/scripts/generate_demo_data.js
node ~/.openclaw/skills/shadow-ai-monitor/scripts/generate_dashboard.js shadow-ai-data.json
open shadow-ai-dashboard.html # or double-click in Finder/Explorer
This generates:
shadow-ai-data.json - Raw usage datashadow-ai-dashboard.html - Interactive dashboardCustomizing Demo Data
Edit scripts/generate_demo_data.js to customize:
Company Name:
const output = {
company: 'Your Company Name',
// ...
};
Employee Count:
const employees = Array.from({ length: 100 }, (_, i) => ({
id: Employee ${i + 1},
// ...
}));
AI Tools Tracked:
const AI_TOOLS = [
'ChatGPT', 'Claude', 'Gemini', 'Your-Custom-Tool'
];
Data Categories:
const DATA_CATEGORIES = [
{ name: 'Your Category', risk: 'High' },
// ...
];
Automated Weekly Reports
Set up with OpenClaw cron:
{
"name": "Shadow AI Weekly Report",
"schedule": {"kind": "cron", "expr": "0 9 * * 1", "tz": "America/Toronto"},
"payload": {
"kind": "agentTurn",
"message": "Generate Shadow AI dashboard: 1) Run demo data generator 2) Generate dashboard 3) Send WhatsApp notification with metrics"
},
"sessionTarget": "isolated",
"delivery": {"mode": "announce", "channel": "whatsapp"}
}