report-to-jira

report-to-jira is a skill for Claude Code from openshift-eng/ai-helpers. It costs 36 tokens per session (4,225 once invoked), scanned B, original, Apache-2.0.

A workflow step that posts a completed CVE analysis or pull-request follow-up as a comment on the original Jira issue. A pull request is a proposed code change for review, and a CVE is a public identifier for a known vulnerability.

In plain words
What is it for?
Use it at the end of a Jira-based CVE analysis to add the report, risk level, or resulting pull-request link to the source ticket.
Why use it?
It keeps the security finding and its follow-up linked to the ticket where the issue was reported. It also avoids posting when the analysis did not start from Jira.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the compliance plugin — 9 skills, 1 command shipped together

Good fit Use it at the end of a Jira-based CVE analysis to add the report, risk level, or resulting pull-request link to the source ticket.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openshift-eng/ai-helpers/report-to-jira
Install

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.

Any agent
npx skills add openshift-eng/ai-helpers --skill report-to-jira
Clone the repo
git clone --depth 1 https://github.com/openshift-eng/ai-helpers

Made for: Claude Code.

Or install compliance, the plugin that ships this one along with the rest of its 9 skills, 1 command.

Wrote 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.

agentmods badge for report-to-jira

README.md
[![agentmods](https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/report-to-jira/github.svg)](https://agentmods.dev/skills/openshift-eng/ai-helpers/report-to-jira)
Your own site
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/report-to-jira"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/report-to-jira/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.

agentmods 80×15 button for report-to-jira

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/report-to-jira"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/report-to-jira.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,225 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.04225
Opus 5.5 $0.00014 $0.01690
Sonnet 5.5 $0.00007 $0.00845
Haiku 4.5 $0.00004 $0.00422

Measured 23d ago against content hash d9564c8b101d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

report-to-jira scanned grade B with 2 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 23d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 600 "${curl_cfg}"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

http_code=$(curl -s -o /tmp/jira-post-response.txt -w "%{http_code}" \
plugins/compliance/skills/report-to-jira/SKILL.md · 400 lines

How it starts

The opening of the file, as written. The whole thing — 400 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Report to Jira

Posts the completed CVE analysis report as a comment on the source Jira ticket — the same ticket the CVE details were read from (SOURCE_TICKET, set in Phase 0.5 from --jira=/--jql=). Always called as the last step of Phase 4, after the report has been generated. Also reused by create-fix-pr (Phase 6) for a short follow-up comment containing the PR URL.

If no Jira ticket was involved (direct <CVE-ID> mode), this skill is skipped entirely — there is nothing to post to.


Step 1: Confirm Report is Ready

Before posting, verify the following are available from the parent command:

  • Final report content (full markdown from Phase 3)
  • CVE ID (e.g. CVE-2024-45338)
  • SOURCE_TICKET — the Jira ticket key from --jira=/--jql= (e.g. OCPBUGS-12345). This is the only ticket this skill writes to.
  • jira_context — label snapshot from Phase 0.5 (jira_context["labels"]); used as a hint only — Step 4.5 re-fetches current labels before writing
  • Risk level (HIGH / MEDIUM / LOW / NEEDS_REVIEW)
  • AUTO_APPROVE (yes/no, default no) — governs the Step 3b visibility-downgrade fallback prompt

If SOURCE_TICKET is not available (direct CVE mode): return status: skipped with reason "no_source_ticket".

If the report is incomplete or Phase 3 did not finish, return status: skipped with reason.


Step 2: Build the Comment Body

Read ${AI_HELPERS_WORKSPACE:-.}/.work/compliance/analyze-cve/${CVE_ID}/report.md from Phase 3 and post it in full. The Jira comment is the report — do not pre-emptively shorten it or write a separate jira-comment.md.

Write standard Markdown — Jira Cloud renders Markdown natively when posted with contentFormat: "markdown" (see markdown-for-jira reference if that plugin is installed; the syntax is standard CommonMark either way). No wiki-markup conversion is needed.

Default body = attribution header + entire report.md. If Phase 4 produced a remediation plan not already under ## Remediation in the report, append it as ## Remediation Plan (Phase 4).

Read the full file on GitHub · 400 lines

Changes

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.

  1. 23d ago Changed d9564c8b101d
  2. 1mo ago First seen · 400 lines · 36 tokens per session scan B 19c2faefd72d

Subscribe to this mod's changes

report-to-jira is a skill published in the GitHub repository openshift-eng/ai-helpers (121 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 4,225 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.

Related

Other skills, from other repositories