github-traffic

The github-traffic skill fetches, stores, and visualizes GitHub repository traffic data including page views, clones, referrers, and star growth. It uses the GitHub CLI to access the Traffic API and maintains a local JSON history to overcome the 14-day data limitation of the API.

1.2K
Installs
4
Use cases
5/10
Quality

Is github-traffic safe to install?

Review the source first

Review the source first: our audit of github-traffic's source files found 11 shell commands, 0 external URLs, file reads and writes (high risk). Every command and URL listed appears verbatim in the skill's source. The skill executes shell commands and writes historical traffic data to the local file system in the ~/.github-traffic/ directory.

How we audit skills: our security review methodology.

Who is this skill for?

Repository owners, maintainers, and collaborators with push access who need to track and visualize long-term repository traffic trends.

What can you do with it?

  • Retrieve current repository traffic metrics like views and clones.
  • Generate PNG or ASCII trend charts for traffic data.
  • Create historical snapshots of traffic data to track trends beyond the 14-day GitHub API limit.
  • Automate traffic reporting via cron jobs or CI schedules.

How good is this skill?

Quality score: 5/10. The documentation is clear, provides specific command examples, and explains the technical limitations of the underlying API.

What does the skill file contain?

SKILL.md
# Skill: GitHub Traffic

Fetch and analyze GitHub repository traffic data — page views, git clones, referral sources, popular pages, and star growth. Optionally generate trend charts as PNG images.

> **Prerequisites:**
> - `gh` CLI must be installed and authenticated
> - **Push (write) access** to the target repository is required — GitHub's Traffic API does not work with read-only access
> - `matplotlib` is optional (for PNG chart generation; falls back to ASCII if unavailable)

---

## When to Use

- The user asks about repository traffic, page views, clone counts, or where visitors come fr...

Frequently asked questions

Why does the skill require push access to the repository?

The GitHub Traffic API restricts access to repository owners, admins, and collaborators with write or maintain roles. Read-only users receive a 403 error.

How do I track traffic trends longer than 14 days?

GitHub only provides 14 days of data. You must run the script periodically with the --snapshot flag to accumulate data in a local JSON file, which the script then uses to generate longer-term charts.

What happens if I do not have matplotlib installed?

The script falls back to generating ASCII-based charts in the terminal if matplotlib is unavailable.

Data sourced from zc277584121/marketing-skills on GitHub. Install counts from skills.sh. The summary and security audit are derived from the skill's source files: every command and URL listed appears verbatim in the source.

Related skills

lark-workflow-meeting-summary

219.7K

Users who need to summarize meeting minutes, generate weekly reports, or review meeting history within the Lark ecosystem

The lark-workflow-meeting-summary skill provides a structured workflow for agents to aggregate meeting minutes from Lark VC, generate summaries, and create or update reports in Lark Docs.

highlarkmeeting-summarylarksuite

programmatic-seo

83.5K

Content strategists, SEO specialists, and marketers building large-scale, data-driven website content

The programmatic-seo skill provides a framework for generating SEO-optimized pages at scale using templates and data. It guides users through keyword research, data sourcing, template design, internal linking, and indexation strategies while emphasizing content uniqueness to avoid search engine penalties.

lowseomarketingcoreyhaines31

ad-creative

64.0K

Performance marketers, growth teams, and advertisers who need to produce ad copy at scale or optimize existing ad creative

The ad-creative skill generates, iterates, and scales ad copy for paid advertising platforms including Google, Meta, LinkedIn, TikTok, and Twitter. It provides frameworks for creating ad headlines, descriptions, and primary text based on product context and performance data.

highmarketingadvertisingcoreyhaines31

analytics

17.3K

Marketing professionals, product managers, and developers responsible for setting up or improving analytics tracking and measurement

The analytics skill provides a framework for planning, implementing, and auditing marketing and product tracking. It guides users through defining business requirements, establishing event naming conventions, configuring GA4 and GTM, and validating data quality.

lowanalyticsmarketingcoreyhaines31