github-remediate-vulns
Scan GitHub org for Dependabot, code scanning, and secret scanning alerts.
Skill by SecurityMindedSolutions
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/securitymindedsolutions-github-remediate-vulns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/github-remediate-vulns
What's inside
- Skill name
github-remediate-vulns- Description
- Scan GitHub org for Dependabot, code scanning, and secret scanning alerts. Classify findings as auto-fixable, assisted, or manual. Apply fixes with test validation, then create PRs on approval. Use this skill whenever the user wants to fix vulnerabilities, remediate security alerts, patch dependencies, or triage GitHub security findings across one or many repos.
- License
- MIT
- Metadata
- summary: Scans a GitHub org for Dependabot, code scanning and secret scanning alerts, then fixes what it safely can and reports the rest
- Instructions
- 372 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: missing
- allowed-tools: must be a space-separated string
Files (7)
- SKILL.md
- ai-skills-editor.md · agents/
- code-scanning.md · modules/
- dependabot.md · modules/
- secret-scanning.md · modules/
- remediation-report.md · templates/
- scan-report.md · templates/
SKILL.md (first lines)
# GitHub Vulnerability Remediation Orchestrator
You are a vulnerability remediation orchestrator. Your job is to scan a GitHub org (or single repo) for security alerts, classify what can be auto-fixed, apply fixes with test validation, and present results for user approval before pushing.
**Usage**: `/github-remediate-vulns [org] [repo] [flags]`
**Arguments** (all optional):
- `org`: GitHub organization name
- `repo`: Specific repository (requires org)
- `--severity`: Comma-separated severity filter (default: `critical,high,medium,low`)
- `--alert-type`: Comma-separated alert types to scan: `dependabot`, `code-scanning`, `secret-scanning` (default: all three)
- `--dry-run`: Scan and classify only, skip remediation
- `--auto-approve`: Skip Safety Gate 1 and auto-approve all auto-fix items only (assisted and manual still reported). Useful for CI/CD pipelines. Does NOT skip Safety Gate 2 (push approval) unless combined with `--push`.
- `--push`: Auto-push and create PRs after remediation (only works with `--auto-approve`)
- `--max-repos N`: Maximum repos to process per batch (default: 50)
- `--branch-prefix`: Custom branch prefix (default: `remediate/vulns`)
**Examples**:
```
/github-remediate-vulns → auto-detect context
/github-remediate-vulns SecurityMindedSolutions → scan entire org
/github-remediate-vulns SecurityMindedSolutions my-repo → scan single repo
/github-remediate-vulns --dry-run → scan only, no fixes
/github-remediate-vulns --severity critical,high,medium → exclude low severity
/github-remediate-vulns --alert-type dependabot → only Dependabot alerts
/github-remediate-vulns --alert-type code-scanning,secret-scanning → skip Dependabot
/github-remediate-vulns --auto-approve --push → CI mode: auto-fix + push
```
## Execution Process
### Step 0: Worker Setup
Remediation workers run as the `ai-skills-editor` agent type when it is installed. Compared with
`general-purpose` it starts with far less context: only the tools it needs (Read, Grep, Glob, Bash, Edit, Write), no
CLAUDE.md files, and a short system prompt. The definition ships with this skill at
`{skill_dir}/agents/ai-skills-editor.md`. Installing it is optional and the skill works the same
without it; `{skill_dir}` is resolved in Step 3, so resolve it now if needed.
1. If `ai-skills-editor` is listed in this session's available agent types, set
`WORKER_TYPE = "ai-skills-editor"`. Otherwise set `WORKER_TYPE = "general-purpose"`. Either way this
run continues; agent definitions load when a session starts, so an install made now applies
from the next session.
2. Offer an install or update only when a person is answering in this session. Never ask in
`claude -p`, CI, a scheduled or autonomous run, or when `--auto-approve` or `--dry-run` is set, and never ask if
`~/.claude/.ai-skills-workers-declined` exists. Compare the shipped file with the installed one:
```bash
grep -m1 '^version:' "{skill_dir}/agents/ai-skills-editor.md"
grep -m1 '^version:' ~/.claude/agents/ai-skills-editor.md 2>/dev/null
```
- Not installed: show the user the shipped file, then ask.
- Installed with a lower version: show `diff ~/.claude/agents/ai-skills-editor.md "{skill_dir}/agents/ai-skills-editor.md"`, then ask.
- Installed with the same or a higher version: nothing to ask.
3. Ask with AskUserQuestion: **Install** (recommended) / **Not now** / **Don't ask again**.
- Install: `mkdir -p ~/.claude/agents && cp "{skill_dir}/agents/ai-skills-editor.md" ~/.claude/agents/`,
then tell the user it takes effect from their next session.
- Don't ask again: `touch ~/.claude/.ai-skills-workers-declined`.
- Not now: continue.
### Step 1: Parse Arguments & Detect Context
Parse the user's input to determine:
- Organization and repo scope
- Severity filter (default: `critical,high,medium,low`)
- Alert type filter (default: `dependabot,code-scanning,secret-scanning`)
- Whether `--dry-run` flag is present
- Whether `--auto-approve` flag is present
- Whether `--push` flag is present (requires `--auto-approve`)
- `--max-repos` limit (default: 50)
- `--branch-prefix` (default: `remediate/vulns`)
**Context Detection** (when no org/repo provided):
**Mode A: Inside a git repo**
```bash
git rev-parse --is-inside-work-tree 2>/dev/null
git remote get-url origin 2>/dev/null
```
- Extract org/repo from the remote URL (handles both HTTPS and SSH formats)
- Scope: single repo only
- Work directly in the repo on a new branch
**Mode B: Directory with multiple repo subfolders**
- Not inside a git repo, so scan immediate subfolders for `.git` directories
- For each subfolder with a git remote, extract org/repo
- Filter to repos belonging to the authenticated org
- Present the list: "Found N repos in subfolders belonging to {org}. Remediate all?"
- **STOP and wait for user confirmation** before proceeding
**Mode C: Explicit org argument**
- Org name provided as argument
- If repo also provided, scope to that single repo
- Otherwise enumerate all repos via API
- Clone to `/tmp/github-remediate-vulns/{org}/{repo}/` as needed (shallow clone)
### Step 2: Validate Access
Run these checks before proceeding:
```bash
# Verify gh CLI is authenticated
gh auth status
# Confirm org access
gh api /user/orgs --jq '.[].login'
# Verify Dependabot alerts are accessible for at least one repo
gh api /repos/{org}/{first_repo}/dependabot/alerts?per_page=1 2>/dev/null
```
If authentication fails, tell the user to run `gh auth login`.
If org access fails, tell the user they may need `read:org` scope.
### Step 3: Scan - Fetch Vulnerability Data
Resolve the skill directory:
```bash
echo $HOME/.claude/skills/github-remediate-vulns
```From SecurityMindedSolutions/ai-skills, MIT.
More from SecurityMindedSolutions/ai-skills
- 0.595score
audit-frontend
SecurityMindedSolutions
Comprehensive front-end architecture audit with parallel sub-agents.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
audit-security
SecurityMindedSolutions
Comprehensive security audit with parallel sub-agents.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
audit-backend
SecurityMindedSolutions
Backend application architecture audit.
SkillAFreshness: A★ 2Claude Code +9 - 0.563score
run-jev
SecurityMindedSolutions
Run an ad-hoc judgment over one thing or a batch of things with TypeSafe's Jev model, without re-deriving the API, credentials, or output handling every time.
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
built-with
SecurityMindedSolutions
Passive, headless recon of a web app's frontend to infer its backend and tech stack - API endpoints, third-party vendors, CSP allow-lists, auth provider…
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
code-audit-jev
SecurityMindedSolutions
Unit-level security judgment of a repository, a folder of repositories, or the units a pull request changed, with TypeSafe's Jev: code splits every source…
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
prompt-injection-eval
SecurityMindedSolutions
Score prompts for prompt injection with TypeSafe's Jev before they reach an LLM: a reference gate function a backend can call (allow / review / block with a…
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
traffic-triage-eval
SecurityMindedSolutions
Classify the traffic behind each client IP in edge logs (GCP load balancer, AWS ALB, AWS WAF, CloudFront, nginx, anything) as benign user, benign bot, AI…
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
resume-mirror-eval
SecurityMindedSolutions
Bulk-evaluate a folder of resumes against one job description and flag the ones whose wording mirrors the posting closely enough that a human should look…
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
ugh
SecurityMindedSolutions
One breath, the tldr.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
huh
SecurityMindedSolutions
Now, next, you.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
jev-email-analysis
SecurityMindedSolutions
Judge what an email is trying to get someone to do, with TypeSafe's Jev: a category across 16 kinds of mail (vendor payment fraud / BEC, fake invoice…
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 2, 2026 (27 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from SecurityMindedSolutions
- 0.595score
audit-backend
SecurityMindedSolutions
Backend application architecture audit.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
audit-security
SecurityMindedSolutions
Comprehensive security audit with parallel sub-agents.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
audit-frontend
SecurityMindedSolutions
Comprehensive front-end architecture audit with parallel sub-agents.
SkillAFreshness: A★ 2Claude Code +9 - 0.563score
run-jev
SecurityMindedSolutions
Run an ad-hoc judgment over one thing or a batch of things with TypeSafe's Jev model, without re-deriving the API, credentials, or output handling every time.
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
prompt-injection-eval
SecurityMindedSolutions
Score prompts for prompt injection with TypeSafe's Jev before they reach an LLM: a reference gate function a backend can call (allow / review / block with a…
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
code-audit-jev
SecurityMindedSolutions
Unit-level security judgment of a repository, a folder of repositories, or the units a pull request changed, with TypeSafe's Jev: code splits every source…
SkillBFreshness: B★ 2Claude Code +9
Cite this page
github-remediate-vulns skill. Agent Mart. https://agentmart.dev/skills/securitymindedsolutions-github-remediate-vulns (last updated 2026-10-24)