analytics

A command group for reporting on and changing many GitHub Project items at once. GitHub Projects are work-tracking spaces for organizing issues and other tasks.

In plain words
What is it for?
Use it to create overviews, velocity, timeline, and distribution reports; export or import data; and bulk-update, delete, or archive items.
Why use it?
It reduces the effort of checking project progress, moving large sets of items, and transferring project data individually.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/roboco-io/ghx-cli/analytics
Clone the repo
git clone --depth 1 https://github.com/roboco-io/ghx-cli
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,535 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01535
Opus 5 $0.00000 $0.00767
Sonnet 5 $0.00000 $0.00307
Haiku 4.5 $0.00000 $0.00153

Measured yesterday against content hash 050686e84d40, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

analytics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/commands/analytics.md · 304 lines

How it starts

The opening of the file, as written. The whole thing — 304 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ghx analytics

Generate analytics, reports, and perform bulk operations on GitHub Projects.

Synopsis

ghx analytics <command> [arguments] [flags]

Description

The analytics command group provides reporting, data export/import, and bulk operation capabilities for GitHub Projects.

Commands

Command Description
overview Generate project overview
velocity Generate velocity metrics
timeline Generate timeline analytics
distribution Generate item distribution
export Export project data
import Import project data
bulk-update Update multiple items
bulk-delete Delete multiple items
bulk-archive Archive multiple items
operation-status Check bulk operation status

ghx analytics overview

Generate project overview statistics.

ghx analytics overview <project-ref> [flags]

Flags

Flag Description Default
--format Output format (table, json) table

Examples

# Get project overview
ghx analytics overview myorg/123

# JSON output
ghx analytics overview myorg/123 --format json

Output

  • Total items count
  • Items by status
  • Items by assignee
  • Recent activity
  • Completion percentage

ghx analytics velocity

Generate velocity metrics over time.

ghx analytics velocity <project-ref> [flags]

Flags

Flag Description Default
--period Time period (daily, weekly, monthly) weekly
--range Date range (e.g., 30d, 3m) 30d
--format Output format (table, json) table

Examples

# Weekly velocity
ghx analytics velocity myorg/123 --period weekly

# Monthly velocity for 3 months
ghx analytics velocity myorg/123 --period monthly --range 3m

ghx analytics timeline

Generate timeline analytics.

ghx analytics timeline <project-ref> [flags]

Flags

Flag Description Default
--range Date range 30d
--format Output format (table, json) table

Read the full file on GitHub · 304 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 304 lines · 0 tokens per session scan A 050686e84d40

Subscribe to this mod's changes

analytics is a command published in the GitHub repository roboco-io/ghx-cli (5 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,535 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.