This gets you set up with CodeQL scanning, whether you're configuring GitHub Actions workflows or running the CLI locally. The skill covers the practical stuff like choosing between default and advanced setup, configuring language matrices with proper build modes, and troubleshooting compiled language analysis. It includes specifics on SARIF output, monorepo scanning with categories, and the CLI workflow from database creation through results upload. The compiled language support table and build mode guidance are especially useful since that's where most setup issues happen. Good reference if you're moving beyond one-click default setup or need to run CodeQL outside of GitHub's hosted environment.

skills.sh installs
2K
GitHub stars
41K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Security, Git & Pull Requests, Documentation, AI & Agent Building, Debugging, Automation & Workflows, CLI & Terminal
First seen
May 16, 2026

More from github/awesome-copilot

All 318

Recommended

More Security
1binance avataralphabinance/binance-skills-hubBinance Alpha request using the Binance API. Authentication requires API key and secret key.2Kskills.sh installs
2vince-winkintel avatargitlab-cli-skillsvince-winkintel/gitlab-cli-skillsComprehensive GitLab CLI (glab) command reference and workflows for all GitLab operations via terminal. Use when user mentions GitLab CLI, glab commands, GitLab1.9Kskills.sh installs
3cognitedata avatarsetup-flows-authcognitedata/builder-skillsMUST be used when migrating an existing React app to Flows, or when no Flows auth is wired up. Detects classic vs Apps API flow from `app.json` `infra` field, i1.9Kskills.sh installs
4phuryn avatarshipping-artifactsphuryn/pm-skillsThe durable documentation set that makes an AI-built (vibe-coded) app reviewable before shipping. A small core every app needs — architecture, user/permission f1.8Kskills.sh installs
5buildgreatproducts avatarbuild-loop-claude-codebuildgreatproducts/builder-osUse when building features with **Claude Code** in any codebase and the work should go through a disciplined build → review → test → fix loop. Triggers on "run 1.7Kskills.sh installs
6starchild-ai-agent avatarokxstarchild-ai-agent/official-skillsOKX OnChainOS: on-chain trading, analytics, security, DeFi across 20+ chains. Use when running OKX-routed on-chain ops (e.g. swap on Ethereum, scan token risk, 1.7Kskills.sh installs