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/openshift-eng/ai-helpers/add-debug-waitgit clone --depth 1 https://github.com/openshift-eng/ai-helpersWhat 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.00012 | $0.05311 |
| Opus 5 | $0.00006 | $0.02655 |
| Sonnet 5 | $0.00002 | $0.01062 |
| Haiku 4.5 | $0.00001 | $0.00531 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 715 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
- Adds
- ref: waitbefore the last test step (with optional timeout configuration) - Creates a git commit
- Pushes the commit to your fork (
originremote) - 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
-
OpenShift Release Repo Path: (prompt if not in current directory)
Path to openshift/release repository: Default: ~/repos/openshift-release
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 · 715 lines · 12 tokens per session scan A a6ebebafca30
add-debug-wait is a command published in the GitHub repository openshift-eng/ai-helpers (114 stars, last pushed 5d ago), licensed Apache-2.0. It adds 12 tokens to every session and 5,311 once invoked, about $0.0001 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 commands, from other repositories
monitor-ci
Monitors pull request CI checks until they are resolved (pass or fail).
monitor-ci
You are the orchestrator for monitoring Nx Cloud CI pipeline executions and handling self-healing fixes. You spawn the ci-monitor-subagent subagent to poll CI status and make decisions based on the results.
actions
Command "actions" from openclaw/crabbox, covering actions, subcommands, hydrate, register and dispatch.
ci-report
Generate a CI failure report for PR $PRNUMORURL (or current branch if no argument given).
ci-health
Check all GitHub Actions workflows for failures, create P0 tickets, gate each ticket, and auto-fix safe failures.
cf-scaffold-project
Scaffold a Cloudflare project — Worker, Pages, or Worker+D1+R2 starter — with Wrangler config, Terraform skeleton, and GitHub Actions deploy using scoped API tokens.