Agent skill

Analytics

by Nexus-JPF in Nexus-JPF/note-companion

When the user wants to set up, improve, or audit analytics tracking and measurement.

MITAuto-check passedMarketing & SEO

Install Analytics

skills CLI
$ npx skills add Nexus-JPF/note-companion --skill analytics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nexus-JPF/note-companion analytics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nexus-JPF/note-companion.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/analytics .claude/skills/analytics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
analytics
GitHub stars
869
Used in
6 other repos
Token cost
~2.2k tokens
SKILL.md length
712 words
Files
5 (incl. references)
Skills in repo
18
Repo updated
First seen
Licence
MIT

At a glance

When the user wants to set up, improve, or audit analytics tracking and measurement.

  • Works in 4 steps: Track for Decisions, Not Data → Start with the Questions → Name Things Consistently → …
  • Wants to set up
  • SKILL.md covers Initial Assessment, Core Principles, Tracking Plan Framework and Event Naming Conventions, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Analytics is an agent skill from Nexus-JPF/note-companion. When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results…

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `evals/evals.json`, `references/event-library.md` and `references/ga4-implementation.md`).

It sits in Marketing & SEO, covering Product analytics, Marketing analytics and A/B testing. It works with Google Analytics and Mixpanel. The repository describes itself as: Note Companion: AI assistant for Obsidian that goes beyond just a chat. (prev File Organizer 2000). The licence is MIT.

When your agent uses it

  • Wants to set up
  • Audit analytics tracking and measurement
  • The user mentions set up tracking
  • Google Analytics

Example prompts

  • “set up tracking,”
  • “Google Analytics,”
  • “conversion tracking,”
  • “/analytics”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Track for Decisions, Not Data
  2. Start with the Questions
  3. Name Things Consistently
  4. Maintain Data Quality

What it can do on your machine

Read from SKILL.md and the folder at commit 9cad635. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Analytics loads about 2.2k tokens when it runs, and up to ~7.8k if it reads all its reference files. Until then it costs about 178 tokens; SKILL.md has 712 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~178
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Nexus-JPF/note-companion at commit 9cad635, republished under its MIT licence (© Nexus-JPF). 712 words, ~2,159 tokens.

Download SKILL.mdSave it as .claude/skills/analytics/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
analytics
description
When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For choosing attribution models, comparing multi-touch/MMM/incrementality, or reconciling conflicting numbers across tools, see attribution. For A/B test measurement, see ab-testing.
metadata.version
2.0.1

Analytics Tracking

You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions.

Initial Assessment

Check for product marketing context first: If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Before implementing tracking, understand:

  1. Business Context - What decisions will this data inform? What are key conversions?
  2. Current State - What tracking exists? What tools are in use?
  3. Technical Context - What's the tech stack? Any privacy/compliance requirements?

Core Principles

1. Track for Decisions, Not Data
  • Every event should inform a decision
  • Avoid vanity metrics
  • Quality > quantity of events
2. Start with the Questions
  • What do you need to know?
  • What actions will you take based on this data?
  • Work backwards to what you need to track
3. Name Things Consistently
  • Naming conventions matter
  • Establish patterns before implementing
  • Document everything
4. Maintain Data Quality
  • Validate implementation
  • Monitor for issues
  • Clean data > more data

Tracking Plan Framework

Structure
Event Name | Category | Properties | Trigger | Notes
---------- | -------- | ---------- | ------- | -----
Event Types
TypeExamples
PageviewsAutomatic, enhanced with metadata
User ActionsButton clicks, form submissions, feature usage
System EventsSignup completed, purchase, subscription changed
Custom ConversionsGoal completions, funnel stages

For comprehensive event lists: See references/event-library.md


Event Naming Conventions

signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completed
Best Practices
  • Lowercase with underscores
  • Be specific: cta_hero_clicked vs. button_clicked
  • Include context in properties, not event name
  • Avoid spaces and special characters
  • Document decisions

Essential Events

Marketing Site
EventProperties
cta_clickedbutton_text, location
form_submittedform_type
signup_completedmethod, source
demo_requested-
Product/App
EventProperties
onboarding_step_completedstep_number, step_name
feature_usedfeature_name
purchase_completedplan, value
subscription_cancelledreason

For full event library by business type: See references/event-library.md


Event Properties

Standard Properties
CategoryProperties
Pagepage_title, page_location, page_referrer
Useruser_id, user_type, account_id, plan_type
Campaignsource, medium, campaign, content, term
Productproduct_id, product_name, category, price
Best Practices
  • Use consistent property names
  • Include relevant context
  • Don't duplicate automatic properties
  • Avoid PII in properties

GA4 Implementation

Quick Setup
  1. Create GA4 property and data stream
  2. Install gtag.js or GTM
  3. Enable enhanced measurement
  4. Configure custom events
  5. Mark conversions in Admin
Custom Event Example
javascript
gtag('event', 'signup_completed', {
  'method': 'email',
  'plan': 'free'
});

For detailed GA4 implementation: See references/ga4-implementation.md


Google Tag Manager

Container Structure
ComponentPurpose
TagsCode that executes (GA4, pixels)
TriggersWhen tags fire (page view, click)
VariablesDynamic values (click text, data layer)
Data Layer Pattern
javascript
dataLayer.push({
  'event': 'form_submitted',
  'form_name': 'contact',
  'form_location': 'footer'
});

For detailed GTM implementation: See references/gtm-implementation.md


UTM Parameter Strategy

Standard Parameters
ParameterPurposeExample
utm_sourceTraffic sourcegoogle, newsletter
utm_mediumMarketing mediumcpc, email, social
utm_campaignCampaign namespring_sale
utm_contentDifferentiate versionshero_cta
utm_termPaid search keywordsrunning+shoes
Show full SKILL.md (273 more words)Show less
Naming Conventions
  • Lowercase everything
  • Use underscores or hyphens consistently
  • Be specific but concise: blog_footer_cta, not cta1
  • Document all UTMs in a spreadsheet

Debugging and Validation

Testing Tools
ToolUse For
GA4 DebugViewReal-time event monitoring
GTM Preview ModeTest triggers before publish
Browser ExtensionsTag Assistant, dataLayer Inspector
Validation Checklist
  • Events firing on correct triggers
  • Property values populating correctly
  • No duplicate events
  • Works across browsers and mobile
  • Conversions recorded correctly
  • No PII leaking
Common Issues
IssueCheck
Events not firingTrigger config, GTM loaded
Wrong valuesVariable path, data layer structure
Duplicate eventsMultiple containers, trigger firing twice

Privacy and Compliance

Considerations
  • Cookie consent required in EU/UK/CA
  • No PII in analytics properties
  • Data retention settings
  • User deletion capabilities
Implementation
  • Use consent mode (wait for consent)
  • IP anonymization
  • Only collect what you need
  • Integrate with consent management platform

Output Format

Tracking Plan Document
markdown
# [Site/Product] Tracking Plan

## Overview
- Tools: GA4, GTM
- Last updated: [Date]

## Events

| Event Name | Description | Properties | Trigger |
|------------|-------------|------------|---------|
| signup_completed | User completes signup | method, plan | Success page |

## Custom Dimensions

| Name | Scope | Parameter |
|------|-------|-----------|
| user_type | User | user_type |

## Conversions

| Conversion | Event | Counting |
|------------|-------|----------|
| Signup | signup_completed | Once per session |

Task-Specific Questions

  1. What tools are you using (GA4, Mixpanel, etc.)?
  2. What key actions do you want to track?
  3. What decisions will this data inform?
  4. Who implements - dev team or marketing?
  5. Are there privacy/consent requirements?
  6. What's already tracked?

Tool Integrations

For implementation, see the tools registry. Key analytics tools:

ToolBest ForMCPGuide
GA4Web analytics, Google ecosystem✓ga4.md
MixpanelProduct analytics, event tracking-mixpanel.md
AmplitudeProduct analytics, cohort analysis-amplitude.md
PostHogOpen-source analytics, session replay-posthog.md
SegmentCustomer data platform, routing-segment.md

  • ab-testing: For experiment tracking
  • attribution: For attribution models, multi-touch/MMM/incrementality, and reconciling conflicting numbers across tools (once tracking is live)
  • seo-audit: For organic traffic analysis
  • cro: For conversion optimization (uses this data)
  • revops: For pipeline metrics, CRM tracking, and revenue attribution

© Nexus-JPF, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in .agents/skills/analytics of Nexus-JPF/note-companion.

  • SKILL.md
  • evals/evals.json
  • references/event-library.md
  • references/ga4-implementation.md
  • references/gtm-implementation.md

Open the folder on GitHubat commit 9cad635

Used in 6 other repositories

We found 12 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 6 other GitHub owners. This page covers the copy in Nexus-JPF/note-companion, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Analytics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Analytics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Analytics this skillNexus-JPF/note-companion8696 repos~2.2kAutomated safety check: PassMIT
Analytics Trackingfreekmurze/dotfiles1k12 repos~2kAutomated safety check: PassNone
Data And Funnel Analyticsmanojbajaj95/claude-gtm-plugin104—~2.9kAutomated safety check: PassMIT
Analytics Trackingborghei/Claude-Skills874—~5.7kAutomated safety check: PassMIT
Analytics Strategyrampstackco/claude-skills9351 repos~2.4kAutomated safety check: PassMIT
Analytics And Reportingsocial-media-skills/skills116—~1.4kAutomated safety check: PassMIT

Similar skills

  • Analytics Tracking

    freekmurze/dotfiles

    When the user wants to set up, improve, or audit analytics tracking and measurement.

    1k GitHub starsUsed in 12 repos~2k tokens
    Data & AnalyticsAuto-check passed
  • Data And Funnel Analytics

    manojbajaj95/claude-gtm-plugin

    Analytics tracking, interpretation, funnel analysis, product metrics, and ROI measurement.

    104 GitHub stars~2.9k tokensUpdated 19 days ago
    Data & AnalyticsAuto-check passed
  • Analytics Tracking

    borghei/Claude-Skills

    End-to-end analytics implementation for web and SaaS: GA4, Google Tag Manager, event taxonomy, conversion tracking, and UTM strategy.

    874 GitHub stars~5.7k tokensUpdated today
    Marketing & SEOAuto-check passed
  • Analytics Strategy

    rampstackco/claude-skills

    Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy.

    935 GitHub starsUsed in 1 repo~2.4k tokens
    Business, Finance & HRAuto-check passed
  • Analytics And Reporting

    social-media-skills/skills

    Social media analytics and reporting — read native platform data honestly and turn it into next actions.

    116 GitHub stars~1.4k tokensUpdated 6 days ago
    Marketing & SEOAuto-check passed
  • Suede Analytics

    JasonColapietro/suede-creator-skills

    Suede-owned measurement discipline for tracking plans, event and conversion instrumentation, UTM and campaign-parameter hygiene, and verification of what actually fires.

    127 GitHub stars~2.7k tokensUpdated 3 days ago
    Marketing & SEOAuto-check passed

More from Nexus-JPF/note-companion

All 18 skills in this repo
  • Customer Research

    Nexus-JPF/note-companion

    When the user wants to conduct, analyze, or synthesize customer research.

    869 GitHub starsUsed in 5 repos~3.2k tokens
    Auto-check passed
  • Marketing Plan

    Nexus-JPF/note-companion

    When the user needs a comprehensive marketing plan for a client, a company they advise, or their own product.

    869 GitHub starsUsed in 4 repos~5.2k tokens
    Auto-check passed
  • Competitor Profiling

    Nexus-JPF/note-companion

    When the user wants to research, profile, or analyze competitors from their URLs.

    869 GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check passed
  • Onboarding

    Nexus-JPF/note-companion

    When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value.

    869 GitHub starsUsed in 3 repos~1.6k tokens
    Auto-check passed
  • Image

    Nexus-JPF/note-companion

    When the user wants to create, generate, edit, or optimize images for marketing — blog heroes, social graphics, product mockups, profile banners, listing visuals, or brand assets.

    869 GitHub starsUsed in 2 repos~3.9k tokens
    Auto-check passed
  • Video

    Nexus-JPF/note-companion

    When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks.

    869 GitHub starsUsed in 2 repos~3.6k tokens
    Auto-check passed

Questions about Analytics

What does Analytics do?

When the user wants to set up, improve, or audit analytics tracking and measurement. Analytics is an agent skill from Nexus-JPF/note-companion. When the user wants to set up, improve, or audit analytics tracking and measurement.

When should I use Analytics?

Analytics fits situations like: wants to set up; audit analytics tracking and measurement; the user mentions set up tracking; google Analytics.

How do I install Analytics in Claude Code?

Run `npx skills add Nexus-JPF/note-companion --skill analytics -a claude-code`. Or copy the skill folder (.agents/skills/analytics in Nexus-JPF/note-companion) into .claude/skills/analytics in your project. Claude Code loads it when a task matches its description.

How do I install Analytics in Codex?

Run `npx skills add Nexus-JPF/note-companion --skill analytics -a codex`. Or copy the skill folder (.agents/skills/analytics in Nexus-JPF/note-companion) into .agents/skills/analytics in your project. Codex loads it when a task matches its description.

Can I use Analytics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nexus-JPF/note-companion --skill analytics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/analytics, .gemini/skills/analytics, .github/skills/analytics and .opencode/skills/analytics in your project.

What does Analytics need to run?

SKILL.md names no scripts, command-line tools or credentials: Analytics is instructions for the agent only.

Does Analytics access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Analytics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Analytics use?

Analytics is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Analytics use?

About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.6k tokens, read only when the agent opens those files.

What are the alternatives to Analytics?

Skills that share tags, products or a category with Analytics: Analytics Tracking (freekmurze/dotfiles, 1k stars), Data And Funnel Analytics (manojbajaj95/claude-gtm-plugin, 104 stars), Analytics Tracking (borghei/Claude-Skills, 874 stars) and Analytics Strategy (rampstackco/claude-skills, 935 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Analytics?

Nexus-JPF (a GitHub organization) maintains it in Nexus-JPF/note-companion, which has 869 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 3, 2026.

Source: Nexus-JPF/note-companion on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.