New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Guide for configuring CodeQL code scanning through GitHub Actions workflows and the standalone CLI.

skills.sh installs
2K
GitHub stars
41.4K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers advanced workflow setup, language matrices, build modes, query suites, and monorepo scanning with per-component SARIF categories
  • Includes CLI steps for installing the bundle, creating databases, analyzing them, and uploading SARIF results with codeql github upload-results
  • Lists supported language identifiers, alternate aliases, and trigger and permission settings such as security-events: write
  • Designed for teams setting up or troubleshooting CodeQL analysis, including build-mode and compiled-language failures

Install

$ npx -y skills add github/awesome-copilot --skill codeql -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CodeQL Code Scanning

This skill provides procedural guidance for configuring and running CodeQL code scanning — both through GitHub Actions workflows and the standalone CodeQL CLI.

When to Use This Skill

Use this skill when the request involves:

  • Creating or customizing a codeql.yml GitHub Actions workflow
  • Choosing between default setup and advanced setup for code scanning
  • Configuring CodeQL language matrix, build modes, or query suites
  • Running CodeQL CLI locally (codeql database create, database analyze, github upload-results)
  • Understanding or interpreting SARIF output from CodeQL
  • Troubleshooting CodeQL analysis failures (build modes, compiled languages, runner requirements)
  • Setting up CodeQL for monorepos with per-component scanning
  • Configuring dependency caching, custom query packs, or model packs

Supported Languages

CodeQL supports the following language identifiers:

Details

Repository
github.com/github/awesome-copilot
Categories
Security, DevOps & Cloud
First seen
May 16, 2026

More from github/awesome-copilot

All 293

Similar to Codeql

More Security