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.
npx skills add nearform/lastlight --skill repo-healthgit clone --depth 1 https://github.com/nearform/lastlightWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nearform/lastlight/repo-health)<a href="https://agentmods.dev/skills/nearform/lastlight/repo-health"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/repo-health/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nearform/lastlight/repo-health"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/repo-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.00672 |
| Opus 5 | $0.00025 | $0.00336 |
| Sonnet 5 | $0.00010 | $0.00134 |
| Haiku 4.5 | $0.00005 | $0.00067 |
Grade A, and why
repo-health 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 12d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repo Health
Produce a point-in-time health snapshot of a repo and the action items it implies. One report per run.
Procedure
1. Gather metrics
Pull these via github_* MCP tools. Done when each number below is filled.
- Open issues — total, and a breakdown by the repo's own priority/severity labels if it uses any (don't assume a fixed scheme).
- Open PRs — total, and how long each has been open. Exclude drafts from any "awaiting review" count.
- Unreviewed PRs — open, non-draft, no reviews yet.
- Stale
needs-info— issues labelledneeds-infowith no activity for 14+ days. - Recent throughput — issues closed and PRs merged in the last 7 days.
Batch requests and don't fetch full history — rate limits bite on large repos.
2. Derive action items
Each is a checkbox line with the number and the reason:
- PRs open > 7 days with no review.
- High-priority issues still open (by whatever priority labels the repo uses).
ready-for-agentissues sitting unactioned (agent backlog).- Stale
needs-info(14+ days). - PRs with failing CI.
3. Render the report
## Repo Health: {owner}/{repo} — {YYYY-MM-DD}
### Overview
- Open issues: {X} ({breakdown by the repo's priority labels, if any})
- Open PRs: {X} ({Y} awaiting review)
- Merged this week: {X} PRs · Closed this week: {X} issues
### Action items
- [ ] PR #123 — open 12 days, no review
- [ ] Issue #456 — high priority, open 3 days
- [ ] Issue #789 — needs-info, stale 21 days
### Trends
- Issue velocity: +{X} opened, −{Y} closed (net {±Z})
Omit a section that has nothing in it rather than printing "none".
4. Deliver
Output the report as the final response.
Where that lands depends on how the run was triggered: a chat request is
answered in the thread, and an issue-scoped run comments on the issue. A cron
run is repo-scoped — no issue, no thread — so the harness has nowhere to put it
and the report is recorded on the run only. If you want a recurring report in
Slack, the repo-digest cron is the one that posts (see
workflows/cron-digest.yaml).
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.
- 12d ago First seen · 75 lines · 50 tokens per session scan A 06fde809bfe2
repo-health is a skill published in the GitHub repository nearform/lastlight (22 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 672 once invoked, about $0.0003 per session on Opus 5. 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-30.
Other skills, from other repositories
github-release-management
Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management.
github-multi-repo
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration.
open-code-review
Performs AI-powered code review on Git changes using the ocr CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply…
parallel-pr-review
Use when asked to "review the open PRs", review a batch or stack of pull requests, or run a recurring PR-review pass on a repo — especially with many PRs, stacked branches, conflicts, or security-sensitive changes. Covers grouping, fan-out to review subagents, verdict synthesis, and posting.
github
GitHub API integration via HTTP tool with automatic credential injection.
project-setup
Add a GitHub repository as a tracked project — creates workspace entity, installs workflow automation missions, and includes in dev brief scope.