
Github Traffic
Fetches and stores GitHub repository traffic history for trend charts beyond the API's 14-day window.
- skills.sh installs
- 3.8K
- last updated
- Aug 21, 2026
What it does
- Covers views, clones, referrers, popular pages, and star growth, with a formatted terminal summary on each run
- Persists each fetch to
~/.github-traffic/and renders PNG trend charts or an ASCII fallback via--chartand--ascii - Requires push access to the target repository, since GitHub's Traffic API returns 403 for read-only users
- Designed for maintainers who schedule
--snapshotruns, such as cron, to build history for 30- and 90-day views
Install
$ npx -y skills add zc277584121/marketing-skills --skill github-traffic -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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:
ghCLI 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
matplotlibis 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 from
- The user wants to see traffic trends over time (weekly, monthly, quarterly)
- The user wants to generate traffic report charts for sharing or documentation
- The user wants to periodically snapshot traffic data to build long-term history
Important: GitHub Traffic API Limitations
GitHub only provides the last 14 days of traffic data. To track trends over longer periods (30 days, 90 days, etc.), the script stores each fetch in a local history file (~/.github-traffic/<repo>_traffic.json). Regular snapshots are required to build up history.
Details
- Repository
- github.com/zc277584121/marketing-skills
- Categories
- Git & Releases, Data Science & Analytics
- First seen
- May 16, 2026
More from zc277584121/marketing-skills
All 14Similar to Github Traffic
More Git & Releases
github-trendingSkillhoodini/ai-agents-skills3.2K installsScrape GitHub's trending page or fall back to the Search API for trending-style repository discovery.
git-summarize-weeklySkillzc277584121/mygitplugin3.4K installsFetches the week's GitHub events and turns them into an English summary ready for a weekly report.
github-deep-researchSkillbytedance/deer-flow2.9K installsMulti-round GitHub repository research that produces structured markdown reports with timelines, metrics, and Mermaid diagrams.
google-analyticsSkillopenclaudia/openclaudia-skills537 installsPull GA4 reports, traffic metrics, and conversion data through the Google Analytics Data API.
google-telemetryPluginfcakyon/claude-codex-settings1.2K starsRead app usage and search traffic before and after releases with API-backed CLIs.
DatawrapperMCP serverpalewire64 starsCreates, edits, publishes, and exports Datawrapper charts from an AI assistant's chat.