Comprehensive guide for setting up and configuring CodeQL code scanning via GitHub Actions workflows and the CodeQL CLI. This skill should be used when users need help with code scanning configuration, CodeQL workflow files, CodeQL CLI commands, SARIF output, security analysis setup, or troubleshooting CodeQL analysis.
Install
npx skills add github/awesome-copilot --skill codeqlnpx skills add github/awesome-copilot --skill codeql -a claude-code -gnpx skills add github/awesome-copilot --skill codeql -a codex -ggemini skills install https://github.com/github/awesome-copilot.git --path skills/codeqlgh skill install github/awesome-copilot codeqlgit clone --depth 1 https://github.com/github/awesome-copilot /tmp/github__awesome-copilot
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/github__awesome-copilot/skills/codeql ~/.claude/skills/codeql # Claude Code
cp -R /tmp/github__awesome-copilot/skills/codeql ~/.agents/skills/codeql # Codex, Cursor, Gemini CLI, Copilot, OpenCode