fixing-github-security-alerts

fixing-github-security-alerts is a skill for Claude Code, Codex from Tracer-Cloud/opensre. It costs 30 tokens per session (1,206 once invoked), scanned A, original, Apache-2.0.

A workflow for fixing supported GitHub security and code-quality alerts, including dependency and CodeQL findings. Dependabot reports vulnerable dependencies, while CodeQL scans code for certain security problems.

In plain words
What is it for?
It helps investigate supported alerts, update or repair affected code, and optionally prepare a pull request with the fix.
Why use it?
It separates security-alert remediation from ordinary GitHub work and handles cases such as secret exposure that require action outside the codebase.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps investigate supported alerts, update or repair affected code, and optionally prepare a pull request with the fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tracer-cloud/opensre/fixing-github-security-alerts
About the project

OpenSRE is an open-source framework for building AI agents that investigate and resolve production incidents using operational data and tools. It is for site reliability engineers who want customizable incident-response workflows, training, and evaluation on their own infrastructure.

Tracer-Cloud/opensre · 11,038 stars · on GitHub · discord.com

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 Tracer-Cloud/opensre --skill fixing-github-security-alerts
Clone the repo
git clone --depth 1 https://github.com/Tracer-Cloud/opensre

Made for: Claude Code, Codex.

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 fixing-github-security-alerts

README.md
[![agentmods](https://agentmods.dev/badge/skills/tracer-cloud/opensre/fixing-github-security-alerts/github.svg)](https://agentmods.dev/skills/tracer-cloud/opensre/fixing-github-security-alerts)
Your own site
<a href="https://agentmods.dev/skills/tracer-cloud/opensre/fixing-github-security-alerts"><img src="https://agentmods.dev/badge/skills/tracer-cloud/opensre/fixing-github-security-alerts/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 fixing-github-security-alerts

Your own site · 80×15
<a href="https://agentmods.dev/skills/tracer-cloud/opensre/fixing-github-security-alerts"><img src="https://agentmods.dev/badge/skills/tracer-cloud/opensre/fixing-github-security-alerts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,206 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.00030 $0.01206
Opus 5 $0.00015 $0.00603
Sonnet 5 $0.00006 $0.00241
Haiku 4.5 $0.00003 $0.00121

Measured yesterday against content hash 9e8c689b3f2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

fixing-github-security-alerts 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 yesterday.

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.

core/agent_harness/prompts/skills/fixing-github-security-alerts/SKILL.md · 119 lines

How it starts

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

GitHub security and quality fix

Use fix_github_security_alert to remediate a supported security or quality finding, producing a local diff or a pull request as requested.

When to use

  • The user asks to fix/remediate GitHub security and quality issues, security alerts, Security and quality findings, Code Quality findings, Dependabot alerts, CodeQL/code-scanning alerts, vulnerable dependencies, or repo security issues.
  • The user says "hey fix the security issues", "fix the security issues in owner/repo", "fix the security and quality issues", or "fix the opensre repo security issues and raise a PR".
  • A GitHub security alert URL, /security/code-scanning page URL, or /security/quality URL is provided.

Scope

Use other workflows for these requests:

  • Ordinary GitHub issue/PR create, close, comment, assign, label, merge, or repo reads. Use github_cli.
  • Secret-scanning remediation. The tool will refuse it because the secret must be revoked/rotated outside the repo before code cleanup.

Workflow rules

  • For broad repo requests, call: fix_github_security_alert(owner?, repo?, alert_type="auto", open_pr=<user asked PR>) and let the tool select one open supported security or quality finding.
  • If no owner/repo is named, omit both and let the tool use the current checkout's GitHub origin.
  • If the user supplies an alert URL, /security/code-scanning page URL, or /security/quality URL, pass it as alert_url.
  • If they name a Dependabot alert, code-scanning alert, CodeQL alert, or Code Quality finding number, pass alert_type and alert_number.
  • Use alert_type="code_quality" for GitHub /security/quality standard findings such as unused import, empty except, unreachable code, or mixed returns.
  • Use alert_type="code_scanning" for GitHub /security/code-scanning pages or broad CodeQL/code-scanning requests.
  • Set open_pr=true only when they ask to open/raise/create a PR or "ship" the fix; otherwise leave it false for a local diff.
  • Never use github_cli to run a raw gh workflow around this. The fixer owns alert context, fix execution, branch safety, and PR creation.
  • The tool runs one alert per call. Do not loop over multiple alerts unless the user explicitly asks to continue after the first result.
  • The tool fixes findings itself: built-in fixers first, then an auto-detected coding agent CLI (no configuration needed). Never add coding-agent advice, CLI names, or install commands beyond what the tool's error text already says, and never make an external agent the user's next step.
  • If the tool returns response_text, output exactly that text and stop.
  • If the tool reports no automatic patch, reply in one short line from error. Do not say "next steps", do not add numbered options, do not list example commands, and do not ask a broad follow-up question.
  • After the tool returns, reply briefly from the result: finding type/number, changed files, and PR URL if present. If error_kind is set, explain the required next step from error.

Read the full file on GitHub · 119 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. yesterday First seen · 119 lines · 30 tokens per session scan A 9e8c689b3f2a

Subscribe to this mod's changes

fixing-github-security-alerts is a skill published in the GitHub repository Tracer-Cloud/opensre (11,038 stars, last pushed today), licensed Apache-2.0. It adds 30 tokens to every session and 1,206 once invoked, about $0.0002 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-09-10.

Related

Other skills, from other repositories