Agent skill

Commandkit Analytics

by neplexlabs in neplexlabs/commandkit

Instrument CommandKit bots with @commandkit/analytics. An agent skill from neplexlabs/commandkit.

MITAuto-check passed

Install Commandkit Analytics

skills CLI
$ npx skills add neplexlabs/commandkit --skill commandkit-analytics -a claude-code

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

GitHub CLI
$ gh skill install neplexlabs/commandkit commandkit-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/neplexlabs/commandkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/commandkit-analytics .claude/skills/commandkit-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
commandkit-analytics
GitHub stars
165
Token cost
~485 tokens
SKILL.md length
121 words
Files
7 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Instrument CommandKit bots with @commandkit/analytics. An agent skill from neplexlabs/commandkit.

  • Works in 4 steps: Choose provider (posthog or umami). → Define stable event names and payload… → Instrument meaningful lifecycle events. → …
  • Runtime telemetry controls
  • SKILL.md covers Activation guidance, Required filesystem expectations, Execution workflow and Guardrails, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Commandkit Analytics is an agent skill from neplexlabs/commandkit. Instrument CommandKit bots with @commandkit/analytics. Use for provider setup, event taxonomy, runtime telemetry controls, and privacy-aware analytics design.

Its SKILL.md is about 490 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `README.md`, `references/00-filesystem-structure.md` and `references/01-posthog-setup.md`).

It works with PostHog. The repository describes itself as: The discord.js meta-framework with features such as AI-powered command handler, analytics, feature flags, and more. The licence is MIT.

When your agent uses it

  • Runtime telemetry controls
  • Privacy-aware analytics design

Example prompts

  • “/commandkit-analytics”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Choose provider (posthog or umami).
  2. Define stable event names and payload fields.
  3. Instrument meaningful lifecycle events.
  4. Apply selective suppression with noAnalytics() where needed.

What it can do on your machine

Read from SKILL.md and the folder at commit d771e6b. 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.

    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

Commandkit Analytics loads about 485 tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 45 tokens; SKILL.md has 121 words of instructions outside code blocks.

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

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 neplexlabs/commandkit at commit d771e6b, republished under its MIT licence (© neplexlabs). 121 words, ~485 tokens.

Download SKILL.mdSave it as .claude/skills/commandkit-analytics/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
commandkit-analytics
description
Instrument CommandKit bots with @commandkit/analytics. Use for provider setup, event taxonomy, runtime telemetry controls, and privacy-aware analytics design.
version
1.2.0
author
neplextech
emoji
📈
tags
commandkit, analytics, posthog, umami

CommandKit Analytics Plugin

Activation guidance

Use for analytics provider setup and event instrumentation strategy.

Required filesystem expectations

  • provider plugin registration in commandkit.config.ts
  • tracking calls in commands/events/middleware where business events occur

Execution workflow

  1. Choose provider (posthog or umami).
  2. Define stable event names and payload fields.
  3. Instrument meaningful lifecycle events.
  4. Apply selective suppression with noAnalytics() where needed.

Guardrails

  • Do not collect secrets or unnecessary personal data.
  • Keep event schemas stable to preserve reporting quality.

Reference index

NameDescription
references/00-filesystem-structure.mdIntegration locations and analytics architecture boundaries.
references/01-posthog-setup.mdPostHog provider setup pattern.
references/02-umami-setup.mdUmami provider setup pattern.
references/03-track-events.mdEvent tracking conventions and examples.
references/04-no-analytics-scope.mdRequest-level telemetry suppression pattern.

Tool index

NameDescription
N/AThis skill currently has no helper tool scripts.

© neplexlabs, 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 6 other files (references) in skills/commandkit-analytics of neplexlabs/commandkit.

  • SKILL.md
  • README.md
  • references/00-filesystem-structure.md
  • references/01-posthog-setup.md
  • references/02-umami-setup.md
  • references/03-track-events.md
  • references/04-no-analytics-scope.md

Open the folder on GitHubat commit d771e6b

Compare with similar skills

Commandkit 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.

Commandkit Analytics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commandkit Analytics this skillneplexlabs/commandkit165—~485Automated safety check: PassMIT
Opik Analytics Instrumentationcomet-ml/opik22k—~4.4kAutomated safety check: PassApache-2.0
C15tc15t/c15t1.9k1 repos~1.6kAutomated safety check: PassApache-2.0
Define Feature Flagmacro-inc/macro4.6k—~780Automated safety check: PassAGPL-3.0
Soku CLIAbout-Intelligence/soku-cli304—~2.4kAutomated safety check: PassMIT
Compare Array Bundle SizePostHog/posthog-js613—~599Automated safety check: PassCustom licence

Similar skills

  • Shows how to add product analytics events to Opik's frontend, Java backend and Python SDK, all reporting through Segment to PostHog with an opik_ name prefix.

    22k GitHub stars~4.4k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • C15t

    c15t/c15t

    Work with c15t consent management docs, APIs, and integrations for Next.js, React, and JavaScript.

    1.9k GitHub starsUsed in 1 repo~1.6k tokens
    Legal & ComplianceAuto-check passed
  • Define Feature Flag

    macro-inc/macro

    Define a frontend feature flag with defineFlag and wire its readers.

    4.6k GitHub stars~780 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Soku CLI

    About-Intelligence/soku-cli

    Guides an agent through the soku command line tool for ads, GA4 and PostHog data reads, ads writes, SEO hosting, automations, files and skill management.

    304 GitHub stars~2.4k tokensUpdated 2 days ago
    Marketing & SEOAuto-check passed
  • Compare Array Bundle Size

    PostHog/posthog-js

    Official

    Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.

    613 GitHub stars~599 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Telemetry Analytics

    OpenHands/OpenHands

    This skill should be used when the user asks to "add tracking", "add a PostHog event", "change telemetry consent", "instrument onboarding", "debug analytics", or changes telemetry.ts…

    90k GitHub stars~305 tokensUpdated today
    DevOps & CloudAuto-check passed

More from neplexlabs/commandkit

All 13 skills in this repo
  • Commandkit

    neplexlabs/commandkit

    Build and maintain Discord bots with CommandKit core conventions.

    165 GitHub stars~1k tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit AI

    neplexlabs/commandkit

    Build AI-powered command flows with @commandkit/ai. An agent skill from neplexlabs/commandkit.

    165 GitHub stars~547 tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit Cache

    neplexlabs/commandkit

    Implement deterministic caching with @commandkit/cache. An agent skill from neplexlabs/commandkit.

    165 GitHub stars~506 tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit I18n

    neplexlabs/commandkit

    Implement localization with @commandkit/i18n and i18next. An agent skill from neplexlabs/commandkit.

    165 GitHub stars~546 tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit Plugin Development

    neplexlabs/commandkit

    Create CommandKit plugins for runtime and compiler extension points.

    165 GitHub stars~709 tokensUpdated 11 days ago
    Auto-check passed
  • Commandkit Queue

    neplexlabs/commandkit

    Build queue-based messaging workflows with @commandkit/queue.

    165 GitHub stars~458 tokensUpdated 11 days ago
    Auto-check passed

Works with

Questions about Commandkit Analytics

What does Commandkit Analytics do?

Instrument CommandKit bots with @commandkit/analytics. An agent skill from neplexlabs/commandkit. Commandkit Analytics is an agent skill from neplexlabs/commandkit. Instrument CommandKit bots with @commandkit/analytics.

When should I use Commandkit Analytics?

Commandkit Analytics fits situations like: runtime telemetry controls; privacy-aware analytics design.

How do I install Commandkit Analytics in Claude Code?

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

How do I install Commandkit Analytics in Codex?

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

Can I use Commandkit 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 neplexlabs/commandkit --skill commandkit-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/commandkit-analytics, .gemini/skills/commandkit-analytics, .github/skills/commandkit-analytics and .opencode/skills/commandkit-analytics in your project.

What does Commandkit Analytics need to run?

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

Does Commandkit 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 Commandkit 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 Commandkit Analytics use?

Commandkit 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 Commandkit Analytics use?

About 485 tokens (SKILL.md is roughly 1.9k 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 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Commandkit Analytics?

Skills that share tags, products or a category with Commandkit Analytics: Opik Analytics Instrumentation (comet-ml/opik, 22k stars), C15t (c15t/c15t, 1.9k stars), Define Feature Flag (macro-inc/macro, 4.6k stars) and Soku CLI (About-Intelligence/soku-cli, 304 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commandkit Analytics?

neplexlabs (a GitHub organization) maintains it in neplexlabs/commandkit, which has 165 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 26, 2026.

Source: neplexlabs/commandkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.