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/query-job-status)<a href="https://agentmods.dev/commands/openshift-eng/ai-helpers/query-job-status"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/query-job-status/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/query-job-status"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/query-job-status.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.00011 | $0.01876 |
| Opus 5.5 | $0.00004 | $0.00750 |
| Sonnet 5.5 | $0.00002 | $0.00375 |
| Haiku 4.5 | $0.00001 | $0.00188 |
Grade A, and why
query-job-status scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
2. **Execute API Request**: Make a GET request to query the job status using the `oc-auth` skill's curl wrapper: How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Name
ci:query-job-status
Synopsis
/query-job-status <execution-id>
Description
The query-job-status command queries the status of a gangway job execution via the REST API using the execution ID returned when a job is triggered.
The command accepts:
- Execution ID (required, UUID returned when triggering a job)
It makes a GET request to the gangway API and returns the current status of the job including its name, type, status, and GCS path to artifacts if available. The curl_with_token.sh wrapper handles all authentication automatically.
Implementation
The command performs the following steps:
-
Parse Arguments:
- $1: execution ID (required, UUID format)
-
Execute API Request: Make a GET request to query the job status using the
oc-authskill's curl wrapper:# Use curl_with_token.sh from oc-auth skill - it automatically adds the OAuth token # app.ci cluster API: https://api.ci.l2s4.p1.openshiftapps.com:6443 curl_with_token.sh https://api.ci.l2s4.p1.openshiftapps.com:6443 -X GET \ https://gangway-ci.apps.ci.l2s4.p1.openshiftapps.com/v1/executions/<EXECUTION_ID>The
curl_with_token.shwrapper retrieves the OAuth token from the app.ci cluster and adds it as an Authorization header automatically, without exposing the token. -
Display Results: Parse and present the JSON response with:
id: The execution IDjob_name: The name of the jobjob_type: The type of job execution (PERIODIC, POSTSUBMIT, PRESUBMIT)job_status: Current status (TRIGGERED, PENDING, SUCCESS, FAILURE, ABORTED)gcs_path: Path to job artifacts in GCS (if available)prow_url: Derived Prow dashboard URL (see step 4)
-
Derive Prow URL from GCS Path: If
gcs_pathis present, convert it to a Prow dashboard URL:- Strip the
gs://<bucket-name>/prefix (bucket is typicallyorigin-ci-testortest-platform-results-public) - Prepend
https://prow.ci.openshift.org/view/gs/test-platform-results-public/ - Example:
gs://origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.14-e2e-aws-ovn/1234567890→https://prow.ci.openshift.org/view/gs/test-platform-results-public/logs/periodic-ci-openshift-release-master-ci-4.14-e2e-aws-ovn/1234567890 - The Prow URL always uses
test-platform-results-publicas the bucket name regardless of whatgcs_pathreports
- Strip the
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.
- 2mo ago Changed bec86f5cb60a
- 3mo ago First seen · 125 lines · 11 tokens per session scan A 44b3ef1411b9
query-job-status is a command published in the GitHub repository openshift-eng/ai-helpers (123 stars, last pushed yesterday), licensed Apache-2.0. It adds 11 tokens to every session and 1,876 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
query-job-status compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| query-job-statusopenshift-eng/ai-helpers | Command | 123 | yesterday | Apache-2.0 | A | 11 | Claude Code |
| dart-fix-cidartsim/dart | Command | 1.2k | yesterday | BSD-2-Clause | A | 6 | Claude Code |
| domainsgotempsh/temps | Command | 955 | today | Apache-2.0 | A | 0 | Claude Code |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 0 | GitHub Copilot |
| ADO: Get Build InfojnPiyush/AgentX | Command | 19 | today | Apache-2.0 | A | 24 | GitHub Copilot |
| release-managerruvnet/agentic-flow | Command | 850 | 20d ago | none | A | 0 | Claude Code |
| security-checkhamza-ali-shahjahan/hamzaish | Command | 11 | 1mo ago | MIT | A | 79 | Claude Code |