Borrowing it
Nothing to install: this file belongs to Apra-Labs/ApraPipes. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Apra-Labs/ApraPipes/main/.claude/commands/last-run.mdgit clone --depth 1 https://github.com/Apra-Labs/ApraPipesWrote 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/apra-labs/aprapipes/last-run)<a href="https://agentmods.dev/commands/apra-labs/aprapipes/last-run"><img src="https://agentmods.dev/badge/commands/apra-labs/aprapipes/last-run.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.1 | $0.00000 | $0.00132 |
| Opus 5 | $0.00000 | $0.00066 |
| Sonnet 5 | $0.00000 | $0.00026 |
| Haiku 4.5 | $0.00000 | $0.00013 |
Grade A, and why
last-run 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 2d 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.
What it actually says
Summarize the most recent GitHub Actions run:
- Get latest run:
gh run list -L1 --json databaseId,status,conclusion,name - If completed, fetch logs:
- If failed:
gh run view <id> --log-failed - If passed:
gh run view <id> --log | tail -100
- If failed:
- Summarize:
- Workflow name
- PASS/FAIL
- Duration
- Key output (errors if failed, confirmation if passed)
- What we learned (if anything)
- State next action
- Continue working
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.
- 2d ago First seen · 15 lines · 0 tokens per session scan A f9c073b65851
last-run is a command published in the GitHub repository Apra-Labs/ApraPipes (34 stars, last pushed 27d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 132 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-09-04.
Other commands, from other repositories
domains
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.
check-release-health
Summarize the CI health of an OpenShift release using live data from the openshift-ci-mcp server.
so-what
Extract the "so what" and "now what" from raw analysis.
hypothesis
Generate hypotheses and define how to test them.
dbt-build
Run the fixed governed dbt shadow build under an accepted plan.
azure-graph-dotnet:deploy-azure
Deploy a C# Azure Functions or Container Job project to Azure — provision infrastructure with Bicep, push image to ACR, assign Managed Identity Graph permissions, and generate or update GitHub Actions or Azure DevOps CI/CD pipelines.