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.
git clone --depth 1 https://github.com/openshift-eng/ai-helpersWrote 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/openshift-eng/ai-helpers/add-debug-wait)<a href="https://agentmods.dev/commands/openshift-eng/ai-helpers/add-debug-wait"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/add-debug-wait/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/commands/openshift-eng/ai-helpers/add-debug-wait"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/add-debug-wait.svg" alt="Reviewed on agentmods" width="80" 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.00012 | $0.05706 |
| Opus 5.5 | $0.00005 | $0.02282 |
| Sonnet 5.5 | $0.00002 | $0.01141 |
| Haiku 4.5 | $0.00001 | $0.00571 |
Grade A, and why
add-debug-wait 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 17d 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 — 749 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Name
ci:add-debug-wait
Synopsis
/ci:add-debug-wait <workflow-or-job-name> [timeout]
Description
The ci:add-debug-wait command adds a wait step to a CI job/workflow for debugging test failures.
What it does:
- Takes job name, OCP version, and optional timeout as input
- Finds and edits the job config or workflow file
- Asks if any existing test steps should be removed (and cleans up orphaned env vars)
- Adds
- ref: waitbefore the last remaining test step (with optional timeout configuration) - Runs
make updateto validate and regenerate Prow jobs - Creates a git commit, pushes to your fork, and creates a PR via
gh
That's it! Simple, fast, and automated.
Implementation
The command performs the following steps:
Step 1: Gather Required Information
Prompt user for (in this order):
-
Workflow/Job Name: (from command argument $1 or prompt)
Workflow or job name: <user-input> Example: aws-c2s-ipi-disc-priv-fips-f7 Example: baremetalds-two-node-arbiter-e2e-openshift-test-private-tests -
Timeout (optional, from command argument $2):
Wait timeout in hours (optional, default: 3h): Examples: "1h", "2h", "8h", "24h", "72h" Valid range: 1h to 72h- If not provided, uses the wait step's default behavior (3 hours)
- Format: Integer followed by 'h' (e.g., "1h", "2h", "8h")
- Valid range: 1h to 72h (maximum enforced by wait step's timeout setting)
- For job config files (
ci-operator/config/): Set as theTIMEOUTenv var (e.g.,TIMEOUT: +8 hours) in the job'senv:section - For workflow files (
ci-operator/step-registry/): Set astimeout:(normalized to Go duration format, e.g., "8h" → "8h0m0s") andbest_effort: trueproperties on the ref step
-
OCP Version: (prompt - REQUIRED for searching job configs)
OCP version for debugging (e.g., 4.18, 4.19, 4.20, 4.21, 4.22):This is used to:
- Search the correct job config file (e.g., release-4.21)
- Document which version needs debugging
- Add context to the PR
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.
- 17d ago Changed · +34 lines 46a0bb850b4a
- 1mo ago First seen · 715 lines · 12 tokens per session scan A a6ebebafca30
add-debug-wait is a command published in the GitHub repository openshift-eng/ai-helpers (119 stars, last pushed yesterday), licensed Apache-2.0. It adds 12 tokens to every session and 5,706 once invoked, about $0.0000 per session on Opus 5.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 commands, from other repositories
dart-fix-ci
Command "dart-fix-ci" from dartsim/dart, covering required reading, workflow and output.
ci-debug
Diagnose a failing CI run against an 11-pattern playbook. Classifies the failure, cites the relevant memory entry, proposes the exact fix command — but NEVER applies without explicit user approval. Use when a specific PR check or GitHub Actions run failed and you want a diagnosis instead of speculation. Don't use for…
metrics
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.
traces
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.
pr-quality-gate-reliability
You are reviewing a pull request for production survivability: how the change behaves when its dependencies misbehave, time out, or fail.
drift-alert-issue
Detection Date: $DETECTIONDATE Workflow Run: $SERVERURL/$REPOSITORY/actions/runs/$RUNID.