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 agentmods add commands/jonathanmr22/pact/staleness-checkgit clone --depth 1 https://github.com/jonathanmr22/pactWrote 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/commands/jonathanmr22/pact/staleness-check)<a href="https://agentmods.dev/commands/jonathanmr22/pact/staleness-check"><img src="https://agentmods.dev/badge/commands/jonathanmr22/pact/staleness-check.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00000 | $0.00921 |
| Opus 5 | $0.00000 | $0.00461 |
| Sonnet 5 | $0.00000 | $0.00184 |
| Haiku 4.5 | $0.00000 | $0.00092 |
Grade A, and why
staleness-check 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 5d 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Check what governance artifacts went stale based on what was edited this session.
This is the TEMPORAL governance check — it answers: "What docs did my changes just make stale?" Run it before declaring a task complete.
Steps
-
Read
.claude/memory/file_edit_log.yamlto find files edited today. -
For each edited file, check ripple effects against the project's governance layer:
If a file in
lib/database/,models/,tables/,schema/, ormigrations/was edited (database/schema-touching code):- Is the schema doc current? (
knowledge/schema.{yaml,md}or whatever your project uses) - Was a new column added but FK targets/indexes/constraints not documented?
- If the table is claimed by any
feature_flows/*.yaml, is that flow'sparticipating_filesandinvariantsstill accurate?
If a service/handler/api/endpoint file was edited:
- If it's a critical-system service (auth, encryption, sync, payments, broadcast, or any flow tagged critical in your project's feature flow inventory), check the matching
feature_flows/{system}_flow.yaml"last_updated" date — is it today? Areparticipating_filesanddeclared_dependenciescurrent?
If a new screen / view / route was added:
- Is it claimed by the relevant feature flow's
participating_files? - If the screen lives in a critical user journey, is there a flow doc for it at all?
If any feature flow was edited:
- Is the "last_updated" date today?
- Do
declared_dependenciesbetween flows still resolve to existing flow files? - If you removed a
participating_filesentry, did you confirm the file is genuinely no longer part of the flow (vs. just renamed)?
If a Postgres / Supabase function / Edge Function / API route source was edited:
- Is the function listed in
knowledge/tech_stack.yaml(or your equivalent) under the relevant section? - Is the relevant feature flow's
participating_filesupdated?
- Is the schema doc current? (
-
Check feature flow freshness overall — flag any flow whose
last_updatedis >7 days ago AND whoseparticipating_fileswere touched this session. -
If your project has an automated schema-drift detector (e.g.,
scripts/check_schema_drift.py), check its last run fromscripts/RUN_LOG.yaml. If >7 days old AND any schema-touching file was edited this session, recommend running/check-drift(or equivalent). -
Report:
- Current — files whose docs/flows are accurate
- Stale — docs/flows that should be updated as a consequence of the changes
- Missing — code paths edited that have no corresponding documentation
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.
- 5d ago First seen · 73 lines · 0 tokens per session scan A ab36cc477852
staleness-check is a command published in the GitHub repository jonathanmr22/pact (15 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 921 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-30.
Other commands, from other repositories
init-project
Configure the baseline for this specific project. Invokes the scout skill, then claude-automation-recommender, populates .claude/project.json, pre-creates lazy directories, re-renders swarm-worker.md from its template with any stack-specific skills appended, appends a §16 addendum to docs/init/seed.md, runs…
agent-assign
/forge:agent-assign is the intelligent dispatcher for Forge's 22 specialized agents. You describe a task, and the command analyzes its domain (architecture, backend, frontend, testing, devops, security, docs), complexity, and required skills, then recommends the best-fit agent with a match score and reasoning. It also…
report
/forge:report builds an activity report from real project data. It pulls commits from git history, calculates lines changed, identifies the most-modified files, checks for open pull requests on the current branch, counts test files, reads governance sentinel log entries, and lists saved checkpoints. The result is a…
dashboard
/forge:dashboard generates and opens a visual HTML dashboard in your browser. The dashboard is created by the governance MCP server's forgeopendashboard tool, which reads live project data (health scores, governance state, git status, code metrics) at generation time and produces a self-contained HTML file with…
docs-audit
/forge:docs-audit is the deep documentation quality assessment. It runs five audit dimensions: coverage analysis (what percentage of exported symbols have JSDoc), file inventory (which key files like README, CHANGELOG, CONTRIBUTING, and LICENSE exist), link validation (do internal markdown links point to real files)…
docs-update
/forge:docs-update is the documentation fixer. It compares recently changed source files (from the last 20 commits or 7 days) against documentation files to find staleness, then reads both the outdated doc and the current source code to identify discrepancies -- new functions, changed interfaces, removed features. For…