analytics — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited analytics (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Unified marketing analytics skill. Pulls real data from HubSpot, LinkedIn, X, and YouTube via CLI scripts.
Each platform has a standalone TypeScript script in scripts/. Run them with npx tsx from the repo root. They read credentials from .env and output markdown tables to stdout.
All scripts live in: .claude/skills/analytics/scripts/
| Platform | Status | Env Vars Needed |
|---|---|---|
| HubSpot | Ready | HUBSPOT_PRIVATE_APP_TOKEN |
| Needs setup | LINKEDIN_ACCESS_TOKEN, LINKEDIN_ORG_ID | |
| X / Twitter | Needs setup | X_BEARER_TOKEN, X_USERNAME |
| YouTube | Needs setup | YOUTUBE_ACCESS_TOKEN, YOUTUBE_CHANNEL_ID |
Setup instructions for each platform are in setup/.
npx tsx .claude/skills/analytics/scripts/hubspot-emails.ts [period] [limit]npx tsx .claude/skills/analytics/scripts/hubspot-pages.ts [period] [limit]npx tsx .claude/skills/analytics/scripts/hubspot-campaigns.ts [period] [limit]npx tsx .claude/skills/analytics/scripts/linkedin.ts [command] [period] [limit]npx tsx .claude/skills/analytics/scripts/x-analytics.ts [command] [period] [limit]npx tsx .claude/skills/analytics/scripts/youtube.ts [command] [period] [limit]When the user asks a performance question, run the appropriate script(s):
| User asks about... | Script to run |
|---|---|
| Email open rates, click rates, email performance | hubspot-emails.ts |
| Landing page views, conversions, bounce rates | hubspot-pages.ts |
| Campaign results, which campaign performed best | hubspot-campaigns.ts |
| LinkedIn engagement, post performance, followers | linkedin.ts |
| Twitter/X metrics, tweet impressions, follower count | x-analytics.ts |
| YouTube views, subscribers, watch time, video performance | youtube.ts |
| "How are we doing?" / "What's working?" / cross-platform | Run all configured platforms |
| Baseline metrics before creating new content | Run the relevant platform script |
| Comparing channels | Run multiple platform scripts and summarize |
Don't wait for the user to ask "show me analytics." Run the appropriate script whenever:
When presenting analytics data, don't just dump the table. Add context:
If a script fails with a missing env var error, check the setup doc for that platform and guide the user through configuration. Don't guess at credentials or make up data.
Output location: marketing/reports/[report-slug]/ — confirm the project slug with the user before creating files.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.