ols: Skill for Claude Code

.claude/skills/estimate-risk/SKILL.md

estimate-risk is a skill for Claude Code from openshift/ols. It costs 60 tokens per session (949 once invoked), scanned A, original, Apache-2.0.

A Jira workflow tool for assigning a risk level to OLS work items. Jira is a system for tracking software tasks, bugs, and vulnerabilities; OLS stories are items in the OLS Jira project.

In plain words
What is it for?
Use it to assess one or more OLS stories, bugs, tasks, weaknesses, or vulnerabilities, then set their Risk Score field and add an assessment comment.
Why use it?
It applies the team’s documented risk rules consistently instead of relying on an informal judgment. It records both the risk score and the reasoning on the Jira item.

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/estimate-risk/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 estimate-risk

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift/ols/estimate-risk"><img src="https://agentmods.dev/badge/skills/openshift/ols/estimate-risk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 949 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.00060 $0.00949
Opus 5.5 $0.00024 $0.00380
Sonnet 5.5 $0.00012 $0.00190
Haiku 4.5 $0.00006 $0.00095

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

Security

Grade A, and why

estimate-risk 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/estimate-risk/SKILL.md · 113 lines

How it starts

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

Assess Risk Level for OLS Stories

Overview

Assess the risk level for one or more OLS Jira stories using the team's risk rubric. After assessing, set the Risk Score field and add a risk assessment comment.

Usage

/estimate-risk OLS-1234
/estimate-risk OLS-1234 OLS-1235 OLS-1236

Also invoked automatically after creating a new OLS story. Works for Stories, Bugs, Tasks, Weaknesses, and Vulnerabilities.

Rubric Location

Read the full rubric from the OLS repo root: risk-level-rubric.md

You MUST read this file before assessing. It contains:

  • Risk level definitions (1, 2, 3) with customer impact and review requirements
  • Classification examples by change type
  • Decision tree for determining risk level
  • Edge cases (cross-repo, CVEs, spikes, feature flags)

Workflow

Step 1: Read the rubric

Read risk-level-rubric.md

Step 2: Parse story keys from arguments

Extract all OLS-XXXX keys from the skill arguments. If no arguments provided, ask the user for story key(s).

Step 3: For each story

3a. Fetch the story from Jira

Use mcp__atlassian__getJiraIssue with:

  • cloudId: redhat.atlassian.net
  • issueIdOrKey: the story key
  • fields: ["summary", "description", "components", "labels", "issuetype", "customfield_10976"]
  • responseContentFormat: markdown

Extract: summary, description, components, labels, current Risk Score value.

If Risk Score is already set, tell the user the current value and ask whether to re-assess or skip.

3b. Apply the rubric

Using the rubric you read in Step 1:

  1. Read the summary and description — identify what kind of change this is
  2. Walk the decision tree:
    • External contract change? → Risk 3
    • User-visible behavior change? → Risk 3
    • Internal logic change? → Risk 2
    • Mechanical/cosmetic change? → Risk 1
  3. Check classification examples — match the change type to the table
  4. Check edge cases — cross-repo, CVE, spike, feature flag
  5. When in doubt, bias UP — Risk 2 → Risk 3 is safer than the reverse

Read the full file on GitHub · 113 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 09fa1ad5a126
  2. 2mo ago First seen · 112 lines · 60 tokens per session scan A 50953a35061f

Subscribe to this mod's changes

estimate-risk is a skill published in the GitHub repository openshift/ols (3 stars, last pushed 3d ago), licensed Apache-2.0. It adds 60 tokens to every session and 949 once invoked, about $0.0002 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

estimate-risk compared with skills from other repositories

estimate-risk next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
estimate-riskopenshift/olsSkill33d agoApache-2.0A60Claude 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