codeql-fix

Run CodeQL analysis and fix findings across repositories.

Updated Dec 29, 2025
One-click install
npx skills add https://github.com/yu-iskw/dbt-artifacts-parser-ts --skill codeql-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codeql-fix
Source: https://github.com/yu-iskw/dbt-artifacts-parser-ts/tree/main/.claude/skills/codeql-fix
Command: npx skills add https://github.com/yu-iskw/dbt-artifacts-parser-ts --skill codeql-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Run CodeQL security/quality analysis and fix findings. Use when the user asks to run CodeQL, security scan, static analysis, or fix CodeQL findings.

Core Features & Use Cases

  • Run CodeQL analysis to detect security and quality issues across repositories.
  • Apply minimal edits to fix identified CodeQL findings and re-run analysis to verify results.
  • Use with local code scanning configs to tailor paths and queries as needed.

Quick Start

Run the CodeQL workflow from the repository root.

Frequently Asked Questions about codeql-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate CodeQL scan remediation in my repository?

You can automate CodeQL remediation by running an analysis workflow that detects security findings and applies minimal edits to fix them. The fixer loop re-runs analyses up to three iterations to verify resolved issues across multiple languages and projects.

What is the best way to fix CodeQL findings locally before pushing code?

Fixing CodeQL findings locally requires running static analysis from your repository root and applying minimal edits to the flagged code. You can use a local code scanning config to tailor paths and queries, then re-run the analysis to verify the fixes.

Do I need the CodeQL CLI installed to run static analysis and fix findings?

Yes, you need the CodeQL CLI on your PATH to run security and quality analysis. The CLI executes the scans and drives the fixer loop that re-runs analyses up to three iterations to verify applied code fixes.

Can I use a custom code scanning config to tailor CodeQL analysis paths?

Yes, you can use an optional code scanning config renderer to tailor paths and queries for your CodeQL analysis. This allows you to customize static analysis scans across different projects and languages within your software repositories.

Does CodeQL automated remediation work in CI pipelines for multiple languages?

Yes, CodeQL automated remediation applies to CI pipelines where teams run security scans and fix findings across multiple languages and projects. The workflow detects issues, applies minimal edits, and re-runs analyses to verify results within the pipeline.

Why does the CodeQL fixer loop run multiple iterations after applying edits?

The CodeQL fixer loop re-runs analyses up to three iterations to verify that applied minimal edits successfully resolve the identified security and quality findings. This ensures static analysis remediation is confirmed before completing the workflow.