Skip to content
Back to skills

Analytics

ASecurity

Pull and display tokentop install analytics from GitHub — release downloads, Homebrew tap installs, Scoop bucket installs, repo traffic, referrers, and homebrew-core eligibility status

  • 75 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
toolsgobashgitapi

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add tokentopapp/tokentop --skill analytics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analytics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Analytics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tokentopapp-analytics/badge)](https://www.skillsdirectory.com/skills/tokentopapp-analytics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: analytics
description: Pull and display tokentop install analytics from GitHub — release downloads, Homebrew tap installs, Scoop bucket installs, repo traffic, referrers, and homebrew-core eligibility status
license: MIT
allowed-tools:
  - bash
  - read
metadata:
  version: "1.0"
  author: "tokentop"
---

# Tokentop Install Analytics

Run the analytics script to pull all install and traffic data for tokentop from the GitHub API and display it in the terminal.

## Usage

Execute the analytics script from the project root:

```bash
bun .opencode/skills/analytics/scripts/analytics.ts
```

## What It Shows

1. **Repository Overview** — Stars, forks, watchers, open issues, latest release
2. **Homebrew Core Eligibility** — Progress bars toward the 75-star / 30-fork / 30-watcher thresholds
3. **Repo Traffic** — Views and clones for the main repo (14-day rolling window)
4. **Top Referrers** — Where visitors find tokentop (Google, Reddit, Twitter, etc.)
5. **Popular Pages** — Most visited pages on the GitHub repo
6. **Package Manager Installs** — Homebrew tap and Scoop bucket clone counts with daily breakdown chart
7. **GitHub Release Downloads** — Per-release, per-platform download counts with all-time totals

## Requirements

- `gh` CLI installed and authenticated (`gh auth login`)
- Token must have `repo` scope for traffic data access (traffic APIs require push access)

## Notes

- GitHub Traffic API only retains the **last 14 days** of data. There is no way to get historical data beyond that window.
- Homebrew/Scoop install counts are approximated from git clone counts on the tap/bucket repos. Each `brew install tokentopapp/tap/tokentop` or `scoop install tokentop` triggers a clone.
- Release download counts are all-time and cumulative.

Files in this skill

  • SKILL.md1.7 KB
  • scripts/analytics.ts18.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.