gh pr checks *

built-in
-66.4% Savings
9 Commands
-1014 Tokens saved
2 Tests

Install

tokf install 121401ab306c996ebc5439945ac2eb29c21f7b08986d06a3489d9273baeca2e2
Safety checks passed

Filter definition

command = "gh pr checks *"

match_output = [
  { contains = "All checks were successful", output = "all checks passed" },
]

[on_success]
head = 20

[on_failure]
skip = ["^pass"]
head = 20

Examples

all checks passed condenses to short message ~43 tokens → ~4 tokens (91% saved)
Raw output
All checks were successful
0 failing, 5 successful, 0 skipped, and 0 pending checks

pass  ci/build  1m23s  https://example.com/1
pass  ci/test   2m45s  https://example.com/2
Filtered output
all checks passed
failing checks skip passing lines ~33 tokens → ~11 tokens (67% saved)
Raw output
pass  ci/build  1m23s  https://example.com/1
fail  ci/test   2m45s  https://example.com/2
pass  ci/lint   0m30s  https://example.com/3
Filtered output
fail  ci/test   2m45s  https://example.com/2
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters