ols: Skill for Claude Code

.claude/skills/triage-new-bugs/SKILL.md

triage-new-bugs is a skill for Claude Code from openshift/ols. It costs 65 tokens per session (3,078 once invoked), scanned A, original, Apache-2.0.

A Jira bug-triage tool that reviews newly submitted bugs against the current project specifications. Bug triage means deciding whether a report needs a specification change, more information, or only implementation work.

In plain words
What is it for?
Use it to review all new bugs in the OLS Jira project or to analyze one specified bug. It also synchronizes workspace repositories and reports any repositories it could not update.
Why use it?
It helps separate specification problems from incomplete reports and ordinary coding fixes before anyone responds. It prepares comments for human approval instead of posting them automatically.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

This is openshift/ols's own configuration. It tells Claude Code how to work on ols itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ols configures →

Reuse

Borrowing it

Nothing to install: this file belongs to openshift/ols. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/openshift/ols/main/.claude/skills/triage-new-bugs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/openshift/ols

Made for: Claude Code.

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 triage-new-bugs

README.md
[![agentmods](https://agentmods.dev/badge/skills/openshift/ols/triage-new-bugs/github.svg)](https://agentmods.dev/skills/openshift/ols/triage-new-bugs)
Your own site
<a href="https://agentmods.dev/skills/openshift/ols/triage-new-bugs"><img src="https://agentmods.dev/badge/skills/openshift/ols/triage-new-bugs/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 triage-new-bugs

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift/ols/triage-new-bugs"><img src="https://agentmods.dev/badge/skills/openshift/ols/triage-new-bugs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,078 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00065 $0.03078
Opus 5.5 $0.00026 $0.01231
Sonnet 5.5 $0.00013 $0.00616
Haiku 4.5 $0.00006 $0.00308

Measured 2mo ago against content hash 1bb6963ddffa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

triage-new-bugs 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 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.

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.

.claude/skills/triage-new-bugs/SKILL.md · 319 lines

How it starts

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

Triage New OLS Bugs

Fetch all New OLS Jira bugs, analyze each against the current .ai/spec/ files, classify each one, and present a report with draft Jira comments for human approval before posting anything.

Defaults

Setting Value
Project OLS
Cloud ID redhat.atlassian.net
Content format markdown
JQL project = OLS AND issuetype = Bug AND status = New

Single-Bug Test Mode

If an OLS-XXXX key is passed as an argument, skip the JQL fetch and analyze only that bug. The human approval gate still applies — do not post anything without explicit approval.

Step 1: Sync Repos

Pull all repos in the workspace to ensure the spec is at latest. Only attempt pull on directories that are git repos:

for repo in */; do
  if git -C "$repo" rev-parse --git-dir > /dev/null 2>&1; then
    result=$(git -C "$repo" pull --ff-only 2>&1)
    if [ $? -ne 0 ]; then
      echo "Warning: could not pull $repo — $result"
    else
      echo "OK: $repo"
    fi
  fi
done

Surface all warnings to the user. Continue even if some repos fail to pull, but note which repos may have stale spec content.

Step 2: Read the Spec Map

Do NOT read all spec files upfront — that would exceed usable context.

Instead, read only the spec index files to build a map of what each spec covers:

find . -path "*/.ai/spec/how/repo-map.md" -o \
       -path "*/.ai/spec/README.md" | sort

Read all discovered index files. This gives you a map of:

  • Which spec files exist per repo
  • What each spec file covers (from repo-map entries)
  • Which repos and components own which concerns

Hold this map in context. You will read individual spec files on demand in Step 5, not upfront. If you have already read a spec file within the last 5 bugs, you do not need to re-read it. Beyond that window, re-read the file — context compression may have evicted earlier content.

Step 3: Fetch New Bugs

Use searchJiraIssuesUsingJql:

cloudId: redhat.atlassian.net
jql: project = OLS AND issuetype = Bug AND status = New
fields: [summary, description, components, labels]
maxResults: 100

Read the full file on GitHub · 319 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. 2mo ago Changed · +1 lines 1bb6963ddffa
  2. 2mo ago First seen · 318 lines · 65 tokens per session scan A 887d85ba8f4c

Subscribe to this mod's changes

triage-new-bugs is a skill published in the GitHub repository openshift/ols (3 stars, last pushed 3d ago), licensed Apache-2.0. It adds 65 tokens to every session and 3,078 once invoked, about $0.0003 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-31.

Related

triage-new-bugs compared with skills from other repositories

triage-new-bugs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
triage-new-bugsopenshift/olsSkill33d agoApache-2.0A65Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code