| name | github-ops-report |
| description | Use when generating Hushh Labs GitHub operations reports, contributor activity PDFs, missed-weekday red-alert sheets, or fair contribution/impact comparisons for named GitHub users across Hushh org repositories. |
Hushh GitHub Operations Report Skill
Purpose
Generate a simple operations-ready GitHub contribution report for named Hushh contributors. Use this for executive or operations-team requests that ask who is contributing, who is inactive, what changed, which repos were impacted, and which workdays are missing.
The default report is intentionally plain: white background, black text, minimal metrics, and red alert text only for inactivity or low implementation signal.
Source Of Truth
Use GitHub data, not local git logs alone.
Required signals:
- GitHub commit search and commit detail APIs for authored commits, merge-vs-non-merge classification, additions, deletions, and changed files.
- GitHub PR search and pull detail APIs for authored PR counts, merged/open state, additions, deletions, and high-signal PR links.
- GitHub issue search for planning/spec activity only.
- GitHub organization contribution calendar only as supplemental context; never use the calendar total to score contribution because it can include issues and other non-code activity.
Call out that GitHub-only inactivity is not proof that no non-GitHub work happened.
Default Hushh Report
Run the bundled generator from the repository root:
python3 .codex/skills/github-ops-report/scripts/github_ops_report.py \
--org hushh-labs \
--users "Kushal Trivedi:kushaltrivedi5" \
"Ankit Kumar Singh:ankitkumarsingh1702" \
"Akshat Kumar:RGlodAkshat" \
--out-dir ops_reports
If the default python3 environment does not include reportlab, load the Codex workspace dependencies and rerun the command with the bundled Python runtime. For PDF output, do not fall back to hand-written text summaries.
For a stable completed-day report when running after midnight, pass the last fully completed workday:
python3 .codex/skills/github-ops-report/scripts/github_ops_report.py \
--report-end YYYY-MM-DD \
--out-dir ops_reports
The script writes:
hushh_labs_github_ops_report_<date>_data.json
hushh_labs_github_operations_report_<date>.pdf
Windows
Every report must include these segments:
- Last 10 days
- Last 20 days
- Last one month, implemented as the last 30 calendar days inclusive
- Complete daily activity sheet for the full one-month window
Use Monday-Friday as expected workdays. Mark Saturday and Sunday as neutral off-calendar days, but still show weekend code activity clearly. If someone misses weekdays and contributes on a nearby or in-window weekend, state both facts instead of presenting only the weekday miss.
Red Alerts
Use red alerts when a person is missing weekday code activity or when implementation signal is materially low.
Minimum red-alert conditions:
- No code contribution recorded on an expected Monday-Friday workday.
- Zero authored commits and zero PRs in a 10-day window.
- Zero non-merge authored commit lines plus heavy weekday absence in a 20-day or one-month window.
- Zero PR reviews when the role is expected to include review or maintainer activity.
Be pointed but fair. Separate planning/spec signal from implementation signal, and show weekend code as context rather than hiding it.
Fair Evaluation Rules
Do not rank people by line count alone. Report line churn, but interpret it with PRs, reviews, active weekdays, merged work, weekend code, issue-only planning, and repo impact.
Use these distinctions:
Code activity events: code-scored events from authored non-merge commits plus authored PRs created or merged when the PR carries a diff.
Authored commits: commits where GitHub search attributes author to the user.
Non-merge churn: additions plus deletions from authored non-merge commits.
PR diff churn: additions plus deletions on authored PRs created or merged in the window.
Issue-only planning: issues/Kanban activity; this never counts as code contribution unless there is a separate commit or PR with code lines.
Reviews: maintainer or review signal.
Official GitHub activity: supplemental calendar total only, not contribution scoring.
Explain discrepancies when relevant: PR diff churn can differ from authored commit churn because of coauthors, squash merges, generated changes, or PRs merged by another account.
Deployment and GCP operations are outside contribution scoring unless they appear as authored code commits or authored PRs in GitHub.
Validation
Before sharing the PDF:
- Confirm
gh auth status is authenticated with org/repo access.
- Run the generator and check it exits successfully.
- Confirm the PDF exists and has pages.
- Extract PDF text or preview pages to verify the four segments, red alerts, weekend code notes, issue-only separation, and methodology are present.
- Keep raw JSON evidence with the PDF unless the user asks for PDF only.
Useful checks:
python3 -m py_compile .codex/skills/github-ops-report/scripts/github_ops_report.py
python3 .codex/skills/github-ops-report/scripts/github_ops_report.py --help